[wp-trac] [WordPress Trac] #51060: Update register_rest_route docblock to reflect additions since 5.5

WordPress Trac noreply at wordpress.org
Wed Aug 19 12:31:38 UTC 2020


#51060: Update register_rest_route docblock to reflect additions since 5.5
--------------------------+-----------------------------
 Reporter:  psykro        |       Owner:  psykro
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.5.1
Component:  REST API      |     Version:  5.5
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:  docs, rest-api
--------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"48828" 48828]:
 {{{
 #!CommitTicketReference repository="" revision="48828"
 Docs: Add a `@since` note to `register_rest_route()` about the
 `_doing_it_wrong()` notice when the required `permission_callback`
 argument is not set.

 Follow-up to [48526].

 Props psykro.
 Merges [48827] to the 5.5 branch.
 Fixes #51060.
 }}}

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


More information about the wp-trac mailing list