--- a/wp/wp-includes/customize/class-wp-customize-nav-menu-item-control.php Mon Oct 14 18:06:33 2019 +0200
+++ b/wp/wp-includes/customize/class-wp-customize-nav-menu-item-control.php Mon Oct 14 18:28:13 2019 +0200
@@ -11,6 +11,8 @@
* Customize control to represent the name field for a given menu.
*
* @since 4.3.0
+ *
+ * @see WP_Customize_Control
*/
class WP_Customize_Nav_Menu_Item_Control extends WP_Customize_Control {
@@ -67,14 +69,18 @@
<span class="menu-item-title<# if ( ! data.title && ! data.original_title ) { #> no-title<# } #>">{{ data.title || data.original_title || wp.customize.Menus.data.l10n.untitled }}</span>
</span>
<span class="item-controls">
- <button type="button" class="button-link item-edit" aria-expanded="false"><span class="screen-reader-text"><?php
+ <button type="button" class="button-link item-edit" aria-expanded="false"><span class="screen-reader-text">
+ <?php
/* translators: 1: Title of a menu item, 2: Type of a menu item */
printf( __( 'Edit menu item: %1$s (%2$s)' ), '{{ data.title || wp.customize.Menus.data.l10n.untitled }}', '{{ data.item_type_label }}' );
- ?></span><span class="toggle-indicator" aria-hidden="true"></span></button>
- <button type="button" class="button-link item-delete submitdelete deletion"><span class="screen-reader-text"><?php
+ ?>
+ </span><span class="toggle-indicator" aria-hidden="true"></span></button>
+ <button type="button" class="button-link item-delete submitdelete deletion"><span class="screen-reader-text">
+ <?php
/* translators: 1: Title of a menu item, 2: Type of a menu item */
printf( __( 'Remove Menu Item: %1$s (%2$s)' ), '{{ data.title || wp.customize.Menus.data.l10n.untitled }}', '{{ data.item_type_label }}' );
- ?></span></button>
+ ?>
+ </span></button>
</span>
</div>
</div>
@@ -130,7 +136,7 @@
<# if ( ( 'post_type' === data.item_type || 'taxonomy' === data.item_type ) && '' !== data.original_title ) { #>
<p class="link-to-original">
<?php
- /* translators: Nav menu item original title. 1: Original title */
+ /* translators: Nav menu item original title. %s: Original title */
printf( __( 'Original: %s' ), '<a class="original-link" href="{{ data.url }}">{{ data.original_title }}</a>' );
?>
</p>