[wp-trac] [WordPress Trac] #41351: Searching for a category returns nothing if category is empty

WordPress Trac noreply at wordpress.org
Wed Jul 19 07:19:20 UTC 2017


#41351: Searching for a category returns nothing if category is empty
---------------------------------------+---------------------------------
 Reporter:  jackjohansson              |       Owner:
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  Awaiting Review
Component:  Menus                      |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:  ui, administration
---------------------------------------+---------------------------------
Changes (by afercia):

 * keywords:   => has-patch has-screenshots
 * focuses:  administration => ui, administration
 * version:  4.8 =>


Comment:

 Thanks @jackjohansson! Worth noting that minified (and RTL) files
 shouldn't be patched: they're generated during the build process. For more
 details, see https://make.wordpress.org/core/handbook/tutorials/working-
 with-patches/#creating-a-patch. Patches should be built from a copy of
 WordPress trunk (https://develop.svn.wordpress.org/trunk/) not from the
 stable version. Trunk comes with test and development tools and doesn't
 include minified files.

 As per the checkbox, maybe the best option would be to just include empty
 taxonomies by default. "Decisions not options" is one of the WordPress
 development philosophies. But I'd propose to keep it as is for now an see
 what other people think.

 Note: I get a `Notice: Undefined index` when the request is used for
 `checked()` at line 754.

 Screenshot of the proposed checkbox:

 [[Image(https://cldup.com/6rnVgyOREK.png)]]

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41351#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list