Changeset 15590
- Timestamp:
- 09/07/2010 11:21:11 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 32 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-filesystem-direct.php
r13025 r15590 20 20 * constructor 21 21 * 22 * @param $arg mixedingored argument22 * @param mixed $arg ingored argument 23 23 */ 24 24 function WP_Filesystem_Direct($arg) { … … 37 37 * Reads entire file into a string 38 38 * 39 * @param $file stringName of the file to read.39 * @param string $file Name of the file to read. 40 40 * @return string|bool The function returns the read data or false on failure. 41 41 */ … … 46 46 * Reads entire file into an array 47 47 * 48 * @param $file stringPath to the file.48 * @param string $file Path to the file. 49 49 * @return array|bool the file contents in an array or false on failure. 50 50 */ … … 55 55 * Write a string to a file 56 56 * 57 * @param $file stringRemote path to the file where to write the data.58 * @param $contents stringThe data to write.59 * @param $mode int(optional) The file permissions as octal number, usually 0644.57 * @param string $file Remote path to the file where to write the data. 58 * @param string $contents The data to write. 59 * @param int $mode (optional) The file permissions as octal number, usually 0644. 60 60 * @return bool False upon failure. 61 61 */ … … 79 79 * Change directory 80 80 * 81 * @param $dir stringThe new current directory.81 * @param string $dir The new current directory. 82 82 * @return bool Returns true on success or false on failure. 83 83 */ … … 88 88 * Changes file group 89 89 * 90 * @param $file stringPath to the file.91 * @param $group mixedA group name or number.92 * @param $recursive bool(optional) If set True changes file group recursivly. Defaults to False.90 * @param string $file Path to the file. 91 * @param mixed $group A group name or number. 92 * @param bool $recursive (optional) If set True changes file group recursivly. Defaults to False. 93 93 * @return bool Returns true on success or false on failure. 94 94 */ … … 111 111 * Changes filesystem permissions 112 112 * 113 * @param $file stringPath to the file.114 * @param $mode int(optional) The permissions as octal number, usually 0644 for files, 0755 for dirs.115 * @param $recursive bool(optional) If set True changes file group recursivly. Defaults to False.113 * @param string $file Path to the file. 114 * @param int $mode (optional) The permissions as octal number, usually 0644 for files, 0755 for dirs. 115 * @param bool $recursive (optional) If set True changes file group recursivly. Defaults to False. 116 116 * @return bool Returns true on success or false on failure. 117 117 */ … … 139 139 * Changes file owner 140 140 * 141 * @param $file stringPath to the file.142 * @param $owner mixedA user name or number.143 * @param $recursive bool(optional) If set True changes file owner recursivly. Defaults to False.141 * @param string $file Path to the file. 142 * @param mixed $owner A user name or number. 143 * @param bool $recursive (optional) If set True changes file owner recursivly. Defaults to False. 144 144 * @return bool Returns true on success or false on failure. 145 145 */ … … 161 161 * Gets file owner 162 162 * 163 * @param $file stringPath to the file.163 * @param string $file Path to the file. 164 164 * @return string Username of the user. 165 165 */ … … 178 178 * FIXME does not handle errors in fileperms() 179 179 * 180 * @param $file stringPath to the file.180 * @param string $file Path to the file. 181 181 * @return string Mode of the file (last 4 digits). 182 182 */ -
trunk/wp-admin/includes/media.php
r15292 r15590 836 836 * 837 837 * @param unknown_type $post 838 * @param unknown_type $check ed838 * @param unknown_type $check 839 839 * @return unknown 840 840 */ -
trunk/wp-admin/includes/meta-boxes.php
r15546 r15590 434 434 * @since 3.0.0 435 435 * 436 * @param $result table header rows437 * @return 436 * @param array $result table header rows 437 * @return array 438 438 */ 439 439 function post_comment_meta_box_thead($result) { -
trunk/wp-admin/includes/ms.php
r15488 r15590 713 713 * 714 714 * @since 3.0.0 715 * @param $user_id715 * @param int $user_id 716 716 */ 717 717 function grant_super_admin( $user_id ) { … … 741 741 * 742 742 * @since 3.0.0 743 * @param $user_id743 * @param int $user_id 744 744 */ 745 745 function revoke_super_admin( $user_id ) { -
trunk/wp-admin/includes/plugin.php
r15376 r15590 429 429 * @since 3.0.0 430 430 * 431 * @param $filePlugin to check432 * $return bool True if plugin is network only, false otherwise.431 * @param string $plugin Plugin to check 432 * @return bool True if plugin is network only, false otherwise. 433 433 */ 434 434 function is_network_only_plugin( $plugin ) { -
trunk/wp-admin/includes/post.php
r15491 r15590 16 16 * 17 17 * @param bool $update Are we updating a pre-existing post? 18 * @param post_data arrayArray of post data. Defaults to the contents of $_POST.18 * @param array $post_data Array of post data. Defaults to the contents of $_POST. 19 19 * @return object|bool WP_Error on failure, true on success. 20 20 */ … … 354 354 * @since unknown 355 355 * 356 * @param stringA post type string, defaults to 'post'.356 * @param string $post_type A post type string, defaults to 'post'. 357 357 * @return object stdClass object containing all the default post data as attributes 358 358 */ -
trunk/wp-admin/includes/template.php
r15555 r15590 713 713 714 714 /** 715 * Print out <option> html elements for role selectors based on $wp_roles 716 * 717 * @package WordPress 718 * @subpackage Administration 715 * Print out <option> html elements for role selectors 716 * 719 717 * @since 2.1 720 718 * 721 * @uses $wp_roles 722 * @param string $default slug for the role that should be already selected 719 * @param string $selected slug for the role that should be already selected 723 720 */ 724 721 function wp_dropdown_roles( $selected = false ) { … … 730 727 foreach ( $editable_roles as $role => $details ) { 731 728 $name = translate_user_role($details['name'] ); 732 if ( $selected == $role ) // Make default first in list729 if ( $selected == $role ) // preselect specified role 733 730 $p = "\n\t<option selected='selected' value='" . esc_attr($role) . "'>$name</option>"; 734 731 else … … 1269 1266 * @param boolean $sanitize Whether to re-sanitize the setting value before returning errors. 1270 1267 * @param boolean $hide_on_update If set to true errors will not be shown if the settings page has already been submitted. 1271 * @return <type> 1272 */ 1273 function settings_errors ( $setting = '', $sanitize = FALSE, $hide_on_update = FALSE ) { 1268 */ 1269 function settings_errors( $setting = '', $sanitize = FALSE, $hide_on_update = FALSE ) { 1274 1270 1275 1271 if ($hide_on_update AND $_GET['updated']) return; … … 1494 1490 * 1495 1491 * @since 2.7.0 1496 * @param int $ id The post id. If not supplied the global $post is used.1497 * 1498 */ 1499 function _draft_or_post_title( $post_id = 0) {1492 * @param int $post_id The post id. If not supplied the global $post is used. 1493 * @return string The post title if set 1494 */ 1495 function _draft_or_post_title( $post_id = 0 ) { 1500 1496 $title = get_the_title($post_id); 1501 1497 if ( empty($title) ) -
trunk/wp-includes/bookmark.php
r14239 r15590 8 8 9 9 /** 10 * Retrieve Bookmark data based on ID10 * Retrieve Bookmark data 11 11 * 12 12 * @since 2.1.0 13 13 * @uses $wpdb Database Object 14 14 * 15 * @param int $bookmark_id15 * @param mixed $bookmark 16 16 * @param string $output Optional. Either OBJECT, ARRAY_N, or ARRAY_A constant 17 17 * @param string $filter Optional, default is 'raw'. -
trunk/wp-includes/cache.php
r15148 r15590 111 111 * @see WP_Object_Cache::replace() 112 112 * 113 * @param int|string $ idWhat to call the contents in the cache113 * @param int|string $key What to call the contents in the cache 114 114 * @param mixed $data The contents to store in the cache 115 115 * @param string $flag Where to group the cache contents … … 130 130 * @see WP_Object_Cache::set() 131 131 * 132 * @param int|string $ idWhat to call the contents in the cache132 * @param int|string $key What to call the contents in the cache 133 133 * @param mixed $data The contents to store in the cache 134 134 * @param string $flag Where to group the cache contents -
trunk/wp-includes/category-template.php
r15355 r15590 251 251 * @uses is_object_in_term() 252 252 * 253 * @param int|string|array $category .Category ID, name or slug, or array of said.254 * @param int| post object Optional. Post to check instead of the current post. @since 2.7.0253 * @param int|string|array $category Category ID, name or slug, or array of said. 254 * @param int|object $_post Optional. Post to check instead of the current post. (since 2.7.0) 255 255 * @return bool True if the current post is in any of the given categories. 256 256 */ … … 988 988 * 989 989 * @param string|int|array $tag Optional. The tag name/term_id/slug or array of them to check for. 990 * @param int| post object Optional. Post to check instead of the current post. @since 2.7.0990 * @param int|object $_post Optional. Post to check instead of the current post. (since 2.7.0) 991 991 * @return bool True if the current post has any of the the given tags (or any tag, if no tag specified). 992 992 */ -
trunk/wp-includes/classes.php
r15587 r15590 981 981 * @package WordPress 982 982 * @since 2.7 983 * @param $max_depth = 0 means display all levels; $max_depth > 0specifies the number of display levels.984 * @param $page_num the specific page number, beginning with 1.983 * @param int $max_depth = 0 means display all levels; $max_depth > 0 specifies the number of display levels. 984 * @param int $page_num the specific page number, beginning with 1. 985 985 * @return XHTML of the specified page of elements 986 986 */ -
trunk/wp-includes/comment-template.php
r15563 r15590 163 163 * @see get_comment_author_link() Echoes result 164 164 * 165 * @param int The ID of the comment for which to print the author's link. Optional.165 * @param int $comment_ID The ID of the comment for which to print the author's link. Optional. 166 166 */ 167 167 function comment_author_link( $comment_ID = 0 ) { -
trunk/wp-includes/comment.php
r15560 r15590 440 440 * 441 441 * @param int $comment_id Comment ID. 442 * @param string $ key Metadata name.443 * @param mixed $ value Metadata value.442 * @param string $meta_key Metadata name. 443 * @param mixed $meta_value Metadata value. 444 444 * @param bool $unique Optional, default is false. Whether the same key should not be added. 445 445 * @return bool False for failure. True for success. … … 499 499 * 500 500 * @param int $comment_id Comment ID. 501 * @param string $ key Metadata key.502 * @param mixed $ value Metadata value.501 * @param string $meta_key Metadata key. 502 * @param mixed $meta_value Metadata value. 503 503 * @param mixed $prev_value Optional. Previous value to check before removing. 504 504 * @return bool False on failure, true if success. … … 1859 1859 * @subpackage Cache 1860 1860 * 1861 * @param int|array $id Comment ID or array of comment IDs to remove from cache1861 * @param int|array $ids Comment ID or array of comment IDs to remove from cache 1862 1862 */ 1863 1863 function clean_comment_cache($ids) { -
trunk/wp-includes/deprecated.php
r15531 r15590 165 165 * 166 166 * @param string $format 167 * @param string $ previous167 * @param string $next 168 168 * @param string $title 169 169 * @param string $in_same_cat 170 * @param int $limit prev170 * @param int $limitnext 171 171 * @param string $excluded_categories 172 172 */ … … 873 873 * @see the_permalink_rss() 874 874 * 875 * @param string $ file875 * @param string $deprecated 876 876 */ 877 877 function permalink_single_rss($deprecated = '') { -
trunk/wp-includes/formatting.php
r15554 r15590 1475 1475 * 1476 1476 * @param string $email Email address to verify. 1477 * @param boolean $deprecated .Deprecated.1477 * @param boolean $deprecated Deprecated. 1478 1478 * @return string|bool Either false or the valid email address. 1479 1479 */ -
trunk/wp-includes/functions.php
r15581 r15590 4178 4178 * 4179 4179 * @param string $file Path to the file 4180 * @param bool $markup If the returned data should have HTML markup applied4180 * @param array $default_headers Default metadata headers 4181 4181 * @param string $context If specified adds filter hook "extra_<$context>_headers" 4182 4182 */ -
trunk/wp-includes/functions.wp-scripts.php
r12558 r15590 43 43 * @param array $deps (optional) Array of script names on which this script depends 44 44 * @param string|bool $ver (optional) Script version (used for cache busting), set to NULL to disable 45 * @param bool (optional) Wether to enqueue the script before </head> or before </body>45 * @param bool $in_footer (optional) Whether to enqueue the script before </head> or before </body> 46 46 * @return null 47 47 */ -
trunk/wp-includes/general-template.php
r15585 r15590 2038 2038 * @param string $name The name of the theme. 2039 2039 * @param string $url The url of the css file containing the colour scheme. 2040 * @param array @colors Optional An array of CSS color definitions which are used to give the user a feel for the theme.2040 * @param array $colors Optional An array of CSS color definitions which are used to give the user a feel for the theme. 2041 2041 */ 2042 2042 function wp_admin_css_color($key, $name, $url, $colors = array()) { … … 2247 2247 * @since 1.0 2248 2248 * 2249 * @param mixed selected One of the values to compare2249 * @param mixed $selected One of the values to compare 2250 2250 * @param mixed $current (true) The other value to compare if not just true 2251 2251 * @param bool $echo Whether to echo or just return the string -
trunk/wp-includes/l10n.php
r15138 r15590 271 271 * 272 272 * @since 2.5 273 * @param $single Single form to be i18ned274 * @param $plural Plural form to be i18ned273 * @param string $single Single form to be i18ned 274 * @param string $plural Plural form to be i18ned 275 275 * @return array array($single, $plural) 276 276 */ -
trunk/wp-includes/link-template.php
r15582 r15590 28 28 * @uses $wp_rewrite 29 29 * 30 * @param $string String aURL with or without a trailing slash.31 * @param $type_of_url String the type of URL being considered (e.g. single, category, etc) for use in the filter.30 * @param string $string URL with or without a trailing slash. 31 * @param string $type_of_url The type of URL being considered (e.g. single, category, etc) for use in the filter. 32 32 * @return string 33 33 */ … … 1155 1155 * @param bool $in_same_cat Optional. Whether returned post should be in same category. 1156 1156 * @param string $excluded_categories Optional. Excluded categories IDs. 1157 * @param bool $ previous Optional. Whether to retrieve first post.1157 * @param bool $start Optional. Whether to retrieve first or last post. 1158 1158 * @return object 1159 1159 */ … … 1201 1201 * @param bool $in_same_cat Optional. Whether link should be in same category. 1202 1202 * @param string $excluded_categories Optional. Excluded categories IDs. 1203 * @param bool $start Optional, default is true. Whether display link to first post.1203 * @param bool $start Optional, default is true. Whether display link to first or last post. 1204 1204 * @return string 1205 1205 */ … … 2187 2187 * 2188 2188 * @param int $id A post or blog id. Default is 0, which means the current post or blog. 2189 * @param string $contex Whether the id is a 'blog' id, 'post' id, or 'media' id. If 'post', the post_type of the post is consulted.If 'query', the current query is consulted to determine the id and context. Default is 'post'.2189 * @param string $context Whether the id is a 'blog' id, 'post' id, or 'media' id. If 'post', the post_type of the post is consulted. If 'query', the current query is consulted to determine the id and context. Default is 'post'. 2190 2190 * @param bool $allow_slugs Whether to allow post slugs in the shortlink. It is up to the plugin how and whether to honor this. 2191 2191 * @return string A shortlink or an empty string if no shortlink exists for the requested resource or if shortlinks are not enabled. -
trunk/wp-includes/media.php
r15473 r15590 961 961 * @since 2.9.0 962 962 * 963 * @param $mime_type string963 * @param string $mime_type 964 964 * @return bool 965 965 */ … … 992 992 * @since 2.9.0 993 993 * 994 * @param $width995 * @param $height994 * @param int $width Image width 995 * @param int $height Image height 996 996 * @return image resource 997 997 */ -
trunk/wp-includes/meta.php
r15389 r15590 329 329 * @uses $wpdb WordPress database object for queries. 330 330 * 331 * @param string $ meta_type Type of object to get metadata table for (e.g., comment, post, or user)331 * @param string $type Type of object to get metadata table for (e.g., comment, post, or user) 332 332 * @return mixed Metadata table name, or false if no metadata table exists 333 333 */ -
trunk/wp-includes/nav-menu.php
r15467 r15590 404 404 * @since 3.0.0 405 405 * 406 * @param $args arrayArray of arguments passed on to get_terms().406 * @param array $args Array of arguments passed on to get_terms(). 407 407 * @return array menu objects 408 408 */ -
trunk/wp-includes/plugin.php
r14924 r15590 728 728 * @param callback $function Used for creating unique id 729 729 * @param int|bool $priority Used in counting how many hooks were applied. If === false and $function is an object reference, we return the unique id only if it already has one, false otherwise. 730 * @param string $type filter or action731 730 * @return string|bool Unique ID for usage as array key or false if $priority === false and $function is an object reference, and it does not already have a uniqe id. 732 731 */ -
trunk/wp-includes/pomo/streams.php
r13316 r15590 23 23 * Sets the endianness of the file. 24 24 * 25 * @param $endian string'big' or 'little'25 * @param string $endian 'big' or 'little' 26 26 */ 27 27 function setEndian($endian) { -
trunk/wp-includes/post.php
r15589 r15590 626 626 * @see get_post_statuses 627 627 * 628 * @param string $post_ typeThe name of a registered post status628 * @param string $post_status The name of a registered post status 629 629 * @return object A post status object 630 630 */ … … 670 670 * @see get_post_type_object 671 671 * 672 * @param string $post Post type name672 * @param string $post_type Post type name 673 673 * @return bool Whether post type is hierarchical. 674 674 */ … … 687 687 * @uses get_post_type_object() 688 688 * 689 * @param string Post type name689 * @param string $post_type Post type name 690 690 * @return bool Whether post type is registered. 691 691 */ … … 1145 1145 * 1146 1146 * @param int $post_id Post ID. 1147 * @param string $ key Metadata name.1148 * @param mixed $ value Metadata value.1147 * @param string $meta_key Metadata name. 1148 * @param mixed $meta_value Metadata value. 1149 1149 * @param bool $unique Optional, default is false. Whether the same key should not be added. 1150 1150 * @return bool False for failure. True for success. … … 1212 1212 * 1213 1213 * @param int $post_id Post ID. 1214 * @param string $ key Metadata key.1215 * @param mixed $ value Metadata value.1214 * @param string $meta_key Metadata key. 1215 * @param mixed $meta_value Metadata value. 1216 1216 * @param mixed $prev_value Optional. Previous value to check before removing. 1217 1217 * @return bool False on failure, true if success. … … 1651 1651 * @since 2.5.0 1652 1652 * 1653 * @param string|array $ mime_types List of mime types or comma separated string of mime types.1653 * @param string|array $post_mime_types List of mime types or comma separated string of mime types. 1654 1654 * @param string $table_alias Optional. Specify a table alias, if needed. 1655 1655 * @return string The SQL AND clause for mime searching. … … 1810 1810 * @uses wp_delete_post() if trash is disabled 1811 1811 * 1812 * @param int $post id Post ID.1812 * @param int $post_id Post ID. 1813 1813 * @return mixed False on failure 1814 1814 */ … … 1845 1845 * @uses do_action() on 'untrashed_post' after undeletion 1846 1846 * 1847 * @param int $post id Post ID.1847 * @param int $post_id Post ID. 1848 1848 * @return mixed False on failure 1849 1849 */ … … 2965 2965 * @since 2.0.0 2966 2966 * 2967 * @param array $p osts Posts array.2968 * @param int $pa rentParent page ID.2967 * @param array $pages Posts array. 2968 * @param int $page_id Parent page ID. 2969 2969 * @return array A list arranged by hierarchy. Children immediately follow their parents. 2970 2970 */ 2971 2971 function &get_page_hierarchy( &$pages, $page_id = 0 ) { 2972 2973 2972 if ( empty( $pages ) ) { 2974 2973 $result = array(); … … 2978 2977 $children = array(); 2979 2978 foreach ( (array) $pages as $p ) { 2980 2981 2979 $parent_id = intval( $p->post_parent ); 2982 2980 $children[ $parent_id ][] = $p; 2983 2984 2985 2986 2981 } 2982 2983 $result = array(); 2984 _page_traverse_name( $page_id, $children, $result ); 2987 2985 2988 2986 return $result; … … 2995 2993 */ 2996 2994 function _page_traverse_name( $page_id, &$children, &$result ){ 2997 2998 2995 if ( isset( $children[ $page_id ] ) ){ 2999 3000 2996 foreach( (array)$children[ $page_id ] as $child ) { 3001 3002 2997 $result[ $child->ID ] = $child->post_name; 3003 2998 _page_traverse_name( $child->ID, $children, $result ); … … 3278 3273 * @param string|array $object Arguments to override defaults. 3279 3274 * @param string $file Optional filename. 3280 * @param int $p ost_parent Parent post ID.3275 * @param int $parent Parent post ID. 3281 3276 * @return int Attachment ID. 3282 3277 */ … … 3428 3423 * @uses do_action() Calls 'delete_attachment' hook on Attachment ID. 3429 3424 * 3430 * @param int $post id Attachment ID.3425 * @param int $post_id Attachment ID. 3431 3426 * @param bool $force_delete Whether to bypass trash and force deletion. Defaults to false. 3432 3427 * @return mixed False on failure. Post data on success. … … 4646 4641 * 4647 4642 * @param int|object $revision_id Revision ID or revision object. 4648 * @param array $fields Optional. What fields to restore from. Defaults to all. 4649 * @return mixed Null if error, false if no fields to restore, (int) post ID if success. 4643 * @return mixed Null or WP_Error if error, deleted post if success. 4650 4644 */ 4651 4645 function wp_delete_post_revision( $revision_id ) { -
trunk/wp-includes/query.php
r15589 r15590 202 202 * 203 203 * @param mixed $taxonomy Optional. Taxonomy slug or slugs. 204 * @param mixed $term .Optional. Term ID, name, slug or array of Term IDs, names, and slugs.204 * @param mixed $term Optional. Term ID, name, slug or array of Term IDs, names, and slugs. 205 205 * @return bool 206 206 */ -
trunk/wp-includes/rewrite.php
r15582 r15590 1951 1951 * @since 2.0.1 1952 1952 * @access public 1953 * @param $hard boolWhether to update .htaccess (hard flush) or just update rewrite_rules option (soft flush). Default is true (hard).1953 * @param bool $hard Whether to update .htaccess (hard flush) or just update rewrite_rules option (soft flush). Default is true (hard). 1954 1954 */ 1955 1955 function flush_rules($hard = true) { -
trunk/wp-includes/taxonomy.php
r15586 r15590 641 641 * @uses get_term_children() Used to get the children of both $taxonomy and the parent $term 642 642 * 643 * @param string $term ID of Term to get children643 * @param string $term_id ID of Term to get children 644 644 * @param string $taxonomy Taxonomy Name 645 645 * @return array|WP_Error List of Term Objects. WP_Error returned if $taxonomy does not exist … … 816 816 * @uses wp_parse_args() Merges the defaults with those defined by $args and allows for strings. 817 817 * 818 * @param string|array Taxonomy name or list of Taxonomy names818 * @param string|array $taxonomies Taxonomy name or list of Taxonomy names 819 819 * @param string|array $args The values of what to search for when returning terms 820 820 * @return array|WP_Error List of Term Objects and their children. Will return WP_Error, if any of $taxonomies do not exist. … … 1307 1307 * 1308 1308 * @param int $object_id The term Object Id that refers to the term 1309 * @param string|array $taxonom yList of Taxonomy Names or single Taxonomy name.1309 * @param string|array $taxonomies List of Taxonomy Names or single Taxonomy name. 1310 1310 */ 1311 1311 function wp_delete_object_term_relationships( $object_id, $taxonomies ) { … … 1445 1445 * @uses $wpdb 1446 1446 * 1447 * @param int|array $object_id The idof the object(s) to retrieve.1447 * @param int|array $object_ids The ID(s) of the object(s) to retrieve. 1448 1448 * @param string|array $taxonomies The taxonomies to retrieve terms from. 1449 1449 * @param array|string $args Change what is returned … … 1715 1715 * 1716 1716 * @param int $object_id The object to relate to. 1717 * @param array|int|string $term The slug or id of the term, will replace all existing1717 * @param array|int|string $terms The slug or id of the term, will replace all existing 1718 1718 * related terms in this taxonomy. 1719 1719 * @param array|string $taxonomy The context in which to relate the term to the object. … … 2634 2634 * @uses wp_get_object_terms() 2635 2635 * 2636 * @param int $object_id .ID of the object (post ID, link ID, ...)2637 * @param string $taxonomy .Single taxonomy name2636 * @param int $object_id ID of the object (post ID, link ID, ...) 2637 * @param string $taxonomy Single taxonomy name 2638 2638 * @param int|string|array $terms Optional. Term term_id, name, slug or array of said 2639 2639 * @return bool|WP_Error. WP_Error on input error. … … 2680 2680 * 2681 2681 * @param string $object_type Object type string 2682 * @param string $taxonomy .Single taxonomy name2682 * @param string $taxonomy Single taxonomy name 2683 2683 * @return bool True if object is associated with the taxonomy, otherwise false. 2684 2684 */ -
trunk/wp-includes/theme.php
r15435 r15590 646 646 * 647 647 * @since 1.5.0 648 * @param $stylesheet_or_template The stylesheet or template name of the theme649 648 * @uses apply_filters() Calls 'theme_root' filter on path. 650 649 * 650 * @param string $stylesheet_or_template The stylesheet or template name of the theme 651 651 * @return string Theme path. 652 652 */ … … 672 672 * 673 673 * @since 1.5.0 674 * @param $stylesheet_or_template The stylesheet or template name of the theme675 * 674 * 675 * @param string $stylesheet_or_template The stylesheet or template name of the theme 676 676 * @return string Themes URI. 677 677 */ … … 1433 1433 * @since 3.0.0 1434 1434 * 1435 * @param string|array The header string id (key of array) to remove, or an array thereof.1435 * @param string|array $header The header string id (key of array) to remove, or an array thereof. 1436 1436 * @return True on success, false on failure. 1437 1437 */ -
trunk/wp-includes/user.php
r15580 r15590 163 163 * 164 164 * @since 3.0.0 165 * @param array $user idUser ID number list.165 * @param array $users User ID number list. 166 166 * @return array Amount of posts each user has written. 167 167 */ … … 585 585 * 586 586 * @param int $user_id Post ID. 587 * @param string $ key Metadata name.588 * @param mixed $ value Metadata value.587 * @param string $meta_key Metadata name. 588 * @param mixed $meta_value Metadata value. 589 589 * @param bool $unique Optional, default is false. Whether the same key should not be added. 590 590 * @return bool False for failure. True for success. … … 644 644 * 645 645 * @param int $user_id Post ID. 646 * @param string $ key Metadata key.647 * @param mixed $ value Metadata value.646 * @param string $meta_key Metadata key. 647 * @param mixed $meta_value Metadata value. 648 648 * @param mixed $prev_value Optional. Previous value to check before removing. 649 649 * @return bool False on failure, true if success. -
trunk/wp-includes/widgets.php
r14404 r15590 597 597 * @param string $name Widget display title. 598 598 * @param callback $output_callback Run when widget is called. 599 * @param array|string Optional. $optionsWidget Options.599 * @param array|string $options Optional. Widget Options. 600 600 * @param mixed $params,... Widget parameters to add to widget. 601 601 * @return null Will return if $output_callback is empty after removing widget. … … 912 912 * @since 2.2.0 913 913 * 914 * @param callback Optional, Widget callback to check.914 * @param string $callback Optional, Widget callback to check. 915 915 * @param int $widget_id Optional, but needed for checking. Widget ID. 916 916 * @param string $id_base Optional, the base ID of a widget created by extending WP_Widget. … … 966 966 * @since 2.8 967 967 * 968 * @param mixed $index , sidebar name, id or number to check.968 * @param mixed $index Sidebar name, id or number to check. 969 969 * @return bool true if the sidebar is in use, false otherwise. 970 970 */ … … 989 989 * @access private 990 990 * 991 * @param bool $deprecated . Not used.991 * @param bool $deprecated Not used (deprecated). 992 992 * @return array Upgraded list of widgets to version 3 array format when called from the admin. 993 993 */
Note: See TracChangeset
for help on using the changeset viewer.