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

WordPress Trac noreply at wordpress.org
Mon Nov 29 20:14:45 UTC 2021


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

Comment (by audrasjb):

 @desrosj I don't think we can compare the "Hello world" default post with
 the "Custom Styles" posts, since the first one is public and the second
 ones are never printed anywhere. You'll need to fetch the database to see
 them, or to run a query using PHP and searching for `wp_global_styles`
 post type.

 And that's also the reason why I think it's better to keep it in English:
 it would be easier to retrieve those posts. As a matter of fact, there can
 be several "Custom Styles" posts (one per activated block theme) in the
 database, so it's worth having something to quickly recognize them on any
 WordPress installation.

 Concerning consistency, worth noting that the `wp_template_part` and
 `wp_template` post titles (which are registered by block themes likes
 Twenty Twenty-Two) are not translatable either.

 In any case, the `default` text domain should be indeed be removed, at the
 very least :)

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


More information about the wp-trac mailing list