Skip to content

Commit 1eed556

Browse files
Merge pull request #1163 from Codeinwp/fix/geo-region-code-link
fix: change geo region doc link
2 parents 588bf4a + bd48d9a commit 1eed556

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

classes/Visualizer/Gutenberg/src/Components/Sidebar/MapSettings.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class MapSettings extends Component {
6363
<li>
6464
{ __( 'A continent or a sub-continent, specified by its 3-digit code, e.g., \'011\' for Western Africa. ' ) }
6565
<ExternalLink
66-
href="https://google-developers.appspot.com/chart/interactive/docs/gallery/geochart#Continent_Hierarchy"
66+
href="https://developers.google.com/chart/interactive/docs/gallery/geochart#continent-hierarchy-and-codes"
6767
>
6868
{ __( 'More info here.' ) }
6969
</ExternalLink>

classes/Visualizer/Render/Sidebar/Type/GoogleCharts/Geo.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ protected function _renderMapSettings() {
122122
esc_html__( 'Configure the region area to display on the map. (Surrounding areas will be displayed as well.) Can be one of the following:', 'visualizer' ) .
123123
'<ul>' .
124124
'<li>' . esc_html__( "'world' - A map of the entire world.", 'visualizer' ) . '</li>' .
125-
'<li>' . sprintf( esc_html__( "A continent or a sub-continent, specified by its %s code, e.g., '011' for Western Africa.", 'visualizer' ), '<a href="https://google-developers.appspot.com/chart/interactive/docs/gallery/geochart#Continent_Hierarchy" target="_blank">3-digit</a>' ) . '</li>' .
125+
'<li>' . sprintf( esc_html__( "A continent or a sub-continent, specified by its %s code, e.g., '011' for Western Africa.", 'visualizer' ), '<a href="https://developers.google.com/chart/interactive/docs/gallery/geochart#continent-hierarchy-and-codes" target="_blank">3-digit</a>' ) . '</li>' .
126126
'<li>' . sprintf( esc_html__( "A country, specified by its %s code, e.g., 'AU' for Australia.", 'visualizer' ), '<a href="http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2" target="_blank">ISO 3166-1 alpha-2</a>' ) . '</li>' .
127127
'<li>' . sprintf( esc_html__( "A state in the United States, specified by its %s code, e.g., 'US-AL' for Alabama. Note that the resolution option must be set to either 'provinces' or 'metros'.", 'visualizer' ), '<a href="http://en.wikipedia.org/wiki/ISO_3166-2:US" target="_blank">ISO 3166-2:US</a>' ) . '</li>' .
128128
'</ul>'

0 commit comments

Comments
 (0)