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

WordPress Trac noreply at wordpress.org
Sun Nov 28 20:38:41 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:  5.9
Component:  Editor                   |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  rest-api
-------------------------------------+----------------------------
Changes (by audrasjb):

 * keywords:  reporter-feedback has-patch => has-patch needs-refresh


Comment:

 I agree the best we can do is to keep the original `Custom Styles` string
 hardcoded.
 Moreover, the title of this specific post if never shown to the end user,
 so I think it's fine to keep it in English. Plus, it would be easier to
 identify when searching in the database.

 The only thing that I would change in the proposed PR is to use `/* */`
 instead of `//` for the multi-line comment, as per WordPress Coding
 Standards.
 I'll update the PR accordingly.

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


More information about the wp-trac mailing list