Changeset 48204
- Timestamp:
- 06/28/2020 06:23:39 PM (5 years ago)
- Location:
- trunk/src/wp-includes/IXR
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/IXR/class-IXR-client.php
r42201 r48204 59 59 } 60 60 61 function query() 61 /** 62 * @since 1.5.0 63 * @since 5.5.0 Formalized the existing `...$args` parameter by adding it 64 * to the function signature. 65 */ 66 function query( ...$args ) 62 67 { 63 $args = func_get_args();64 68 $method = array_shift($args); 65 69 $request = new IXR_Request($method, $args); -
trunk/src/wp-includes/IXR/class-IXR-clientmulticall.php
r42201 r48204 26 26 } 27 27 28 function addCall() 28 /** 29 * @since 1.5.0 30 * @since 5.5.0 Formalized the existing `...$args` parameter by adding it 31 * to the function signature. 32 */ 33 function addCall( ...$args ) 29 34 { 30 $args = func_get_args();31 35 $methodName = array_shift($args); 32 36 $struct = array( … … 37 41 } 38 42 39 function query() 43 /** 44 * @since 1.5.0 45 * @since 5.5.0 Formalized the existing `...$args` parameter by adding it 46 * to the function signature. 47 */ 48 function query( ...$args ) 40 49 { 41 50 // Prepare multicall, then call the parent::query() method
Note: See TracChangeset
for help on using the changeset viewer.