[wp-trac] [WordPress Trac] #54518: There could be an issue with setting the post_title to "Custom Styles"

WordPress Trac noreply at wordpress.org
Tue Nov 30 15:33:47 UTC 2021


#54518: There could be an issue with setting the post_title to "Custom Styles"
------------------------------+-----------------------
 Reporter:  antonvlasenko     |       Owner:  audrasjb
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.9
Component:  Editor            |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  rest-api
------------------------------+-----------------------
Changes (by audrasjb):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52280" 52280]:
 {{{
 #!CommitTicketReference repository="" revision="52280"
 Editor: Do not translate the title of "Custom Styles" specific posts.

 This change removes the internationalization of the "Custom Styles"
 specific posts as the post title being hardcoded is consistent with
 `wp_template_part` and `wp_template` post types, and is not publicly
 visible, except in the database. Moreover, using consistent "Custom
 Styles" post title may make is easier to retrieve the related posts in the
 database.

 Props antonvlasenko, audrasjb, desrosj, hellofromTonya.
 Fixes #54518.
 }}}

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


More information about the wp-trac mailing list