mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Customize: Correct "Add Items" button reference in help text shown after creating a new menu.
Props dlh, munyagu, rishishah. Fixes #42565. Built from https://develop.svn.wordpress.org/trunk@42568 git-svn-id: http://core.svn.wordpress.org/trunk@42397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d9a535ee13
commit
5cfda780d8
@ -35,11 +35,20 @@ class WP_Customize_Nav_Menu_Control extends WP_Customize_Control {
|
||||
* @since 4.3.0
|
||||
*/
|
||||
public function content_template() {
|
||||
$add_items = __( 'Add Items' );
|
||||
?>
|
||||
<p class="new-menu-item-invitation"><?php _e( 'Time to add some links! Click “Add menu items” to start putting pages, categories, and custom links in your menu. Add as many things as you’d like.' ); ?></p>
|
||||
<p class="new-menu-item-invitation">
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: "Add Items" button text */
|
||||
__( 'Time to add some links! Click “%s” to start putting pages, categories, and custom links in your menu. Add as many things as you’d like.' ),
|
||||
$add_items
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<div class="customize-control-nav_menu-buttons">
|
||||
<button type="button" class="button add-new-menu-item" aria-label="<?php esc_attr_e( 'Add or remove menu items' ); ?>" aria-expanded="false" aria-controls="available-menu-items">
|
||||
<?php _e( 'Add Items' ); ?>
|
||||
<?php echo $add_items; ?>
|
||||
</button>
|
||||
<button type="button" class="button-link reorder-toggle" aria-label="<?php esc_attr_e( 'Reorder menu items' ); ?>" aria-describedby="reorder-items-desc-{{ data.menu_id }}">
|
||||
<span class="reorder"><?php _e( 'Reorder' ); ?></span>
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-42566';
|
||||
$wp_version = '5.0-alpha-42568';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user