[wp-trac] [WordPress Trac] #54358: Add URL Details endpoint from Gutenberg plugin into Core

WordPress Trac noreply at wordpress.org
Thu Nov 4 12:42:41 UTC 2021


#54358: Add URL Details endpoint from Gutenberg plugin into Core
--------------------------------------+-----------------------------
 Reporter:  hellofromTonya            |       Owner:  hellofromTonya
     Type:  task (blessed)            |      Status:  closed
 Priority:  normal                    |   Milestone:  5.9
Component:  Editor                    |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+-----------------------------
Changes (by hellofromTonya):

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


Comment:

 In [changeset:"52008" 52008]:
 {{{
 #!CommitTicketReference repository="" revision="52008"
 REST API: Improve translations, comments, and readability in URL Details
 endpoint.

 Improvements:
 * Removes HTML tags from translatable strings. Uses `sprintf` with
 placeholder and translators comment.
 * Spells out "OG" to "Open Graph" to help translators.
 * Adds `@since` param to new filters.
 * Improves comments for code standards and consistency.
 * Improves readability by making multiple args multiline.
 * Micro-optimizations to avoid unnecessary variable assignments.

 Follow-up to [51973].

 Props hellofromTonya, sergeybiryukov, swissspidy.
 Fixes #54358.
 }}}

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


More information about the wp-trac mailing list