Automattic/jetpack

Contact Info Widget: pre-fill API key when it has already been set for another Contact Info widget

Offen

#11.469 geöffnet am 04.03.2019

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)PHP (877 Forks)user submission
EnhancementGood For CommunityHacktoberfest[Feature] Extra Sidebar Widgets[Pri] Low

Repository-Metriken

Stars
 (1.808 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 4T 5h) (645 gemergte PRs in 30 T)

Beschreibung

Steps to reproduce the issue

  1. Go to Appearance > Widgets
  2. Add a Contact Info widget to your site.
  3. In that widget, set up the map using a Google Maps API key.
  4. Now drag an additional widget to the widget area.

At that point, and since we've already gone through the steps to set up a key, the new widget should already be set to use that key, thus saving us time.

Similarly, it should also be pre-filled when it's already be set thanks to the jetpack_google_maps_api_key filter.

Contributor Guide