[wp-trac] [WordPress Trac] #34908: Merge similar strings in REST API deprecated function/argument handlers

WordPress Trac noreply at wordpress.org
Wed Dec 9 21:25:18 UTC 2015


#34908: Merge similar strings in REST API deprecated function/argument handlers
------------------------------+--------------------------
 Reporter:  SergeyBiryukov    |       Owner:  rachelbaker
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.5
Component:  REST API          |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  docs
------------------------------+--------------------------
Changes (by rachelbaker):

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


Comment:

 In [changeset:"35845"]:
 {{{
 #!CommitTicketReference repository="" revision="35845"
 Docs: Better param descriptions and fix incorrect param name within REST
 API deprecated functions

 `rest_handle_deprecated_function`: you get better parameter descriptions.
 `rest_handle_deprecated_argument`: you get a corrected parameter name
 ($replacement->$message), appropriate i18n translation hints, and better
 parameter descriptions.

 Props ocean90.
 Fixes #34908
 }}}

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


More information about the wp-trac mailing list