Automattic/jetpack

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

オープン

#11,469 opened on 2019/03/04

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)PHP (877 件のフォーク)user submission
EnhancementGood For CommunityHacktoberfest[Feature] Extra Sidebar Widgets[Pri] Low

Repository metrics

Stars
 (1,808 個のスター)
PR merge metrics
 (平均マージ 4d 5h) (30d で 645 merged PRs)

説明

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.

コントリビューターガイド