Changeset 48110
- Timestamp:
- 06/20/2020 12:57:00 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 37 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/admin/inline-edit-post.js
r48104 r48110 390 390 * @since 2.7.0 391 391 * 392 * @param {int}id The ID for the post that has been changed.393 * @return {boolean} 394 * 392 * @param {int} id The ID for the post that has been changed. 393 * @return {boolean} False, so the form does not submit when pressing 394 * Enter on a focused field. 395 395 */ 396 396 save : function(id) { … … 504 504 * @memberof inlineEditPost 505 505 * 506 * @param 507 * @return {string} 506 * @param {Object} o DOM row object to get the ID for. 507 * @return {string} The post ID extracted from the table row in the object. 508 508 */ 509 509 getId : function(o) { -
trunk/src/js/_enqueues/lib/image-edit.js
r48104 r48110 414 414 * @memberof imageEdit 415 415 * 416 * @param {number}postid The post ID.417 * @param {string}nonce The nonce to verify the request.418 * @param {string}action The action to perform on the image.419 * 416 * @param {number} postid The post ID. 417 * @param {string} nonce The nonce to verify the request. 418 * @param {string} action The action to perform on the image. 419 * The possible actions are: "scale" and "restore". 420 420 * 421 421 * @return {boolean|void} Executes a post request that refreshes the page -
trunk/src/js/_enqueues/lib/lists.js
r46800 r48110 236 236 * data[4] - unspam=1 237 237 * 238 * @param 239 * @param 238 * @param {HTMLElement} element The DOM element. 239 * @param {string} type The type of data to look for: 'list', 'add', 'delete', or 'dim'. 240 240 * @return {Array} Extracted list item data. 241 241 */ -
trunk/src/js/_enqueues/lib/nav-menu.js
r47294 r48110 430 430 * Shows or hides buttons based on the location of the menu item. 431 431 * 432 * @param 432 * @param {object} itemToRefresh The menu item that might need its advanced accessibility buttons refreshed 433 433 */ 434 434 refreshAdvancedAccessibilityOfItem : function( itemToRefresh ) { … … 1293 1293 /** 1294 1294 * Remove a menu item. 1295 * @param {object} el The element to be removed as a jQuery object. 1295 * 1296 * @param {object} el The element to be removed as a jQuery object. 1296 1297 * 1297 1298 * @fires document#menu-removing-item Passes the element to be removed. -
trunk/src/js/_enqueues/vendor/plupload/wp-plupload.js
r47834 r48110 116 116 * @since 5.3.0 117 117 * 118 * @param {string} messageError message.119 * @param {object} dataError data from Plupload.120 * @param {plupload.File} fileFile that was uploaded.118 * @param {string} message Error message. 119 * @param {object} data Error data from Plupload. 120 * @param {plupload.File} file File that was uploaded. 121 121 */ 122 122 tryAgain = function( message, data, file ) { … … 204 204 * and display errors. @see wp.Uploader.errors. 205 205 * 206 * @param {string} messageError message.207 * @param {object} dataError data from Plupload.208 * @param {plupload.File} fileFile that was uploaded.209 * @param {string} retryWhether to try again to create image sub-sizes. Passing 'no-retry' will prevent it.206 * @param {string} message Error message. 207 * @param {object} data Error data from Plupload. 208 * @param {plupload.File} file File that was uploaded. 209 * @param {string} retry Whether to try again to create image sub-sizes. Passing 'no-retry' will prevent it. 210 210 */ 211 211 error = function( message, data, file, retry ) { -
trunk/src/js/_enqueues/vendor/tinymce/plugins/wptextpattern/plugin.js
r48106 r48110 53 53 * Escapes characters for use in a Regular Expression. 54 54 * 55 * @param 55 * @param {String} string Characters to escape 56 56 * 57 * @return {String} 57 * @return {String} Escaped characters 58 58 */ 59 59 function escapeRegExp( string ) { -
trunk/src/js/_enqueues/wp/api.js
r48106 r48110 361 361 * Build a helper function to retrieve related model. 362 362 * 363 * @param 364 * @param 365 * @param 366 * @param 367 * @param 363 * @param {string} parentModel The parent model. 364 * @param {int} modelId The model ID if the object to request 365 * @param {string} modelName The model name to use when constructing the model. 366 * @param {string} embedSourcePoint Where to check the embedds object for _embed data. 367 * @param {string} embedCheckField Which model field to check to see if the model has data. 368 368 * 369 369 * @return {Deferred.promise} A promise which resolves to the constructed model. … … 415 415 * Build a helper to retrieve a collection. 416 416 * 417 * @param 418 * @param 419 * @param 420 * @param 417 * @param {string} parentModel The parent model. 418 * @param {string} collectionName The name to use when constructing the collection. 419 * @param {string} embedSourcePoint Where to check the embedds object for _embed data. 420 * @param {string} embedIndex An addiitonal optional index for the _embed data. 421 421 * 422 * @return {Deferred.promise} 422 * @return {Deferred.promise} A promise which resolves to the constructed collection. 423 423 */ 424 424 buildCollectionGetter = function( parentModel, collectionName, embedSourcePoint, embedIndex ) { -
trunk/src/js/_enqueues/wp/backbone.js
r43347 r48110 24 24 * @class 25 25 * 26 * @param 27 * @param 26 * @param {wp.Backbone.View} view The main view. 27 * @param {Array|Object} views The subviews for the main view. 28 28 */ 29 29 wp.Backbone.Subviews = function( view, views ) { -
trunk/src/js/_enqueues/wp/customize/base.js
r47122 r48110 18 18 * class properties to be extended. 19 19 * 20 * @param 21 * @param 22 * @param 23 * @return child 20 * @param object parent Parent class constructor to inherit from. 21 * @param object protoProps Properties to apply to the prototype for use as class instance properties. 22 * @param object staticProps Properties to apply directly to the class constructor. 23 * @return child The subclassed constructor. 24 24 */ 25 25 inherits = function( parent, protoProps, staticProps ) { … … 109 109 * Creates a subclass of the class. 110 110 * 111 * @param 112 * @param 113 * @return child 111 * @param object protoProps Properties to apply to the prototype. 112 * @param object staticProps Properties to apply directly to the class. 113 * @return child The subclass. 114 114 */ 115 115 api.Class.extend = function( protoProps, classProps ) { … … 355 355 * @see {api.Values.when} 356 356 * 357 * @param {string}id ID of the item.358 * @param {...}Zero or more IDs of items to wait for and a callback359 * 360 * @return {mixed} 361 * 357 * @param {string} id ID of the item. 358 * @param {...} Zero or more IDs of items to wait for and a callback 359 * function to invoke when they're available. Optional. 360 * @return {mixed} The item instance if only one ID was supplied. 361 * A Deferred Promise object if a callback function is supplied. 362 362 */ 363 363 instance: function( id ) { … … 372 372 * Get the instance of an item. 373 373 * 374 * @param 375 * @return {[type]} 374 * @param {string} id The ID of the item. 375 * @return {[type]} [description] 376 376 */ 377 377 value: function( id ) { … … 382 382 * Whether the collection has an item with the given ID. 383 383 * 384 * @param {string}id The ID of the item to look for.384 * @param {string} id The ID of the item to look for. 385 385 * @return {Boolean} 386 386 */ … … 436 436 * and store it in the collection. 437 437 * 438 * @param 439 * @param 440 * @return {mixed} 438 * @param {string} id The ID of the item. 439 * @param {mixed} value Any extra arguments are passed into the item's initialize method. 440 * @return {mixed} The new item's instance. 441 441 */ 442 442 create: function( id ) { … … 447 447 * Iterate over all items in the collection invoking the provided callback. 448 448 * 449 * @param 450 * @param 449 * @param {Function} callback Function to invoke. 450 * @param {object} context Object context to invoke the function with. Optional. 451 451 */ 452 452 each: function( callback, context ) { … … 461 461 * Remove an item from the collection. 462 462 * 463 * @param 463 * @param {string} id The ID of the item to remove. 464 464 */ 465 465 remove: function( id ) { … … 671 671 * Create a new Value. 672 672 * 673 * @param 674 * @param 675 * @param 676 * @return {Value} 673 * @param {string} key Unique identifier. 674 * @param {mixed} initial Initial value. 675 * @param {mixed} options Options hash. Optional. 676 * @return {Value} Class instance of the Value. 677 677 */ 678 678 add: function( key, initial, options ) { … … 683 683 * Initialize Messenger. 684 684 * 685 * @param {object} params- Parameters to configure the messenger.686 * {string} params.url- The URL to communicate with.687 * 688 * {string} params.channel- If provided, will send the channel with each message and only accept messages a matching channel.689 * @param 685 * @param {object} params - Parameters to configure the messenger. 686 * {string} params.url - The URL to communicate with. 687 * {window} params.targetWindow - The window instance to communicate with. Default window.parent. 688 * {string} params.channel - If provided, will send the channel with each message and only accept messages a matching channel. 689 * @param {object} options - Extend any instance parameter or method with this object. 690 690 */ 691 691 initialize: function( params, options ) { … … 748 748 * Receive data from the other window. 749 749 * 750 * @param 750 * @param {jQuery.Event} event Event with embedded data. 751 751 */ 752 752 receive: function( event ) { … … 787 787 * Send data to the other window. 788 788 * 789 * @param 790 * @param 789 * @param {string} id The event name. 790 * @param {object} data Data. 791 791 */ 792 792 send: function( id, data ) { -
trunk/src/js/_enqueues/wp/customize/loader.js
r47122 r48110 107 107 * Open the Customizer overlay for a specific URL. 108 108 * 109 * @param 109 * @param string src URL to load in the Customizer. 110 110 */ 111 111 open: function( src ) { -
trunk/src/js/_enqueues/wp/customize/preview-widgets.js
r48104 r48110 632 632 * 633 633 * @since 3.9.0 634 * @param 634 * @param {string} widgetId ID of the widget. 635 635 * 636 636 * @return {void} -
trunk/src/js/_enqueues/wp/media/models.js
r47122 r48110 18 18 * @namespace 19 19 * 20 * @param 20 * @param {object} attributes The properties passed to the main media controller. 21 21 * @return {wp.media.view.MediaFrame} A media workflow. 22 22 */ … … 87 87 * Used to order models within a collection - @see wp.media.model.Attachments.comparator(). 88 88 * 89 * @param 90 * @param 91 * @param 92 * @param 93 * @return {number} 94 * 95 * 89 * @param {mixed} a The primary parameter to compare. 90 * @param {mixed} b The primary parameter to compare. 91 * @param {string} ac The fallback parameter to compare, a's cid. 92 * @param {string} bc The fallback parameter to compare, b's cid. 93 * @return {number} -1: a should come before b. 94 * 0: a and b are of the same rank. 95 * 1: b should come before a. 96 96 */ 97 97 media.compare = function( a, b, ac, bc ) { -
trunk/src/js/_enqueues/wp/util.js
r47122 r48110 17 17 * Fetch a JavaScript template for an id, and return a templating function for it. 18 18 * 19 * @param {string} idA string that corresponds to a DOM element with an id prefixed with "tmpl-".20 * 21 * @return {function} 19 * @param {string} id A string that corresponds to a DOM element with an id prefixed with "tmpl-". 20 * For example, "attachment" maps to "tmpl-attachment". 21 * @return {function} A function that lazily-compiles the template requested. 22 22 */ 23 23 wp.template = _.memoize(function ( id ) { … … 57 57 * Sends a POST request to WordPress. 58 58 * 59 * @param {(string|object)} actionThe slug of the action to fire in WordPress or options passed60 * 61 * @param {object=} dataOptional. The data to populate $_POST with.62 * @return {$.promise} 63 * 59 * @param {(string|object)} action The slug of the action to fire in WordPress or options passed 60 * to jQuery.ajax. 61 * @param {object=} data Optional. The data to populate $_POST with. 62 * @return {$.promise} A jQuery promise that represents the request, 63 * decorated with an abort() method. 64 64 */ 65 65 post: function( action, data ) { … … 74 74 * Sends a POST request to WordPress. 75 75 * 76 * @param 77 * 78 * @param 79 * @return {$.promise} 80 * 76 * @param {(string|object)} action The slug of the action to fire in WordPress or options passed 77 * to jQuery.ajax. 78 * @param {object=} options Optional. The options passed to jQuery.ajax. 79 * @return {$.promise} A jQuery promise that represents the request, 80 * decorated with an abort() method. 81 81 */ 82 82 send: function( action, options ) { -
trunk/src/js/media/models/query.js
r47122 r48110 95 95 * Fetch more attachments from the server for the collection. 96 96 * 97 * @param {object}[options={}]97 * @param {object} [options={}] 98 98 * @return {Promise} 99 99 */ -
trunk/src/js/media/views/attachment.js
r47122 r48110 502 502 * remove it. 503 503 * 504 * @param 505 * @return {[type]} 504 * @param {[type]} event [description] 505 * @return {[type]} [description] 506 506 */ 507 507 checkClickHandler: function ( event ) { -
trunk/src/js/media/views/frame.js
r46800 r48110 153 153 * Check if a mode is enabled on the frame. 154 154 * 155 * @param 155 * @param string mode Mode ID. 156 156 * @return bool 157 157 */ -
trunk/src/js/media/views/uploader/editor.js
r46800 r48110 130 130 * and upload the file immediately. 131 131 * 132 * @param 132 * @param {jQuery.Event} event The 'drop' event. 133 133 */ 134 134 drop: function( event ) { -
trunk/src/wp-admin/includes/class-custom-image-header.php
r47808 r48110 1491 1491 * @since 4.9.0 1492 1492 * 1493 * @param 1493 * @param array $object A crop attachment object. 1494 1494 * @return int|false An attachment ID if one exists. False if none. 1495 1495 */ -
trunk/src/wp-admin/includes/class-wp-community-events.php
r47550 r48110 301 301 * @since 4.8.0 302 302 * 303 * @param 303 * @param array $location Should contain 'latitude' and 'longitude' indexes. 304 304 * @return bool|string false on failure, or a string on success. 305 305 */ … … 362 362 * @since 4.8.0 363 363 * 364 * @param 364 * @param array $response_body The response which contains the events. 365 365 * @return array The response with dates and times formatted. 366 366 */ … … 437 437 * @since 4.9.7 Stick a WordCamp to the final list. 438 438 * 439 * @param 439 * @param array $response_body The response body which contains the events. 440 440 * @return array The response body with events trimmed. 441 441 */ -
trunk/src/wp-admin/includes/class-wp-upgrader.php
r47848 r48110 347 347 * @access protected 348 348 * 349 * @param array $nested_files Array of files as returned by WP_Filesystem::dirlist()350 * @param string $pathRelative path to prepend to child nodes. Optional.349 * @param array $nested_files Array of files as returned by WP_Filesystem::dirlist(). 350 * @param string $path Relative path to prepend to child nodes. Optional. 351 351 * @return array A flattened array of the $nested_files specified. 352 352 */ -
trunk/src/wp-admin/includes/plugin-install.php
r48059 r48110 421 421 * @since 3.0.0 422 422 * 423 * @param 424 * @param 423 * @param array|object $api Data about the plugin retrieved from the API. 424 * @param bool $loop Optional. Disable further loops. Default false. 425 425 * @return array { 426 426 * Plugin installation status data. -
trunk/src/wp-includes/class-wp-block-type.php
r47908 r48110 189 189 * @since 5.0.0 190 190 * 191 * @param 192 * @return array 191 * @param array $attributes Original block attributes. 192 * @return array Prepared block attributes. 193 193 */ 194 194 public function prepare_attributes_for_render( $attributes ) { -
trunk/src/wp-includes/class-wp-customize-widgets.php
r48109 r48110 1101 1101 * @since 4.2.0 1102 1102 * 1103 * @param 1103 * @param array $nonces Array of nonces. 1104 1104 * @return array Array of nonces. 1105 1105 */ … … 1389 1389 * @global array $wp_registered_widget_controls 1390 1390 * 1391 * @param 1391 * @param string $widget_id Widget ID. 1392 1392 * @return array|WP_Error Array containing the updated widget information. 1393 1393 * A WP_Error object, otherwise. -
trunk/src/wp-includes/class-wp-date-query.php
r48102 r48110 241 241 * @since 4.1.0 242 242 * 243 * @param 243 * @param array $query Query clause. 244 244 * @return bool True if this is a first-order clause. 245 245 */ … … 276 276 * @since 4.1.0 277 277 * 278 * @param 278 * @param array $date_query The date_query array. 279 279 * @return bool True if all values in the query are valid, false if one or more fail. 280 280 */ … … 678 678 * @since 3.7.0 679 679 * 680 * @param 680 * @param array $query Date query arguments. 681 681 * @return array { 682 682 * Array containing JOIN and WHERE SQL clauses to append to the main query. … … 695 695 * @since 4.1.0 696 696 * 697 * @param 698 * @param 697 * @param array $query Date query clause. 698 * @param array $parent_query Parent query of the current date query. 699 699 * @return array { 700 700 * Array containing JOIN and WHERE SQL clauses to append to the main query. -
trunk/src/wp-includes/class-wp-image-editor-gd.php
r47122 r48110 147 147 * @since 3.5.0 148 148 * 149 * @param 150 * @param 151 * @param 149 * @param int|null $max_w Image width. 150 * @param int|null $max_h Image height. 151 * @param bool $crop 152 152 * @return true|WP_Error 153 153 */ -
trunk/src/wp-includes/class-wp-image-editor-imagick.php
r48102 r48110 242 242 * @since 3.5.0 243 243 * 244 * @param 245 * @param 246 * @param 244 * @param int|null $max_w Image width. 245 * @param int|null $max_h Image height. 246 * @param bool $crop 247 247 * @return bool|WP_Error 248 248 */ -
trunk/src/wp-includes/class-wp-image-editor.php
r48100 r48110 91 91 * @abstract 92 92 * 93 * @param 94 * @param 95 * @param 93 * @param int|null $max_w Image width. 94 * @param int|null $max_h Image height. 95 * @param bool $crop 96 96 * @return bool|WP_Error 97 97 */ -
trunk/src/wp-includes/class-wp-matchesmapregex.php
r47122 r48110 80 80 * preg_replace_callback hook 81 81 * 82 * @param 82 * @param array $matches preg_replace regexp matches 83 83 * @return string 84 84 */ -
trunk/src/wp-includes/class-wp-meta-query.php
r47808 r48110 781 781 * @since 4.1.0 782 782 * 783 * @param array$clause Query clause.784 * @param array$parent_query Parent query of $clause.785 * @return string| boolTable alias if found, otherwise false.783 * @param array $clause Query clause. 784 * @param array $parent_query Parent query of $clause. 785 * @return string|false Table alias if found, otherwise false. 786 786 */ 787 787 protected function find_compatible_table_alias( $clause, $parent_query ) { -
trunk/src/wp-includes/class-wp-tax-query.php
r47808 r48110 498 498 * @since 4.1.0 499 499 * 500 * @param array 501 * @param array 500 * @param array $clause Query clause. 501 * @param array $parent_query Parent query of $clause. 502 502 * @return string|false Table alias if found, otherwise false. 503 503 */ -
trunk/src/wp-includes/comment.php
r48109 r48110 155 155 * @since 4.1.0 Refactored to leverage WP_Comment_Query over a direct query. 156 156 * 157 * @param 158 * @param 157 * @param int $post_id The ID of the post. 158 * @param array $args Optional. See WP_Comment_Query::__construct() for information on accepted arguments. 159 159 * @return int|array The approved comments, or number of comments if `$count` 160 160 * argument is true. … … 3561 3561 * @since 4.9.6 3562 3562 * 3563 * @param 3563 * @param array $erasers An array of personal data erasers. 3564 3564 * @return array An array of personal data erasers. 3565 3565 */ … … 3578 3578 * @since 4.9.6 3579 3579 * 3580 * @param 3581 * @param 3580 * @param string $email_address The comment author email address. 3581 * @param int $page Comment page. 3582 3582 * @return array 3583 3583 */ -
trunk/src/wp-includes/functions.php
r48109 r48110 2833 2833 * @since 3.0.0 2834 2834 * 2835 * @param 2835 * @param array $mime_to_ext Array of image mime types and their matching extensions. 2836 2836 */ 2837 2837 $mime_to_ext = apply_filters( … … 4418 4418 * @since 4.7.0 4419 4419 * 4420 * @param 4420 * @param array|string $list List of slugs. 4421 4421 * @return string[] Sanitized array of slugs. 4422 4422 */ … … 6404 6404 * @link https://www.php.net/manual/en/function.checkdate.php 6405 6405 * 6406 * @param 6407 * @param 6408 * @param 6409 * @param 6406 * @param int $month Month number. 6407 * @param int $day Day number. 6408 * @param int $year Year number. 6409 * @param string $source_date The date to filter. 6410 6410 * @return bool True if valid date, false if not valid date. 6411 6411 */ … … 7070 7070 * @since 4.9.6 Abstracted from `WP_Community_Events::get_unsafe_client_ip()`. 7071 7071 * 7072 * @param string $ip_addrThe IPv4 or IPv6 address to be anonymized.7073 * @param bool $ipv6_fallbackOptional. Whether to return the original IPv6 address if the needed functions7074 * 7072 * @param string $ip_addr The IPv4 or IPv6 address to be anonymized. 7073 * @param bool $ipv6_fallback Optional. Whether to return the original IPv6 address if the needed functions 7074 * to anonymize it are not present. Default false, return `::` (unspecified address). 7075 7075 * @return string The anonymized IP address. 7076 7076 */ … … 7140 7140 * @since 4.9.6 7141 7141 * 7142 * @param 7143 * @param 7142 * @param string $type The type of data to be anonymized. 7143 * @param string $data Optional The data to be anonymized. 7144 7144 * @return string The anonymous data for the requested type. 7145 7145 */ -
trunk/src/wp-includes/general-template.php
r48100 r48110 2416 2416 * @since 3.0.0 2417 2417 * 2418 * @param 2419 * @param 2418 * @param string $format Optional. PHP date format defaults to the date_format option if not specified. 2419 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default current post. 2420 2420 * @return string|false Date the current post was written. False on failure. 2421 2421 */ -
trunk/src/wp-includes/link-template.php
r48104 r48110 3145 3145 * @since 3.0.0 3146 3146 * 3147 * @param 3148 * @param 3149 * 3147 * @param string $path Optional. Path relative to the home URL. Default empty. 3148 * @param string|null $scheme Optional. Scheme to give the home URL context. Accepts 3149 * 'http', 'https', 'relative', 'rest', or null. Default null. 3150 3150 * @return string Home URL link with optional path appended. 3151 3151 */ … … 3165 3165 * @global string $pagenow 3166 3166 * 3167 * @param 3168 * @param 3169 * @param 3170 * 3167 * @param int $blog_id Optional. Site ID. Default null (current site). 3168 * @param string $path Optional. Path relative to the home URL. Default empty. 3169 * @param string|null $scheme Optional. Scheme to give the home URL context. Accepts 3170 * 'http', 'https', 'relative', 'rest', or null. Default null. 3171 3171 * @return string Home URL link with optional path appended. 3172 3172 */ … … 3384 3384 * @since 2.6.0 3385 3385 * 3386 * @param 3387 * 3388 * @param 3389 * 3390 * 3386 * @param string $path Optional. Extra path appended to the end of the URL, including 3387 * the relative directory if $plugin is supplied. Default empty. 3388 * @param string $plugin Optional. A full path to a file inside a plugin or mu-plugin. 3389 * The URL will be relative to its directory. Default empty. 3390 * Typically this is done by passing `__FILE__` as the argument. 3391 3391 * @return string Plugins URL link with optional paths appended. 3392 3392 */ … … 3486 3486 * @since 3.0.0 3487 3487 * 3488 * @param 3489 * @param 3490 * 3488 * @param string $path Optional. Path relative to the home URL. Default empty. 3489 * @param string $scheme Optional. Scheme to give the home URL context. Accepts 3490 * 'http', 'https', or 'relative'. Default null. 3491 3491 * @return string Home URL link with optional path appended. 3492 3492 */ -
trunk/src/wp-includes/media.php
r48109 r48110 4542 4542 * @since 4.9.6 4543 4543 * 4544 * @param 4545 * @param 4544 * @param string $email_address The attachment owner email address. 4545 * @param int $page Attachment page. 4546 4546 * @return array An array of personal data. 4547 4547 */ -
trunk/src/wp-includes/ms-functions.php
r48109 r48110 2578 2578 * @since 3.0.0 2579 2579 * 2580 * @param 2581 * @return int 2580 * @param int $size Upload size limit in bytes. 2581 * @return int Upload size limit in bytes. 2582 2582 */ 2583 2583 function upload_size_limit_filter( $size ) { -
trunk/src/wp-includes/rest-api.php
r48102 r48110 718 718 * @since 5.3.0 719 719 * 720 * @param 721 * @param 720 * @param array $array1 The array with master keys to check. 721 * @param array $array2 An array to compare keys against. 722 722 * @return array An associative array containing all the entries of array1 which have keys 723 723 * that are present in all arguments. … … 1063 1063 * @since 4.7.0 1064 1064 * 1065 * @param mixed$value1066 * @param WP_REST_Request$request1067 * @param string$param1065 * @param mixed $value 1066 * @param WP_REST_Request $request 1067 * @param string $param 1068 1068 * @return true|WP_Error 1069 1069 */ … … 1083 1083 * @since 4.7.0 1084 1084 * 1085 * @param mixed$value1086 * @param WP_REST_Request$request1087 * @param string$param1085 * @param mixed $value 1086 * @param WP_REST_Request $request 1087 * @param string $param 1088 1088 * @return mixed 1089 1089 */ … … 1106 1106 * @since 4.7.0 1107 1107 * 1108 * @param mixed$value1109 * @param WP_REST_Request$request1110 * @param string$param1108 * @param mixed $value 1109 * @param WP_REST_Request $request 1110 * @param string $param 1111 1111 * @return mixed 1112 1112 */ … … 1130 1130 * @since 4.7.0 1131 1131 * 1132 * @param 1132 * @param string $ip IP address. 1133 1133 * @return string|false The valid IP address, otherwise false. 1134 1134 */ … … 1634 1634 * @since 5.0.0 1635 1635 * 1636 * @param 1637 * @param 1638 * @return array 1636 * @param array $memo Reduce accumulator. 1637 * @param string $path REST API path to preload. 1638 * @return array Modified reduce accumulator. 1639 1639 */ 1640 1640 function rest_preload_api_request( $memo, $path ) {
Note: See TracChangeset
for help on using the changeset viewer.