WordPress.org

Make WordPress Core

Ticket #41351: #41351.patch

File #41351.patch, 462 bytes (added by jackjohansson, 3 years ago)

First patch for ticket number #41351

  • wp-admin/includes/nav-menu.php

    diff --git a/wp-admin/includes/nav-menu.php b/wp-admin/includes/nav-menu.php
    index a6aac33053..4a29ce07a8 100644
    a b function _wp_ajax_menu_quick_search( $request = array() ) { 
    109109                        $terms = get_terms( $matches[2], array(
    110110                                'name__like' => $query,
    111111                                'number' => 10,
     112                                'hide_empty' => false,
    112113                        ));
    113114                        if ( empty( $terms ) || is_wp_error( $terms ) )
    114115                                return;