WordPress.org

Make WordPress Core

Opened 19 months ago

Last modified 19 months ago

#39106 new defect (bug)

Make hierarchy level indicator text changeable [WP List]

Reported by: gk.loveweb Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.6.1
Component: Administration Keywords:
Focuses: ui, administration Cc:

Description

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

Change History (1)

#1 @gk.loveweb
19 months ago

  • Type changed from feature request to defect (bug)
Note: See TracTickets for help on using tickets.