[wp-trac] [WordPress Trac] #39106: Make hierarchy level indicator text changeable [WP List]

WordPress Trac noreply at wordpress.org
Fri Aug 28 19:59:27 UTC 2020


#39106: Make hierarchy level indicator text changeable [WP List]
--------------------------------------+---------------------------------
 Reporter:  gk.loveweb                |       Owner:  (none)
     Type:  enhancement               |      Status:  assigned
 Priority:  low                       |   Milestone:  Future Release
Component:  Posts, Post Types         |     Version:  4.6.1
 Severity:  minor                     |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:  ui, administration
--------------------------------------+---------------------------------

Comment (by seanchayes):

 I downloaded and tested this patch.

 It worked as expected and I was easily able to change the separator used
 for the hierarchy post separator by adding the filter to my
 `functions.php` and trying out different combinations.

 One code change I would suggest is to rename name the variable used from
 `$pad` to `$separator` - as I believe this would more closely match the
 name of the suggested filter naming.

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


More information about the wp-trac mailing list