Make WordPress Core


Ignore:
Timestamp:
05/02/2020 10:34:50 PM (4 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-includes/class-wp-customize-nav-menus.php

    r47383 r47747  
    370370                'name__like' => $args['s'],
    371371                'number'     => 20,
     372                'hide_empty' => false,
    372373                'offset'     => 20 * ( $args['pagenum'] - 1 ),
    373374            )
Note: See TracChangeset for help on using the changeset viewer.