Changeset 53025 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 03/29/2022 07:55:32 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r53024 r53025 1155 1155 $scripts->add( 'customize-views', '/wp-includes/js/customize-views.js', array( 'jquery', 'underscore', 'imgareaselect', 'customize-models', 'media-editor', 'media-views' ), false, 1 ); 1156 1156 $scripts->add( 'customize-controls', "/wp-admin/js/customize-controls$suffix.js", array( 'customize-base', 'wp-a11y', 'wp-util', 'jquery-ui-core' ), false, 1 ); 1157 $switch_to_site_editor_label = __( 'Use Site Editor' );1158 1157 did_action( 'init' ) && $scripts->localize( 1159 1158 'customize-controls', … … 1224 1223 'invalidValue' => __( 'Invalid value.' ), 1225 1224 'blockThemeNotification' => sprintf( 1226 /* translators: 1 . %s: URL to the localized version of https://wordpress.org/support/article/site-editor/, 2: HTML Button. */1227 __( 'Hurray! Your theme supports Full Site Editing with blocks. <a href="%1$s" target="_blank">Tell me more</a>. %2$s' ),1225 /* translators: 1: Link to Site Editor documentation on HelpHub, 2: HTML button. */ 1226 __( 'Hurray! Your theme supports Full Site Editing with blocks. <a href="%1$s">Tell me more</a>. %2$s' ), 1228 1227 __( 'https://wordpress.org/support/article/site-editor/' ), 1229 1228 sprintf( 1230 /* translators: 1: URL to the Site Editor admin screen, 2: Button label, 3: Button text. */ 1231 '<button type="button" data-action="%1$s" class="button switch-to-editor" aria-label="%2$s">%3$s</button>', 1229 '<button type="button" data-action="%1$s" class="button switch-to-editor">%2$s</button>', 1232 1230 esc_url( admin_url( 'site-editor.php' ) ), 1233 $switch_to_site_editor_label, 1234 $switch_to_site_editor_label 1231 __( 'Use Site Editor' ) 1235 1232 ) 1236 1233 ),
Note: See TracChangeset
for help on using the changeset viewer.