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

WordPress Trac noreply at wordpress.org
Mon Jul 8 13:23: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:"58688" 58688]:
 {{{
 #!CommitTicketReference repository="" revision="58688"
 REST API: Correct variable type in
 `WP_Rest_Server::serve_batch_request_v1()`.

 `wp_parse_str()` expects an array as the second parameter.

 Follow-up to [49252].

 Props antonvlasenko.
 See #61593.
 }}}

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


More information about the wp-trac mailing list