Changeset 48573
- Timestamp:
- 07/23/2020 12:46:56 AM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/taxonomy.php
r47808 r48573 301 301 * @since 2.8.0 302 302 * 303 * @param int|string $tag_name304 * @param string $taxonomy Optional. The taxonomy for which to retrieve terms. Default 'post_tag'.303 * @param string $tag_name The term name. 304 * @param string $taxonomy Optional. The taxonomy within which to create the term. Default 'post_tag'. 305 305 * @return array|WP_Error 306 306 */ -
trunk/src/wp-admin/includes/template.php
r48380 r48573 2222 2222 2223 2223 /** 2224 * Function to echothe attachment media states as HTML.2224 * Outputs the attachment media states as HTML. 2225 2225 * 2226 2226 * @since 3.2.0 2227 2227 * 2228 2228 * @param WP_Post $post The attachment post to retrieve states for. 2229 * @return string Media states string.2230 2229 */ 2231 2230 function _media_states( $post ) { -
trunk/src/wp-includes/blocks.php
r48243 r48573 360 360 * @since 5.3.1 361 361 * 362 * @param array $ attributes Attributes object.362 * @param array $block_attributes Attributes object. 363 363 * @return string Serialized attributes. 364 364 */ … … 397 397 * @since 5.3.1 398 398 * 399 * @param string $block_name Block name.400 * @param array $ attributes Block attributes.401 * @param string $ content Block save content.399 * @param string $block_name Block name. 400 * @param array $block_attributes Block attributes. 401 * @param string $block_content Block save content. 402 402 * @return string Comment-delimited block content. 403 403 */ -
trunk/src/wp-includes/class-wp-customize-manager.php
r48211 r48573 2293 2293 * @since 3.4.0 2294 2294 * 2295 * @param $current_theme {@internal Parameter is not used}2295 * @param mixed $current_theme {@internal Parameter is not used} 2296 2296 * @return string Theme name. 2297 2297 */ -
trunk/src/wp-includes/class-wp-customize-setting.php
r48473 r48573 847 847 * @since 3.4.0 848 848 * 849 * @param $root850 * @param $keys849 * @param array $root 850 * @param array $keys 851 851 * @param bool $create Default false. 852 852 * @return array|void Keys are 'root', 'node', and 'key'. … … 902 902 * @since 3.4.0 903 903 * 904 * @param $root905 * @param $keys904 * @param array $root 905 * @param array $keys 906 906 * @param mixed $value The value to update. 907 907 * @return mixed … … 928 928 * @since 3.4.0 929 929 * 930 * @param $root931 * @param $keys930 * @param array $root 931 * @param array $keys 932 932 * @param mixed $default A default value which is used as a fallback. Default null. 933 933 * @return mixed The requested value or the default value. … … 947 947 * @since 3.4.0 948 948 * 949 * @param $root950 * @param $keys949 * @param array $root 950 * @param array $keys 951 951 * @return bool True if value is set, false if not. 952 952 */ -
trunk/src/wp-includes/class-wp-dependency.php
r48462 r48573 91 91 * to the function signature. 92 92 * 93 * @param ...$args Dependency information.93 * @param mixed ...$args Dependency information. 94 94 */ 95 95 public function __construct( ...$args ) { -
trunk/src/wp-includes/functions.php
r48538 r48573 2598 2598 * 2599 2599 * @param string $filename The file name to check. 2600 * $param array $files An array of existing files in the directory.2601 * $return bool True if the tested file name could match an existing file, false otherwise.2600 * @param array $files An array of existing files in the directory. 2601 * @return bool True if the tested file name could match an existing file, false otherwise. 2602 2602 */ 2603 2603 function _wp_check_existing_file_names( $filename, $files ) { -
trunk/src/wp-includes/general-template.php
r48542 r48573 2163 2163 * 2164 2164 * @param bool $initial Optional. Whether to use initial calendar names. Default true. 2165 * @param bool $ display Optional. Whether to display or return the calendar. Default true.2165 * @param bool $echo Optional. Whether to display the calendar output. Default true. 2166 2166 * @return void|string Void if `$echo` argument is true, calendar HTML if `$echo` is false. 2167 2167 */ -
trunk/src/wp-includes/kses.php
r48572 r48573 1035 1035 * @global string[] $pass_allowed_protocols Array of allowed URL protocols. 1036 1036 * 1037 * @param array $matches preg_replace regexp matches 1037 1038 * @return string 1038 1039 */ … … 1713 1714 * @param string $string Content to check for bad protocols. 1714 1715 * @param string[] $allowed_protocols Array of allowed URL protocols. 1716 * @param int $count Depth of call recursion to this function. 1715 1717 * @return string Sanitized content. 1716 1718 */ -
trunk/src/wp-includes/pomo/po.php
r48109 r48573 93 93 * 94 94 * Doesn't need to include # in the beginning of lines, these are added automatically 95 * 96 * @param string $text Text to include as a comment. 95 97 */ 96 98 function set_comment_before_headers( $text ) { -
trunk/src/wp-includes/post-template.php
r48197 r48573 1545 1545 * @see Walker_PageDropdown::walk() for parameters and return description. 1546 1546 * 1547 * @param mixed ...$args Elements array, maximum hierarchical depth and optional additional arguments. 1547 1548 * @return string 1548 1549 */ -
trunk/src/wp-includes/script-loader.php
r48537 r48573 40 40 * @since 5.0.0 41 41 * 42 * @param WP_Scripts $scripts WP_Scripts object. 42 * @param WP_Scripts $scripts WP_Scripts object. 43 * @param bool $force_uncompressed Whether to forcibly prevent gzip compression. Default false. 43 44 */ 44 45 function wp_register_tinymce_scripts( $scripts, $force_uncompressed = false ) { -
trunk/src/wp-includes/theme.php
r48491 r48573 2472 2472 * @since 5.3.0 Formalized the existing and already documented `...$args` parameter 2473 2473 * by adding it to the function signature. 2474 * @since 5.5.0 The `core-block-patterns` feature was added and is enabled by default. 2474 2475 * 2475 2476 * @global array $_wp_theme_features
Note: See TracChangeset
for help on using the changeset viewer.