[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:29:49 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
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"48827" 48827]:
 {{{
 #!CommitTicketReference repository="" revision="48827"
 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.
 Fixes #51060.
 }}}

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


More information about the wp-trac mailing list