Changeset 30680
- Timestamp:
- 12/01/2014 12:59:43 AM (10 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader-skins.php
r30384 r30680 28 28 } 29 29 30 /** 31 * @param WP_Upgrader $upgrader 32 */ 30 33 public function set_upgrader(&$upgrader) { 31 34 if ( is_object($upgrader) ) … … 217 220 } 218 221 222 /** 223 * @param string $string 224 */ 219 225 public function feedback($string) { 220 226 if ( isset( $this->upgrader->strings[$string] ) ) … … 722 728 } 723 729 730 /** 731 * @param string|array|WP_Error $data 732 */ 724 733 public function feedback( $data ) { 725 734 if ( is_wp_error( $data ) ) -
trunk/src/wp-admin/includes/media.php
r30648 r30680 433 433 * @since 2.5.0 434 434 * 435 * @param array$content_func435 * @param string|callable $content_func 436 436 */ 437 437 function wp_iframe($content_func /* ... */) { … … 917 917 * @since 2.7.0 918 918 * 919 * @param object $post919 * @param WP_Post $post 920 920 * @param string $checked 921 921 * @return string … … 945 945 * @since 2.7.0 946 946 * 947 * @param object $post947 * @param WP_Post $post 948 948 * @param bool|string $check 949 949 * @return array … … 1017 1017 * @since 2.7.0 1018 1018 * 1019 * @param object $post1019 * @param WP_Post $post 1020 1020 * @param string $url_type 1021 1021 * @return string … … 2931 2931 * 2932 2932 * @param string $file Path to file. 2933 * @return array|bool eanReturns array of metadata, if found.2933 * @return array|bool Returns array of metadata, if found. 2934 2934 */ 2935 2935 function wp_read_video_metadata( $file ) { -
trunk/src/wp-admin/includes/plugin-install.php
r30555 r30680 191 191 * @since 2.8.0 192 192 * 193 * @param string$page193 * @param integer $page 194 194 */ 195 195 function install_plugins_upload( $page = 1 ) { -
trunk/src/wp-admin/includes/post.php
r30648 r30680 1121 1121 * @since 2.5.0 1122 1122 * 1123 * @param int |object$id Post ID or post object.1123 * @param integer $id Post ID or post object. 1124 1124 * @param string $title (optional) Title 1125 1125 * @param string $name (optional) Name … … 1186 1186 * @since 2.5.0 1187 1187 * 1188 * @param int |object$id Post ID or post object.1188 * @param integer $id Post ID or post object. 1189 1189 * @param string $new_title Optional. New title. 1190 1190 * @param string $new_slug Optional. New slug. … … 1309 1309 * 1310 1310 * @param int $post_id ID of the post to check for editing 1311 * @return bool|intFalse: not locked or locked by current user. Int: user ID of user with lock.1311 * @return integer False: not locked or locked by current user. Int: user ID of user with lock. 1312 1312 */ 1313 1313 function wp_check_post_lock( $post_id ) { -
trunk/src/wp-admin/includes/screen.php
r30648 r30680 61 61 * @since 2.7.0 62 62 * 63 * @param string|WP_Screen $screen63 * @param WP_Screen $screen 64 64 */ 65 65 function meta_box_prefs( $screen ) { … … 651 651 * @param string $key Optional. Specific array key for when the option is an array. 652 652 * Default false. 653 * @return mixedThe option value if set, null otherwise.653 * @return string The option value if set, null otherwise. 654 654 */ 655 655 public function get_option( $option, $key = false ) { -
trunk/src/wp-admin/includes/template.php
r30641 r30680 404 404 * @since 2.7.0 405 405 * 406 * @param string|int $position406 * @param int $position 407 407 * @param bool $checkbox 408 408 * @param string $mode … … 708 708 * @since 0.71 709 709 * 710 * @param int |bool$edit Accepts 1|true for editing the date, 0|false for adding the date.711 * @param int |bool$for_post Accepts 1|true for applying the date to a post, 0|false for a comment.712 * @param int |bool$tab_index The tabindex attribute to add. Default 0.713 * @param int |bool$multi Optional. Whether the additional fields and buttons should be added.710 * @param int $edit Accepts 1|true for editing the date, 0|false for adding the date. 711 * @param int $for_post Accepts 1|true for applying the date to a post, 0|false for a comment. 712 * @param int $tab_index The tabindex attribute to add. Default 0. 713 * @param int $multi Optional. Whether the additional fields and buttons should be added. 714 714 * Default 0|false. 715 715 */ … … 814 814 * @param int $level Optional. Page depth level. Default 0. 815 815 * 816 * @return void|boolBoolean False if page has no children, otherwise print out html elements816 * @return null|false Boolean False if page has no children, otherwise print out html elements 817 817 */ 818 818 function parent_dropdown( $default = 0, $parent = 0, $level = 0 ) { … … 993 993 * @since 2.5.0 994 994 * 995 * @param string|object $screen Screen identifier 995 * @staticvar bool $already_sorted 996 * @param string|WP_Screen $screen Screen identifier 996 997 * @param string $context box context 997 998 * @param mixed $object gets passed to the box callback function as first parameter -
trunk/src/wp-admin/includes/theme.php
r29856 r30680 139 139 * 140 140 * @param WP_Theme $theme WP_Theme object. 141 * @return string|boolHTML for the update link, or false if invalid info was passed.141 * @return false|string HTML for the update link, or false if invalid info was passed. 142 142 */ 143 143 function get_theme_update_available( $theme ) { -
trunk/src/wp-admin/includes/upgrade.php
r30202 r30680 31 31 * @param string $user_email User's email. 32 32 * @param bool $public Whether blog is public. 33 * @param null$deprecated Optional. Not used.33 * @param string $deprecated Optional. Not used. 34 34 * @param string $user_password Optional. User's chosen password. Will default to a random password. 35 35 * @param string $language Optional. Language chosen. … … 1533 1533 * @since 1.2.0 1534 1534 * 1535 * @return arrayList of options.1535 * @return stdClass List of options. 1536 1536 */ 1537 1537 function get_alloptions_110() { … … 1976 1976 * @param string $theme_name 1977 1977 * @param string $template 1978 * @return bool|null1978 * @return null|false 1979 1979 */ 1980 1980 function make_site_theme_from_default($theme_name, $template) { … … 2040 2040 * @since 1.5.0 2041 2041 * 2042 * @return string|bool2042 * @return false|string 2043 2043 */ 2044 2044 function make_site_theme() {
Note: See TracChangeset
for help on using the changeset viewer.