[wp-trac] [WordPress Trac] #58831: Coding Standards fixes for WP 6.4

WordPress Trac noreply at wordpress.org
Fri Jul 21 13:31:34 UTC 2023


#58831: Coding Standards fixes for WP 6.4
----------------------------+-------------------------------
 Reporter:  audrasjb        |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  6.4
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"56276" 56276]:
 {{{
 #!CommitTicketReference repository="" revision="56276"
 I18N: Add missing translator comment in `WP_Upgrader::generic_strings()`.

 This resolves a WPCS warning:
 > A gettext call containing placeholders was found, but was not
 accompanied by a "translators:" comment on the line above to clarify the
 meaning of the placeholders.

 Includes moving `wp-content` out of the translatable string in a similar
 message in `_wp_delete_all_temp_backups()`.

 Follow-up to [55720], [56117].

 Props jrf.
 See #58831.
 }}}

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


More information about the wp-trac mailing list