Make WordPress Core


Ignore:
Timestamp:
10/07/2016 08:55:25 PM (9 years ago)
Author:
ocean90
Message:

Menus: Hide controls in the search tab if no items are found.

Props sayedwp, afercia, tywayne, abrightclearweb.
Fixes #35576.

File:
1 edited

Legend:

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

    r38702 r38754  
    572572                        remove_query_arg( $removed_args )
    573573                    ));
    574                 ?>#posttype-<?php echo $post_type_name; ?>" class="select-all"><?php _e('Select All'); ?></a>
     574                ?>#posttype-<?php echo $post_type_name; ?>" class="select-all aria-button-if-js"><?php _e( 'Select All' ); ?></a>
    575575            </span>
    576576
     
    770770                        remove_query_arg($removed_args)
    771771                    ));
    772                 ?>#taxonomy-<?php echo $taxonomy_name; ?>" class="select-all"><?php _e('Select All'); ?></a>
     772                ?>#taxonomy-<?php echo $taxonomy_name; ?>" class="select-all aria-button-if-js"><?php _e( 'Select All' ); ?></a>
    773773            </span>
    774774
Note: See TracChangeset for help on using the changeset viewer.