Make WordPress Core


Ignore:
Timestamp:
11/20/2015 05:45:57 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Customizer: Use correct context and translator comments for menu location strings.

See #33431.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-customize-nav-menu-control.php

    r35695 r35722  
    7272                <label>
    7373                    <input type="checkbox" data-menu-id="{{ data.menu_id }}" data-location-id="<?php echo esc_attr( $location ); ?>" class="menu-location" /> <?php echo $description; ?>
    74                     <span class="theme-location-set"><?php printf( /* translators: %s: menu name */ _x( '(Current: %s)', 'Current menu location' ), '<span class="current-menu-location-name-' . esc_attr( $location ) . '"></span>' ); ?></span>
     74                    <span class="theme-location-set"><?php
     75                        /* translators: %s: menu name */
     76                        printf( _x( '(Current: %s)', 'menu location' ),
     77                            '<span class="current-menu-location-name-' . esc_attr( $location ) . '"></span>'
     78                        );
     79                    ?></span>
    7580                </label>
    7681            </li>
Note: See TracChangeset for help on using the changeset viewer.