[wp-trac] [WordPress Trac] #39106: Make hierarchy level indicator text changeable [WP List]
WordPress Trac
noreply at wordpress.org
Tue Dec 6 10:09:09 UTC 2016
#39106: Make hierarchy level indicator text changeable [WP List]
--------------------------------+-----------------------------
Reporter: gk.loveweb | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 4.6.1
Severity: normal | Keywords:
Focuses: ui, administration |
--------------------------------+-----------------------------
In `WP_Posts_List_Table` class, dashes(—) used to indicate the hierarchy
level of post item, which is not changeble by any filter, we can add a new
filter to replace this string.
{{{
$pad = str_repeat( '— ', $this->current_level );
}}}
https://github.com/WordPress/WordPress/blob/master/wp-admin/includes
/class-wp-posts-list-table.php#L918-L919
Source: http://wordpress.stackexchange.com/questions/248405/replace-
dashes-before-title-in-page-list
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39106>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list