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

WordPress Trac noreply at wordpress.org
Fri Nov 26 09:33:51 UTC 2021


#54518: There could be an issue with setting the post_title to "Custom Styles"
---------------------------+-----------------------------
 Reporter:  antonvlasenko  |      Owner:  antonvlasenko
     Type:  defect (bug)   |     Status:  assigned
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:  trunk
 Severity:  normal         |   Keywords:  needs-patch
  Focuses:  rest-api       |
---------------------------+-----------------------------
 As reported by @desrosj
 [https://core.trac.wordpress.org/ticket/54336#comment:42 here]:
 Another thing I noticed is that the default `post_title` for a global
 styles post is set as `__( 'Custom Styles' )`.

 I believe that this will result in the post title being set to Custom
 Styles translated into the selected locale of the current user, which
 could be problematic. If user B has selected German, but the site default
 is English, it's possible that the title could be unreadable for a large
 number of users on the site.

 I'm not really sure what the best approach is for that.

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


More information about the wp-trac mailing list