[wp-trac] [WordPress Trac] #48046: Add array cast before count() in class-wp-xml-server.php
WordPress Trac
noreply at wordpress.org
Mon Sep 16 09:57:40 UTC 2019
#48046: Add array cast before count() in class-wp-xml-server.php
--------------------------+-----------------------------
Reporter: bitcomplex | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3
Component: XML-RPC | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: docs
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"46148" 46148]:
{{{
#!CommitTicketReference repository="" revision="46148"
XML-RPC: Avoid a PHP warning in `wp_xmlrpc_server::minimum_args()` if
`$args` is not an array.
Correct the documentation to clarify that array is the only acceptable
type for `$args`.
Props bitcomplex, dkarfa.
Fixes #48046.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48046#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list