[wp-trac] [WordPress Trac] #39106: Make hierarchy level indicator text changeable [WP List]
WordPress Trac
noreply at wordpress.org
Sun Jan 31 16:29:57 UTC 2021
#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 10010110):
I would suggest an even simpler fix without the need of a filter: just add
an element around the character so that it can be accessed by a CSS
selector, and have the user add custom admin CSS to hide it (or whatever),
like so:
{{{#!php
$pad = str_repeat( '<span class="dash">— </span>',
$this->current_level );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39106#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list