Changeset 46148
- Timestamp:
- 09/16/2019 09:57:30 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r46144 r46148 728 728 * @since 3.4.0 729 729 * 730 * @param string|array $args Sanitize single string or array of strings.731 * @param int $countMinimum number of arguments.730 * @param array $args An array of arguments to check. 731 * @param int $count Minimum number of arguments. 732 732 * @return bool if `$args` contains at least $count arguments. 733 733 */ 734 734 protected function minimum_args( $args, $count ) { 735 if ( count( $args ) < $count ) {735 if ( ! is_array( $args ) || count( $args ) < $count ) { 736 736 $this->error = new IXR_Error( 400, __( 'Insufficient arguments passed to this XML-RPC method.' ) ); 737 737 return false;
Note: See TracChangeset
for help on using the changeset viewer.