[wp-trac] [WordPress Trac] #61593: Unused variables in wp-includes/rest-api/*.php files

WordPress Trac noreply at wordpress.org
Wed Jul 10 11:10:59 UTC 2024


#61593: Unused variables in wp-includes/rest-api/*.php files
---------------------------+-----------------------------------------
 Reporter:  antonvlasenko  |       Owner:  SergeyBiryukov
     Type:  enhancement    |      Status:  reviewing
 Priority:  normal         |   Milestone:  6.7
Component:  REST API       |     Version:  trunk
 Severity:  minor          |  Resolution:
 Keywords:  has-patch      |     Focuses:  rest-api, coding-standards
---------------------------+-----------------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"58704" 58704]:
 {{{
 #!CommitTicketReference repository="" revision="58704"
 Docs: Correct `@return` values for a few REST API class methods.

 Includes listing the expected type first, instead of `WP_Error`.

 Follow-up to [39031], [39033], [46696], [49927], [49929], [50993],
 [51286], [51973], [52079], [52286], [53152], [56415].

 Props antonvlasenko.
 See #61593.
 }}}

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


More information about the wp-trac mailing list