Make WordPress Core

Changeset 35442


Ignore:
Timestamp:
10/30/2015 01:16:39 AM (9 years ago)
Author:
SergeyBiryukov
Message:

Don't use <strong> in translatable string in wp-admin/includes/nav-menu.php.

Add translator commment.

Props ramiy.
Fixes #34500.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/nav-menu.php

    r35382 r35442  
    10441044    do_action( 'wp_update_nav_menu', $nav_menu_selected_id );
    10451045
    1046     $messages[] = '<div id="message" class="updated notice is-dismissible"><p>' . sprintf( __( '<strong>%1$s</strong> has been updated.' ), $nav_menu_selected_title ) . '</p></div>';
     1046    $messages[] = '<div id="message" class="updated notice is-dismissible"><p>' .
     1047        /* translators: %s: nav menu title */
     1048        sprintf( __( '%s has been updated.' ),
     1049            '<strong>' . $nav_menu_selected_title . '</strong>'
     1050        ) . '</p></div>';
     1051
    10471052    unset( $menu_items, $unsorted_menu_items );
    10481053
Note: See TracChangeset for help on using the changeset viewer.