Changeset 48586
- Timestamp:
- 07/23/2020 07:59:16 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 41 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-ssh2.php
r48090 r48586 208 208 * 209 209 * @param string $command 210 * @param bool $returnbool210 * @param bool $returnbool 211 211 * @return bool|string True on success, false on failure. String if the command was executed, `$returnbool` 212 212 * is false (default), and data from the resulting stream was retrieved. -
trunk/src/wp-admin/includes/class-wp-list-table.php
r48462 r48586 234 234 * @since 4.0.0 235 235 * 236 * @param string 237 * @param array 236 * @param string $name Method to call. 237 * @param array $arguments Arguments to pass when calling. 238 238 * @return mixed|bool Return value of the callback, false otherwise. 239 239 */ -
trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php
r48424 r48586 214 214 * 215 215 * @return array 216 *217 216 */ 218 217 protected function get_views() { -
trunk/src/wp-admin/includes/class-wp-ms-users-list-table.php
r48424 r48586 444 444 * @since 4.3.0 445 445 * 446 * @param WP_User $user The current WP_User object.447 * @param string $column_name The current column name.446 * @param WP_User $user The current WP_User object. 447 * @param string $column_name The current column name. 448 448 */ 449 449 public function column_default( $user, $column_name ) { -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r48583 r48586 715 715 * @global int $per_page 716 716 * @param array $posts 717 * @param int $level717 * @param int $level 718 718 */ 719 719 public function display_rows( $posts = array(), $level = 0 ) { … … 735 735 /** 736 736 * @param array $posts 737 * @param int $level737 * @param int $level 738 738 */ 739 739 private function _display_rows( $posts, $level = 0 ) { … … 760 760 * @global WP_Post $post Global post object. 761 761 * @param array $pages 762 * @param int $pagenum763 * @param int $per_page762 * @param int $pagenum 763 * @param int $per_page 764 764 */ 765 765 private function _display_rows_hierarchical( $pages, $pagenum = 1, $per_page = 20 ) { … … 866 866 * 867 867 * @param array $children_pages 868 * @param int $count869 * @param int $parent870 * @param int $level871 * @param int $pagenum872 * @param int $per_page868 * @param int $count 869 * @param int $parent 870 * @param int $level 871 * @param int $pagenum 872 * @param int $per_page 873 873 * @param array $to_display List of pages to be displayed. Passed by reference. 874 874 */ -
trunk/src/wp-admin/includes/class-wp-site-health-auto-updates.php
r48344 r48586 11 11 /** 12 12 * WP_Site_Health_Auto_Updates constructor. 13 * 13 14 * @since 5.2.0 14 15 */ -
trunk/src/wp-admin/includes/class-wp-terms-list-table.php
r47808 r48586 270 270 /** 271 271 * @param string $taxonomy 272 * @param array $terms273 * @param array $children274 * @param int $start275 * @param int $per_page276 * @param int $count277 * @param int $parent278 * @param int $level272 * @param array $terms 273 * @param array $children 274 * @param int $start 275 * @param int $per_page 276 * @param int $count 277 * @param int $parent 278 * @param int $level 279 279 */ 280 280 private function _rows( $taxonomy, $terms, &$children, $start, $per_page, &$count, $parent = 0, $level = 0 ) { … … 333 333 /** 334 334 * @global string $taxonomy 335 * @param WP_Term $tag Term object.336 * @param int $level335 * @param WP_Term $tag Term object. 336 * @param int $level 337 337 */ 338 338 public function single_row( $tag, $level = 0 ) { … … 601 601 602 602 /** 603 * @param WP_Term $tag Term object.604 * @param string $column_name603 * @param WP_Term $tag Term object. 604 * @param string $column_name Name of the column. 605 605 * @return string 606 606 */ -
trunk/src/wp-admin/includes/dashboard.php
r48424 r48586 1168 1168 * 1169 1169 * @param string $widget_id 1170 * @param array $form_inputs1170 * @param array $form_inputs 1171 1171 */ 1172 1172 function wp_dashboard_rss_control( $widget_id, $form_inputs = array() ) { -
trunk/src/wp-admin/includes/image.php
r48574 r48586 469 469 * @since 2.1.0 470 470 * 471 * @param int $attachment_id Attachment Id to process.472 * @param string $file Filepath of the Attached image.471 * @param int $attachment_id Attachment Id to process. 472 * @param string $file Filepath of the Attached image. 473 473 * @return mixed Metadata for attachment. 474 474 */ -
trunk/src/wp-admin/includes/media.php
r48232 r48586 666 666 * @global int $post_ID 667 667 * @param string $type 668 * @param int $post_id668 * @param int $post_id 669 669 * @param string $tab 670 670 * @return string … … 1087 1087 * 1088 1088 * @param WP_Post $post 1089 * @param string $checked1089 * @param string $checked 1090 1090 * @return string 1091 1091 */ … … 1124 1124 * @since 2.7.0 1125 1125 * 1126 * @param WP_Post $post1126 * @param WP_Post $post 1127 1127 * @param bool|string $check 1128 1128 * @return array … … 1203 1203 * 1204 1204 * @param WP_Post $post 1205 * @param string $url_type1205 * @param string $url_type 1206 1206 * @return string 1207 1207 */ … … 1251 1251 * @since 2.5.0 1252 1252 * 1253 * @param array $form_fields1253 * @param array $form_fields 1254 1254 * @param object $post 1255 1255 * @return array … … 1317 1317 * @since 2.5.0 1318 1318 * 1319 * @param string $html1319 * @param string $html 1320 1320 * @param integer $attachment_id 1321 * @param array $attachment1321 * @param array $attachment 1322 1322 * @return string 1323 1323 */ … … 1344 1344 * 1345 1345 * @param WP_Post $post 1346 * @param array $errors1346 * @param array $errors 1347 1347 * @return array 1348 1348 */ … … 1487 1487 * @global WP_Query $wp_the_query WordPress Query object. 1488 1488 * 1489 * @param int $post_id Optional. Post ID.1490 * @param array $errors Errors for attachment, if any.1489 * @param int $post_id Optional. Post ID. 1490 * @param array $errors Errors for attachment, if any. 1491 1491 * @return string 1492 1492 */ … … 1540 1540 * @global string $redir_tab 1541 1541 * 1542 * @param int $attachment_id Attachment ID for modification.1543 * @param string|array $args Optional. Override defaults.1542 * @param int $attachment_id Attachment ID for modification. 1543 * @param string|array $args Optional. Override defaults. 1544 1544 * @return string HTML form for attachment. 1545 1545 */ … … 2272 2272 * @since 2.5.0 2273 2273 * 2274 * @param string $type2275 * @param object $errors2274 * @param string $type 2275 * @param object $errors 2276 2276 * @param integer $id 2277 2277 */ … … 2346 2346 * @since 2.7.0 2347 2347 * 2348 * @param string $type2349 * @param object $errors2348 * @param string $type 2349 * @param object $errors 2350 2350 * @param integer $id 2351 2351 */ -
trunk/src/wp-admin/includes/misc.php
r48574 r48586 904 904 * 905 905 * @param DOMDocument $doc 906 * @param string $filename906 * @param string $filename 907 907 */ 908 908 function saveDomDocument( $doc, $filename ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid -
trunk/src/wp-admin/includes/nav-menu.php
r48473 r48586 1137 1137 * @since 3.6.0 1138 1138 * 1139 * @param int|string $nav_menu_selected_id (id, slug, or name ) of the currently-selected menu1140 * @param string $nav_menu_selected_title Title of the currently-selected menu1139 * @param int|string $nav_menu_selected_id ID, slug, or name of the currently-selected menu. 1140 * @param string $nav_menu_selected_title Title of the currently-selected menu. 1141 1141 * @return array The menu updated message 1142 1142 */ -
trunk/src/wp-admin/includes/privacy-tools.php
r48574 r48586 720 720 /** 721 721 * Intercept personal data exporter page Ajax responses in order to assemble the personal data export file. 722 * 722 723 * @see wp_privacy_personal_data_export_page 723 724 * @since 4.9.6 -
trunk/src/wp-admin/includes/schema.php
r48575 r48586 30 30 * @global wpdb $wpdb WordPress database abstraction object. 31 31 * 32 * @param string $scope Optional. The tables for which to retrieve SQL. Can be all, global, ms_global, or blog tables. Defaults to all.33 * @param int $blog_id Optional. The site ID for which to retrieve SQL. Default is the current site ID.32 * @param string $scope Optional. The tables for which to retrieve SQL. Can be all, global, ms_global, or blog tables. Defaults to all. 33 * @param int $blog_id Optional. The site ID for which to retrieve SQL. Default is the current site ID. 34 34 * @return string The SQL needed to create the requested tables. 35 35 */ -
trunk/src/wp-includes/admin-bar.php
r48211 r48586 1242 1242 * 1243 1243 * @param string $context Context of this preference check. Defaults to 'front'. The 'admin' 1244 * preference is no longer used.1245 * @param int $userOptional. ID of the user to check, defaults to 0 for current user.1244 * preference is no longer used. 1245 * @param int $user Optional. ID of the user to check, defaults to 0 for current user. 1246 1246 * @return bool Whether the admin bar should be showing for this user. 1247 1247 */ -
trunk/src/wp-includes/bookmark-template.php
r48104 r48586 23 23 * @access private 24 24 * 25 * @param array $bookmarks List of bookmarks to traverse.25 * @param array $bookmarks List of bookmarks to traverse. 26 26 * @param string|array $args { 27 27 * Optional. Bookmarks arguments. -
trunk/src/wp-includes/bookmark.php
r48197 r48586 15 15 * 16 16 * @param int|stdClass $bookmark 17 * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which correspond to 18 * an stdClass object, an associative array, or a numeric array, respectively. Default OBJECT. 19 * @param string $filter Optional. How to sanitize bookmark fields. Default 'raw'. 17 * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which correspond 18 * to an stdClass object, an associative array, or a numeric array, respectively. 19 * Default OBJECT. 20 * @param string $filter Optional. How to sanitize bookmark fields. Default 'raw'. 20 21 * @return array|object|null Type returned depends on $output value. 21 22 */ … … 69 70 * @since 2.3.0 70 71 * 71 * @param string $field The name of the data field to return72 * @param int $bookmark The bookmark ID to get field73 * @param string $context Optional. The context of how the field will be used.72 * @param string $field The name of the data field to return. 73 * @param int $bookmark The bookmark ID to get field. 74 * @param string $context Optional. The context of how the field will be used. 74 75 * @return string|WP_Error 75 76 */ -
trunk/src/wp-includes/cache.php
r47944 r48586 112 112 * @global WP_Object_Cache $wp_object_cache Object cache global instance. 113 113 * 114 * @param int|string $keyThe key under which the cache contents are stored.115 * @param string $groupOptional. Where the cache contents are grouped. Default empty.116 * @param bool $forceOptional. Whether to force an update of the local cache117 * 118 * @param bool $foundOptional. Whether the key was found in the cache (passed by reference).119 * 114 * @param int|string $key The key under which the cache contents are stored. 115 * @param string $group Optional. Where the cache contents are grouped. Default empty. 116 * @param bool $force Optional. Whether to force an update of the local cache 117 * from the persistent cache. Default false. 118 * @param bool $found Optional. Whether the key was found in the cache (passed by reference). 119 * Disambiguates a return of false, a storable value. Default null. 120 120 * @return mixed|false The cache contents on success, false on failure to retrieve contents. 121 121 */ -
trunk/src/wp-includes/canonical.php
r48185 r48586 36 36 * 37 37 * @param string $requested_url Optional. The URL that was requested, used to 38 * figure if redirect is needed.39 * @param bool $do_redirectOptional. Redirect to the new URL.38 * figure if redirect is needed. 39 * @param bool $do_redirect Optional. Redirect to the new URL. 40 40 * @return string|void The string of the URL, if redirect needed. 41 41 */ … … 783 783 * 784 784 * @param string $query_string 785 * @param array $args_to_check785 * @param array $args_to_check 786 786 * @param string $url 787 787 * @return string The altered query string -
trunk/src/wp-includes/category-template.php
r48574 r48586 127 127 * @param string $separator Optional. Separator between the categories. By default, the links are placed 128 128 * in an unordered list. An empty string will result in the default behavior. 129 * @param string $parents Optional. How to display the parents.130 * @param int $post_idOptional. Post ID to retrieve categories.129 * @param string $parents Optional. How to display the parents. 130 * @param int $post_id Optional. Post ID to retrieve categories. 131 131 * @return string 132 132 */ … … 239 239 * 240 240 * @since 1.2.0 241 * @since 2.7.0 The `$post` parameter was added. 241 242 * 242 243 * @param int|string|array $category Category ID, name or slug, or array of said. 243 * @param int|object $post Optional. Post to check instead of the current post. (since 2.7.0)244 * @param int|object $post Optional. Post to check instead of the current post. 244 245 * @return bool True if the current post is in any of the given categories. 245 246 */ … … 259 260 * @param string $separator Optional. Separator between the categories. By default, the links are placed 260 261 * in an unordered list. An empty string will result in the default behavior. 261 * @param string $parents Optional. How to display the parents.262 * @param int $post_idOptional. Post ID to retrieve categories.262 * @param string $parents Optional. How to display the parents. 263 * @param int $post_id Optional. Post ID to retrieve categories. 263 264 */ 264 265 function the_category( $separator = '', $parents = '', $post_id = false ) { … … 1162 1163 * @since 2.3.0 1163 1164 * 1164 * @param string $before Optional. Before tags.1165 * @param string $sep Optional. Betweentags.1166 * @param string $after Optional. After tags.1167 * @param int $idOptional. Post ID. Defaults to the current post.1165 * @param string $before Optional. String to use before tags. 1166 * @param string $sep Optional. String to use between the tags. 1167 * @param string $after Optional. String to use after tags. 1168 * @param int $id Optional. Post ID. Defaults to the current post. 1168 1169 * @return string|false|WP_Error A list of tags on success, false if there are no terms, WP_Error on failure. 1169 1170 */ … … 1334 1335 * @since 4.8.0 1335 1336 * 1336 * @param int $term_id Term ID.1337 * @param string $taxonomy Taxonomy name.1337 * @param int $term_id Term ID. 1338 * @param string $taxonomy Taxonomy name. 1338 1339 * @param string|array $args { 1339 1340 * Array of optional arguments. -
trunk/src/wp-includes/category.php
r48219 r48586 82 82 * 83 83 * @param int|object $category Category ID or Category row object 84 * @param string $outputOptional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N,85 * which correspond to a WP_Term object, an associative array, or a numeric array,86 * respectively. Default OBJECT.87 * @param string $filterOptional. How to sanitize category fields. Default 'raw'.84 * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, 85 * which correspond to a WP_Term object, an associative array, or a numeric array, 86 * respectively. Default OBJECT. 87 * @param string $filter Optional. How to sanitize category fields. Default 'raw'. 88 88 * @return object|array|WP_Error|null Category data in type defined by $output parameter. 89 89 * WP_Error if $category is empty, null if it does not exist. -
trunk/src/wp-includes/class-http.php
r48462 r48586 510 510 * @since 3.2.0 511 511 * 512 * @param array $args Request arguments.513 * @param string $url URL to Request.512 * @param array $args Request arguments. 513 * @param string $url URL to request. 514 514 * @return string|false Class name for the first transport that claims to support the request. 515 515 * False if no transport claims to support the request. … … 560 560 * @see WP_Http::request() 561 561 * 562 * @param string $url URL to Request.563 * @param array $args Request arguments.562 * @param string $url URL to request. 563 * @param array $args Request arguments. 564 564 * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'. 565 565 * A WP_Error instance upon error. … … 616 616 * @since 2.7.0 617 617 * 618 * @param string $urlThe request URL.618 * @param string $url The request URL. 619 619 * @param string|array $args Optional. Override the defaults. 620 620 * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'. … … 634 634 * @since 2.7.0 635 635 * 636 * @param string $urlThe request URL.636 * @param string $url The request URL. 637 637 * @param string|array $args Optional. Override the defaults. 638 638 * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'. … … 676 676 * 677 677 * @param string|array $headers 678 * @param string $urlThe URL that was requested.678 * @param string $url The URL that was requested. 679 679 * @return array Processed string headers. If duplicate headers are encountered, 680 680 * then a numbered array is returned as the value of that header-key. -
trunk/src/wp-includes/class-wp-comment-query.php
r48576 r48586 119 119 * @since 4.0.0 120 120 * 121 * @param string 122 * @param array 121 * @param string $name Method to call. 122 * @param array $arguments Arguments to pass when calling. 123 123 * @return mixed|false Return value of the callback, false otherwise. 124 124 */ … … 1086 1086 * 1087 1087 * @param string $string 1088 * @param array $cols1088 * @param array $cols 1089 1089 * @return string 1090 1090 */ -
trunk/src/wp-includes/class-wp-customize-manager.php
r48576 r48586 6009 6009 * 6010 6010 * @param WP_Error $validity 6011 * @param mixed $value6011 * @param mixed $value 6012 6012 * @return mixed 6013 6013 */ … … 6045 6045 * 6046 6046 * @param WP_Error $validity 6047 * @param mixed $value6047 * @param mixed $value 6048 6048 * @return mixed 6049 6049 */ -
trunk/src/wp-includes/class-wp-date-query.php
r48475 r48586 70 70 * @since 4.1.0 Introduced 'dayofweek_iso' time type parameter. 71 71 * 72 * @param array $date_query {72 * @param array $date_query { 73 73 * Array of date query clauses. 74 74 * … … 798 798 * @since 3.7.0 799 799 * 800 * @param string $compare The compare operator to use801 * @param string|array $value The value800 * @param string $compare The compare operator to use. 801 * @param string|array $value The value. 802 802 * @return string|false|int The value to be used in SQL or false on error. 803 803 */ … … 957 957 * @since 3.7.0 958 958 * 959 * @param string $columnThe column to query against. Needs to be pre-validated!960 * @param string $compare The comparison operator. Needs to be pre-validated!961 * @param int|null $hour Optional. An hour value (0-23).962 * @param int|null $minute Optional. A minute value (0-59).963 * @param int|null $second Optional. A second value (0-59).959 * @param string $column The column to query against. Needs to be pre-validated! 960 * @param string $compare The comparison operator. Needs to be pre-validated! 961 * @param int|null $hour Optional. An hour value (0-23). 962 * @param int|null $minute Optional. A minute value (0-59). 963 * @param int|null $second Optional. A second value (0-59). 964 964 * @return string|false A query part or false on failure. 965 965 */ -
trunk/src/wp-includes/class-wp-editor.php
r48475 r48586 1450 1450 * 1451 1451 * @param string $mce_locale The locale used for the editor. 1452 * @param bool $json_only optional Whether to include the JavaScript calls to tinymce.addI18n() and tinymce.ScriptLoader.markDone(). 1452 * @param bool $json_only Optional. Whether to include the JavaScript calls to tinymce.addI18n() and 1453 * tinymce.ScriptLoader.markDone(). 1453 1454 * @return string Translation object, JSON encoded. 1454 1455 */ -
trunk/src/wp-includes/class-wp-embed.php
r48574 r48586 121 121 * Do not use this function directly, use wp_embed_unregister_handler() instead. 122 122 * 123 * @param string $id The handler ID that should be removed.124 * @param int $priority Optional. The priority of the handler to be removed (default: 10).123 * @param string $id The handler ID that should be removed. 124 * @param int $priority Optional. The priority of the handler to be removed (default: 10). 125 125 */ 126 126 public function unregister_handler( $id, $priority = 10 ) { … … 136 136 * @since 5.5.0 137 137 * 138 * @param array $attr {138 * @param array $attr { 139 139 * Shortcode attributes. Optional. 140 140 * … … 182 182 * will be given to the WP_oEmbed class. 183 183 * 184 * @param array $attr {184 * @param array $attr { 185 185 * Shortcode attributes. Optional. 186 186 * -
trunk/src/wp-includes/class-wp-error.php
r44527 r48586 48 48 * @since 2.1.0 49 49 * 50 * @param string|int $code Error code51 * @param string $message Error message52 * @param mixed $dataOptional. Error data.50 * @param string|int $code Error code. 51 * @param string $message Error message. 52 * @param mixed $data Optional. Error data. 53 53 */ 54 54 public function __construct( $code = '', $message = '', $data = '' ) { … … 181 181 * @since 2.1.0 182 182 * 183 * @param string|int $code Error code.184 * @param string $message Error message.185 * @param mixed $dataOptional. Error data.183 * @param string|int $code Error code. 184 * @param string $message Error message. 185 * @param mixed $data Optional. Error data. 186 186 */ 187 187 public function add( $code, $message, $data = '' ) { … … 199 199 * @since 2.1.0 200 200 * 201 * @param mixed $data Error data.201 * @param mixed $data Error data. 202 202 * @param string|int $code Error code. 203 203 */ -
trunk/src/wp-includes/class-wp-http-curl.php
r47557 r48586 64 64 * @since 2.7.0 65 65 * 66 * @param string $urlThe request URL.66 * @param string $url The request URL. 67 67 * @param string|array $args Optional. Override the defaults. 68 68 * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'. A WP_Error instance upon error -
trunk/src/wp-includes/class-wp-http-ixr-client.php
r48238 r48586 14 14 15 15 /** 16 * @param string $server16 * @param string $server 17 17 * @param string|bool $path 18 * @param int|bool $port19 * @param int $timeout18 * @param int|bool $port 19 * @param int $timeout 20 20 */ 21 21 public function __construct( $server, $path = false, $port = false, $timeout = 15 ) { -
trunk/src/wp-includes/class-wp-http-requests-hooks.php
r47122 r48586 33 33 * Constructor. 34 34 * 35 * @param string $url URL to request.36 * @param array $request Request data in WP_Http format.35 * @param string $url URL to request. 36 * @param array $request Request data in WP_Http format. 37 37 */ 38 38 public function __construct( $url, $request ) { … … 44 44 * Dispatch a Requests hook to a native WordPress action. 45 45 * 46 * @param string $hook Hook name.47 * @param array $parameters Parameters to pass to callbacks.46 * @param string $hook Hook name. 47 * @param array $parameters Parameters to pass to callbacks. 48 48 * @return boolean True if hooks were run, false if nothing was hooked. 49 49 */ -
trunk/src/wp-includes/class-wp-http-streams.php
r47808 r48586 23 23 * @since 3.7.0 Combined with the fsockopen transport and switched to stream_socket_client(). 24 24 * 25 * @param string $urlThe request URL.25 * @param string $url The request URL. 26 26 * @param string|array $args Optional. Override the defaults. 27 27 * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'. A WP_Error instance upon error -
trunk/src/wp-includes/class-wp-image-editor-gd.php
r48576 r48586 172 172 173 173 /** 174 * @param int $max_w175 * @param int $max_h174 * @param int $max_w 175 * @param int $max_h 176 176 * @param bool|array $crop 177 177 * @return resource|WP_Error … … 416 416 417 417 /** 418 * @param resource $image418 * @param resource $image 419 419 * @param string|null $filename 420 420 * @param string|null $mime_type … … 500 500 * 501 501 * @param string|stream $filename 502 * @param callable $function503 * @param array $arguments502 * @param callable $function 503 * @param array $arguments 504 504 * @return bool 505 505 */ -
trunk/src/wp-includes/class-wp-image-editor-imagick.php
r48574 r48586 663 663 /** 664 664 * @param Imagick $image 665 * @param string $filename666 * @param string $mime_type665 * @param string $filename 666 * @param string $mime_type 667 667 * @return array|WP_Error 668 668 */ -
trunk/src/wp-includes/class-wp-image-editor.php
r48574 r48586 474 474 * 475 475 * @param string|stream $filename 476 * @param callable $function477 * @param array $arguments476 * @param callable $function 477 * @param array $arguments 478 478 * @return bool 479 479 */ -
trunk/src/wp-includes/class-wp-oembed.php
r48513 r48586 230 230 * @since 4.0.0 231 231 * 232 * @param string 233 * @param array 232 * @param string $name Method to call. 233 * @param array $arguments Arguments to pass when calling. 234 234 * @return mixed|bool Return value of the callback, false otherwise. 235 235 */ … … 248 248 * @see WP_oEmbed::discover() 249 249 * 250 * @param string 251 * @param string|array 250 * @param string $url The URL to the content. 251 * @param string|array $args Optional provider arguments. 252 252 * @return string|false The oEmbed provider URL on success, false on failure. 253 253 */ -
trunk/src/wp-includes/class-wp-query.php
r48576 r48586 3594 3594 * @since 4.0.0 3595 3595 * 3596 * @param string 3597 * @param array 3596 * @param string $name Method to call. 3597 * @param array $arguments Arguments to pass when calling. 3598 3598 * @return mixed|false Return value of the callback, false otherwise. 3599 3599 */ -
trunk/src/wp-includes/class-wp-recovery-mode.php
r48102 r48586 340 340 * @global array $wp_theme_directories 341 341 * 342 * @param array 342 * @param array $error Error that was triggered. 343 343 * @return array|false { 344 344 * @type string $slug The extension slug. This is the plugin or theme's directory. -
trunk/src/wp-includes/class-wp-roles.php
r48197 r48586 96 96 * @since 4.0.0 97 97 * 98 * @param string 99 * @param array 98 * @param string $name Method to call. 99 * @param array $arguments Arguments to pass when calling. 100 100 * @return mixed|false Return value of the callback, false otherwise. 101 101 */ … … 201 201 * @since 2.0.0 202 202 * 203 * @param string $role Role name.204 * @param string $cap Capability name.205 * @param bool $grantOptional. Whether role is capable of performing capability.206 * Default true.203 * @param string $role Role name. 204 * @param string $cap Capability name. 205 * @param bool $grant Optional. Whether role is capable of performing capability. 206 * Default true. 207 207 */ 208 208 public function add_cap( $role, $cap, $grant = true ) { -
trunk/src/wp-includes/class-wp-term-query.php
r48576 r48586 698 698 * or null to allow WP queries to run normally. 699 699 * @param WP_Term_Query $this The WP_Term_Query instance, passed by reference. 700 *701 700 */ 702 701 $this->terms = apply_filters_ref_array( 'terms_pre_query', array( $this->terms, &$this ) ); -
trunk/src/wp-includes/class-wp-text-diff-renderer-table.php
r48576 r48586 101 101 * @ignore 102 102 * 103 * @param array $lines103 * @param array $lines 104 104 * @param string $prefix 105 105 */ … … 151 151 * 152 152 * @param array $lines 153 * @param bool $encode153 * @param bool $encode 154 154 * @return string 155 155 */ … … 189 189 * 190 190 * @param array $lines 191 * @param bool $encode191 * @param bool $encode 192 192 * @return string 193 193 */ … … 214 214 * 215 215 * @param array $lines 216 * @param bool $encode216 * @param bool $encode 217 217 * @return string 218 218 */
Note: See TracChangeset
for help on using the changeset viewer.