You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: inc/info-page.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,8 @@
17
17
functionregister_options_page() {
18
18
add_submenu_page(
19
19
'tools.php',
20
-
__( 'Pym.js Embeds Plugin Information', 'pym-shortcode' ), // title of page
21
-
__( 'Pym.js Embeds Info', 'pym-shortcode' ), // menu text
20
+
__( 'Pym.js Embeds Plugin Information', 'pym-embeds' ), // title of page
21
+
__( 'Pym.js Embeds Info', 'pym-embeds' ), // menu text
22
22
'edit_posts', // capability required
23
23
'pym-embeds-info', // menu slug
24
24
__NAMESPACE__ . '\options_page_callback'// callback for options page display
@@ -40,12 +40,12 @@ function options_page_callback() {
40
40
41
41
printf(
42
42
'<p>%1$s</p>',
43
-
wp_kses_post( __( 'For information on how to use the block and shortcode provided by the Pym.js Embeds plugin, read the plugin\'s documentation <a href="https://github.com/INN/pym-shortcode/tree/master/docs">on GitHub</a>.', 'pym-shortcode' ) )
43
+
wp_kses_post( __( 'For information on how to use the block and shortcode provided by the Pym.js Embeds plugin, read the plugin\'s documentation <a href="https://github.com/INN/pym-shortcode/tree/master/docs">on GitHub</a>.', 'pym-embeds' ) )
44
44
);
45
45
46
46
printf(
47
47
'<label for="local_url">%1$s</label>',
48
-
esc_html__( 'The URL for the copy of Pym.js hosted on this site is:', 'pym-shortcode' )
48
+
esc_html__( 'The URL for the copy of Pym.js hosted on this site is:', 'pym-embeds' )
__( 'The Pym.js JavaScript library can be provided from many sources. By default, shortcodes and blocks will use a copy of Pym.js hosted on your website to power embeds. For more information about changing the Pym.js source URL, referred to as \'pymsrc\', please <a href="https://github.com/INN/pym-shortcode/blob/master/docs/readme.md">read this plugin\'s documentation</a>.', 'pym-shortcode' )
154
+
__( 'The Pym.js JavaScript library can be provided from many sources. By default, shortcodes and blocks will use a copy of Pym.js hosted on your website to power embeds. For more information about changing the Pym.js source URL, referred to as \'pymsrc\', please <a href="https://github.com/INN/pym-shortcode/blob/master/docs/readme.md">read this plugin\'s documentation</a>.', 'pym-embeds' )
155
155
);
156
156
}
157
157
@@ -204,14 +204,14 @@ function field_default_pymsrc( $args ) {
wp_kses_post( __( 'This URL is where Pym.js will be loaded from for all embeds that do not set a pymsrc in the shortcode attributes or block settings. NPR and the Pym.js Embed plugin maintainers recommend that you use the NPR-provided CDN for this purpose: <code>https://pym.nprapps.org/pym.v1.min.js</code>', 'pym-shortcode' ) )
207
+
wp_kses_post( __( 'This URL is where Pym.js will be loaded from for all embeds that do not set a pymsrc in the shortcode attributes or block settings. NPR and the Pym.js Embed plugin maintainers recommend that you use the NPR-provided CDN for this purpose: <code>https://pym.nprapps.org/pym.v1.min.js</code>', 'pym-embeds' ) )
wp_kses_post( __( 'If no pymsrc URL is set here, then the plugin-provided copy of Pym.js will be used as the default: <code>%1$s</code>', 'pym-shortcode' ) ),
214
+
wp_kses_post( __( 'If no pymsrc URL is set here, then the plugin-provided copy of Pym.js will be used as the default: <code>%1$s</code>', 'pym-embeds' ) ),
215
215
esc_html( pym_pymsrc_local_url() )
216
216
)
217
217
);
@@ -237,6 +237,6 @@ function field_override_pymsrc( $args ) {
esc_html__( 'Checking this box means that every Pym.js embed will use the default pymsrc URL, ignoring the pymsrc URL set in the embed\'s shortcode attributes or block settings. We recommend that you check this box after setting the default pymsrc URL to the CDN-provided copy of the library.', 'pym-shortcode' )
240
+
esc_html__( 'Checking this box means that every Pym.js embed will use the default pymsrc URL, ignoring the pymsrc URL set in the embed\'s shortcode attributes or block settings. We recommend that you check this box after setting the default pymsrc URL to the CDN-provided copy of the library.', 'pym-embeds' )
0 commit comments