[wp-trac] [WordPress Trac] #54658: Add context to "%1$s is deprecated" strings

WordPress Trac noreply at wordpress.org
Thu Jan 20 13:11:19 UTC 2022


#54658: Add context to "%1$s is deprecated" strings
----------------------------+-----------------------------
 Reporter:  SergeyBiryukov  |       Owner:  SergeyBiryukov
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  6.0
Component:  General         |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52609" 52609]:
 {{{
 #!CommitTicketReference repository="" revision="52609"
 General: Clarify the deprecation messages in the `_deprecated_*()`
 functions family.

 This makes the strings easier to translate and provides more details about
 what exactly is deprecated: a PHP function, a file name, or a WordPress
 hook.

 The changes apply to:
 * `_deprecated_function()`
 * `_deprecated_constructor()`
 * `_deprecated_file()`
 * `_deprecated_argument()`
 * `_deprecated_hook()`
 * `_doing_it_wrong()`

 Follow-up to [6514], [7884], [12536], [12584], [16939], [16942], [16945],
 [24439], [24723], [32989], [37861], [39315].

 Props mukesh27, audrasjb, SergeyBiryukov.
 Fixes #54658.
 }}}

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


More information about the wp-trac mailing list