[wp-trac] [WordPress Trac] #57471: Update @wordpress packages

WordPress Trac noreply at wordpress.org
Tue Feb 7 07:30:28 UTC 2023


#57471: Update @wordpress packages
-------------------------------------------------+-------------------------
 Reporter:  Mamaduka                             |       Owner:  (none)
     Type:  task (blessed)                       |      Status:  new
 Priority:  normal                               |   Milestone:  6.2
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  gutenberg-merge has-unit-tests       |     Focuses:
  needs-patch                                    |
-------------------------------------------------+-------------------------
Changes (by kebbet):

 * keywords:  gutenberg-merge has-patch has-unit-tests => gutenberg-merge
     has-unit-tests needs-patch


Comment:

 This changeset introduced an incorrect way to contacternate a string, in
 the function `render_block_core_read_more` this code is found:
 `'' !== $post_title ? $post_title : __( 'untitled post ' ) . $post_ID`

 The translateable string should include a placeholder for the `$post_ID`
 variable. Something like `__( 'untitled post %s' );`

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


More information about the wp-trac mailing list