[wp-trac] [WordPress Trac] #48220: Category Dropdown Layout Issue

WordPress Trac noreply at wordpress.org
Sat Oct 5 09:17:40 UTC 2019


#48220: Category Dropdown Layout Issue
--------------------------+-----------------------------
 Reporter:  anjalimdn     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:  5.2.3
 Severity:  major         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I have 2 websites. One is using WordPress 5.2.3 and another one is
 WordPress 4.9.10.

 So now problem is with category Dropdown layout.

 If you will check below code on both versions with nested subcategories
 you will see the difference.
 {{{#!php
 <?php
 wp_dropdown_categories( 'show_count=1&hierarchical=1&child_of=2' );
 }}}


 Nested Category Example :

 Home
   Landscape & Urbanism
     Campus
     Masterplan
     .......

 Issue :
 On latest version of WordPress dropdown not showing subcategories name
 (Example : Landscape & Urbanism)

 Please help me to sort out this issue.
 Thanks

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48220>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list