Ticket #21761: 21761.patch
| File 21761.patch, 486 bytes (added by SergeyBiryukov, 9 months ago) |
|---|
-
wp-includes/functions.php
2539 2539 */ 2540 2540 function wp_widgets_add_menu() { 2541 2541 global $submenu; 2542 2543 if ( ! current_theme_supports( 'widgets' ) ) 2544 return; 2545 2542 2546 $submenu['themes.php'][7] = array( __( 'Widgets' ), 'edit_theme_options', 'widgets.php' ); 2543 2547 ksort( $submenu['themes.php'], SORT_NUMERIC ); 2544 2548 }
