[wp-trac] [WordPress Trac] #48122: Improving `title-tag`

WordPress Trac noreply at wordpress.org
Tue Sep 24 08:26:08 UTC 2019


#48122: Improving `title-tag`
-----------------------------+----------------------------------------
 Reporter:  ngdangtu         |      Owner:  (none)
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Customize        |    Version:
 Severity:  normal           |   Keywords:  dev-feedback needs-testing
  Focuses:  ui, template     |
-----------------------------+----------------------------------------
 As far as I know, there is an official way to customize WordPress title-
 tag support. And my suggestion that we should allow devs change separator
 of title-tag. So, I decided to modify lines: (the lines' position is a bit
 relative)

 **1027** : Add a new argument ($separator) with '-' as default value which
 allow to change $sep variable.
 **1116** : Replace value '-' with $separator.
 **1151** : Add a new argument ($sep) with '-' as default value. This will
 allow devs add their own separator through hook.
 **1156** : Pass $sep to wp_get_document_title() function.

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


More information about the wp-trac mailing list