Ticket #44360: 44360.wp-includes.diff
File 44360.wp-includes.diff, 1.4 KB (added by , 6 years ago) |
---|
-
wp-includes/theme.php
2537 2537 case 'title-tag': 2538 2538 // Can be called in functions.php but must happen before wp_loaded, i.e. not in header.php. 2539 2539 if ( did_action( 'wp_loaded' ) ) { 2540 /* translators: 1: title-tag, 2: wp_loaded */2541 2540 _doing_it_wrong( 2542 2541 "add_theme_support( 'title-tag' )", sprintf( 2542 /* translators: 1: title-tag, 2: wp_loaded */ 2543 2543 __( 'Theme support for %1$s should be registered before the %2$s hook.' ), 2544 2544 '<code>title-tag</code>', '<code>wp_loaded</code>' 2545 2545 ), '4.1.0' -
wp-includes/widgets/class-wp-nav-menu-widget.php
142 142 $url = admin_url( 'nav-menus.php' ); 143 143 } 144 144 ?> 145 <?php echo sprintf( __( 'No menus have been created yet. <a href="%s">Create some</a>.' ), esc_attr( $url ) ); ?> 145 <?php echo sprintf( 146 /* translators: %s: Admin Menus URL */ 147 __( 'No menus have been created yet. <a href="%s">Create some</a>.' ), esc_attr( $url ) ); ?> 146 148 </p> 147 149 <div class="nav-menu-widget-form-controls" <?php echo $empty_menus_style; ?>> 148 150 <p>