[wp-trac] [WordPress Trac] #35330: Categories Format & Search Bug

WordPress Trac noreply at wordpress.org
Fri Jan 8 10:23:32 UTC 2016


#35330: Categories Format & Search Bug
--------------------------+------------------------------
 Reporter:  jawad96       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Menus         |     Version:  4.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by dd32):

 Hi @jawad96

 > Issue !#1: After adding categories if I go to Appearance > Menu and
 search for a category no results are returned. Furthermore, if I was to go
 to second page of categories and then try and search for something then
 only placeholder text is written.

 The search is at present only returning categories which have
 posts/products in them (or in a sub category of it).

 I think this might be deliberate - A category which has no posts will link
 to an empty/404 archive, it seems strange to want that on the menu.
 However, the UX of not showing that category in the search results seems
 really bad.


 > Issue !#2: If you were to view the categories via Appearance > Menu then
 the format is all broken.

 I've been able to confirm this as well.  In order to trigger it you need
 to add a lot of root-level categories so that it triggers paging (Yes,
 there's actually paging in this "Vew all" area..), and then add multiple
 levels of items to something on the first page.
 What ends up happening is that the children elements of the category
 hierarchy are not returned in the first paged results in the menu editor,
 and as a result do not show.  I suspect this is because the
 child/grandchild elements are in a later set of paged results.

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


More information about the wp-trac mailing list