- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-nav-menu-setting.php
r43571 r45932 518 518 while ( is_wp_error( $r ) && 'menu_exists' === $r->get_error_code() ) { 519 519 $name_conflict_suffix += 1; 520 /* translators: 1: original menu name, 2: duplicate count*/520 /* translators: 1: Original menu name, 2: Duplicate count. */ 521 521 $menu_data['menu-name'] = sprintf( __( '%1$s (%2$d)' ), $original_name, $name_conflict_suffix ); 522 522 $r = wp_update_nav_menu_object( $menu_id, wp_slash( $menu_data ) );
Note: See TracChangeset
for help on using the changeset viewer.