Make WordPress Core


Ignore:
Timestamp:
05/02/2020 10:34:50 PM (5 years ago)
Author:
johnbillion
Message:

Menus: Allow empty taxonomy terms to be surfaced when searching for items.

This brings the behaviour inline with that of browsing terms or using the All Items tab, which correctly shows empty terms.

Props birgire, audrasjb

Fixes #45298

File:
1 edited

Legend:

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

    r47557 r47747  
    114114                    'name__like' => $query,
    115115                    'number'     => 10,
     116                    'hide_empty' => false,
    116117                )
    117118            );
Note: See TracChangeset for help on using the changeset viewer.