Ticket #7550: 7550.corrections.2.diff
File 7550.corrections.2.diff, 23.0 KB (added by , 16 years ago) |
---|
-
author-template.php
381 381 * link to the author's posts. 382 382 * 383 383 * @link http://codex.wordpress.org/Template_Tags/the_author_posts_link 384 * @since 1.2 384 * @since 1.2.0 385 385 * @uses $authordata The current author's DB object. 386 386 * @uses get_author_posts_url() 387 387 * @uses get_the_author() … … 400 400 /** 401 401 * Retrieve the URL to the author page of the author of the current post. 402 402 * 403 * @since 2.1 403 * @since 2.1.0 404 404 * @uses $wp_rewrite WP_Rewrite 405 405 * @return string The URL to the author's page. 406 406 */ … … 453 453 * echo (boolean) (true): Set to false to return the output, instead of echoing. 454 454 * 455 455 * @link http://codex.wordpress.org/Template_Tags/wp_list_authors 456 * @since 1.2 456 * @since 1.2.0 457 457 * @param array $args The argument array. 458 458 * @return null|string The output, if echo is set to false. 459 459 */ -
bookmark-template.php
7 7 */ 8 8 9 9 /** 10 * The formatted output of a list of bookmarks 10 * The formatted output of a list of bookmarks. 11 11 * 12 12 * The $bookmarks array must contain bookmark objects and will be iterated over 13 13 * to retrieve the bookmark to be used in the output. … … 34 34 * description, and image. 35 35 * 'show_rating' - Default is 0 (integer). Whether to show the link rating. 36 36 * 37 * @since 2.1 37 * @since 2.1.0 38 38 * @access private 39 39 * @usedby wp_list_bookmarks() 40 40 * … … 120 120 } 121 121 122 122 /** 123 * Retrieve or echo all of the bookmarks 123 * Retrieve or echo all of the bookmarks. 124 124 * 125 125 * List of default arguments are as follows: 126 126 * 'orderby' - Default is 'name' (string). How to order the links by. String is … … 174 174 * passed to get_bookmarks(). 175 175 * @link http://codex.wordpress.org/Template_Tags/wp_list_bookmarks 176 176 * 177 * @since 2.1 177 * @since 2.1.0 178 178 * @uses _list_bookmarks() Used to iterate over all of the bookmarks and return 179 179 * the html 180 180 * @uses get_terms() Gets all of the categories that are for links. … … 239 239 echo $output; 240 240 } 241 241 242 ?> 243 No newline at end of file 242 ?> -
bookmark.php
9 9 /** 10 10 * Retrieve Bookmark data based on ID 11 11 * 12 * @since 2.1 12 * @since 2.1.0 13 13 * @uses $wpdb Database Object 14 14 * 15 15 * @param int $bookmark_id … … 39 39 /** 40 40 * Retrieve single bookmark data item or field. 41 41 * 42 * @since 2.3 42 * @since 2.3.0 43 43 * @uses get_bookmark() Gets bookmark object using $bookmark as ID 44 44 * @uses sanitize_bookmark_field() Sanitizes Bookmark field based on $context. 45 45 * … … 67 67 /** 68 68 * Retrieve bookmark data based on ID. 69 69 * 70 * @since 2.0 70 * @since 2.0.0 71 71 * @deprecated Use get_bookmark() 72 72 * @see get_bookmark() 73 73 * … … 106 106 * 'exclude' - Default is empty string (string). Exclude other categories 107 107 * separated by commas. 108 108 * 109 * @since 2.1 109 * @since 2.1.0 110 110 * @uses $wpdb Database Object 111 111 * @link http://codex.wordpress.org/Template_Tags/get_bookmarks 112 112 * … … 238 238 /** 239 239 * Sanitizes all bookmark fields 240 240 * 241 * @since 2.3 241 * @since 2.3.0 242 242 * 243 243 * @param object|array $bookmark Bookmark row 244 244 * @param string $context Optional, default is 'display'. How to filter the … … 279 279 * $field has the filter name and is passed the $value, $bookmark_id, and 280 280 * $context respectively. 281 281 * 282 * @since 2.3 282 * @since 2.3.0 283 283 * 284 284 * @param string $field The bookmark field 285 285 * @param mixed $value The bookmark field value … … 333 333 /** 334 334 * Deletes entire bookmark cache 335 335 * 336 * @since 2.1 336 * @since 2.1.0 337 337 * @uses wp_cache_delete() Deletes the contents of 'get_bookmarks' 338 338 */ 339 339 function delete_get_bookmark_cache() { -
cache.php
11 11 /** 12 12 * Adds data to the cache, if the cache key doesn't aleady exist. 13 13 * 14 * @since 2.0 14 * @since 2.0.0 15 15 * @uses $wp_object_cache Object Cache Class 16 16 * @see WP_Object_Cache::add() 17 17 * … … 35 35 * does not mean that plugins can't implement this function when they need to 36 36 * make sure that the cache is cleaned up after WordPress no longer needs it. 37 37 * 38 * @since 2.0 38 * @since 2.0.0 39 39 * 40 40 * @return bool Always returns True 41 41 */ … … 46 46 /** 47 47 * Removes the cache contents matching ID and flag. 48 48 * 49 * @since 2.0 49 * @since 2.0.0 50 50 * @uses $wp_object_cache Object Cache Class 51 51 * @see WP_Object_Cache::delete() 52 52 * … … 63 63 /** 64 64 * Removes all cache items. 65 65 * 66 * @since 2.0 66 * @since 2.0.0 67 67 * @uses $wp_object_cache Object Cache Class 68 68 * @see WP_Object_Cache::flush() 69 69 * … … 78 78 /** 79 79 * Retrieves the cache contents from the cache by ID and flag. 80 80 * 81 * @since 2.0 81 * @since 2.0.0 82 82 * @uses $wp_object_cache Object Cache Class 83 83 * @see WP_Object_Cache::get() 84 84 * … … 96 96 /** 97 97 * Sets up Object Cache Global and assigns it. 98 98 * 99 * @since 2.0 99 * @since 2.0.0 100 100 * @global WP_Object_Cache $wp_object_cache WordPress Object Cache 101 101 */ 102 102 function wp_cache_init() { … … 106 106 /** 107 107 * Replaces the contents of the cache with new data. 108 108 * 109 * @since 2.0 109 * @since 2.0.0 110 110 * @uses $wp_object_cache Object Cache Class 111 111 * @see WP_Object_Cache::replace() 112 112 * … … 144 144 /** 145 145 * Adds a group or set of groups to the list of global groups. 146 146 * 147 * @since 2.6 147 * @since 2.6.0 148 148 * 149 149 * @param string|array $groups A group or an array of groups to add 150 150 */ … … 156 156 /** 157 157 * Adds a group or set of groups to the list of non-persistent groups. 158 158 * 159 * @since 2.6 159 * @since 2.6.0 160 160 * 161 161 * @param string|array $groups A group or an array of groups to add 162 162 */ … … 188 188 * 189 189 * @var array 190 190 * @access private 191 * @since 2.0 191 * @since 2.0.0 192 192 */ 193 193 var $cache = array (); 194 194 … … 197 197 * 198 198 * @var array 199 199 * @access private 200 * @since 2.0 200 * @since 2.0.0 201 201 */ 202 202 var $non_existant_objects = array (); 203 203 204 204 /** 205 205 * The amount of times the cache data was already stored in the cache. 206 206 * 207 * @since 2.5 207 * @since 2.5.0 208 208 * @access private 209 209 * @var int 210 210 */ … … 215 215 * 216 216 * @var int 217 217 * @access public 218 * @since 2.0 218 * @since 2.0.0 219 219 */ 220 220 var $cache_misses = 0; 221 221 … … 226 226 * @uses WP_Object_Cache::set Sets the data after the checking the cache 227 227 * contents existance. 228 228 * 229 * @since 2.0 229 * @since 2.0.0 230 230 * 231 231 * @param int|string $id What to call the contents in the cache 232 232 * @param mixed $data The contents to store in the cache … … 254 254 * On success the group and the id will be added to the 255 255 * $non_existant_objects property in the class. 256 256 * 257 * @since 2.0 257 * @since 2.0.0 258 258 * 259 259 * @param int|string $id What the contents in the cache are called 260 260 * @param string $group Where the cache contents are grouped … … 277 277 /** 278 278 * Clears the object cache of all data 279 279 * 280 * @since 2.0 280 * @since 2.0.0 281 281 * 282 282 * @return bool Always returns true 283 283 */ … … 300 300 * misses will be incremented and the cache group and ID will be added to 301 301 * the nonexistant objects. 302 302 * 303 * @since 2.0 303 * @since 2.0.0 304 304 * 305 305 * @param int|string $id What the contents in the cache are called 306 306 * @param string $group Where the cache contents are grouped … … 327 327 /** 328 328 * Replace the contents in the cache, if contents already exist 329 329 * 330 * @since 2.0 330 * @since 2.0.0 331 331 * @see WP_Object_Cache::set() 332 332 * 333 333 * @param int|string $id What to call the contents in the cache … … 358 358 * expire for each time a page is accessed and PHP finishes. The method is 359 359 * more for cache plugins which use files. 360 360 * 361 * @since 2.0 361 * @since 2.0.0 362 362 * 363 363 * @param int|string $id What to call the contents in the cache 364 364 * @param mixed $data The contents to store in the cache … … 387 387 * Gives the cache hits, and cache misses. Also prints every cached group, 388 388 * key and the data. 389 389 * 390 * @since 2.0 390 * @since 2.0.0 391 391 */ 392 392 function stats() { 393 393 echo "<p>"; … … 408 408 /** 409 409 * PHP4 constructor; Calls PHP 5 style constructor 410 410 * 411 * @since 2.0 411 * @since 2.0.0 412 412 * 413 413 * @return WP_Object_Cache 414 414 */ -
canonical.php
8 8 * @author Scott Yang 9 9 * @author Mark Jaquith 10 10 * @package WordPress 11 * @since 2.3 11 * @since 2.3.0 12 12 */ 13 13 14 14 /** 15 * Redirects incoming links to the proper URL based on the site url 15 * Redirects incoming links to the proper URL based on the site url. 16 16 * 17 17 * Search engines consider www.somedomain.com and somedomain.com to be two 18 18 * different URLs when they both go to the same location. This SEO enhancement … … 26 26 * not exist based on exact WordPress query. Will instead try to parse the URL 27 27 * or query in an attempt to figure the correct page to go to. 28 28 * 29 * @since 2.3 29 * @since 2.3.0 30 30 * @uses $wp_rewrite 31 31 * @uses $is_IIS 32 32 * … … 241 241 } 242 242 243 243 /** 244 * Attempts to guess correct post based on query vars 244 * Attempts to guess correct post based on query vars. 245 245 * 246 * @since 2.3 246 * @since 2.3.0 247 247 * @uses $wpdb 248 248 * 249 249 * @return bool|string Returns False, if it can't find post, returns correct -
category.php
65 65 * 66 66 * The category will converted to maintain backwards compatibility. 67 67 * 68 * @since 2.1.068 * @since 1.5.1 69 69 * @uses get_term() Used to get the category data from the taxonomy. 70 70 * 71 71 * @param int|object $category Category ID or Category row object -
deprecated.php
1 1 <?php 2 2 /** 3 * Deprecated functions from past WordPress versions 3 * Deprecated functions from past WordPress versions. You shouldn't use these 4 * globals and functions and look for the alternatives instead. The functions 5 * and globals will be removed in a later version. 6 * 4 7 * @package WordPress 5 8 * @subpackage Deprecated 6 9 */ … … 76 79 */ 77 80 78 81 /** 79 * get_postdata() - Entire Post data82 * Entire Post data. 80 83 * 81 84 * @since 0.71 82 85 * @deprecated Use get_post() … … 112 115 } 113 116 114 117 /** 115 * start_wp() - Sets up the WordPress Loop118 * Sets up the WordPress Loop. 116 119 * 117 120 * @since 1.0.1 118 121 * @deprecated Since 1.5 - {@link http://codex.wordpress.org/The_Loop Use new WordPress Loop} … … 129 132 } 130 133 131 134 /** 132 * the_category_ID() - Return or Print Category ID135 * Return or Print Category ID. 133 136 * 134 137 * @since 0.71 135 138 * @deprecated use get_the_category() … … 152 155 } 153 156 154 157 /** 155 * the_category_head() - Print category with optional text before and after158 * Print category with optional text before and after. 156 159 * 157 160 * @since 0.71 158 161 * @deprecated use get_the_category_by_ID() … … 178 181 } 179 182 180 183 /** 181 * previous_post() - Prints link to the previous post184 * Prints link to the previous post. 182 185 * 183 186 * @since 1.5 184 187 * @deprecated Use previous_post_link() … … 214 217 } 215 218 216 219 /** 217 * next_post() - Prints link to the next post220 * Prints link to the next post. 218 221 * 219 222 * @since 0.71 220 223 * @deprecated Use next_post_link() … … 249 252 } 250 253 251 254 /** 252 * user_can_create_post() - Whether user can create a post255 * Whether user can create a post. 253 256 * 254 257 * @since 1.5 255 258 * @deprecated Use current_user_can() … … 268 271 } 269 272 270 273 /** 271 * user_can_create_draft() - Whether user can create a post274 * Whether user can create a post. 272 275 * 273 276 * @since 1.5 274 277 * @deprecated Use current_user_can() … … 287 290 } 288 291 289 292 /** 290 * user_can_edit_post() - Whether user can edit a post293 * Whether user can edit a post. 291 294 * 292 295 * @since 1.5 293 296 * @deprecated Use current_user_can() … … 315 318 } 316 319 317 320 /** 318 * user_can_delete_post() - Whether user can delete a post321 * Whether user can delete a post. 319 322 * 320 323 * @since 1.5 321 324 * @deprecated Use current_user_can() … … 334 337 } 335 338 336 339 /** 337 * user_can_set_post_date() - Whether user can set new posts' dates340 * Whether user can set new posts' dates. 338 341 * 339 342 * @since 1.5 340 343 * @deprecated Use current_user_can() … … 352 355 return (($author_data->user_level > 4) && user_can_create_post($user_id, $blog_id, $category_id)); 353 356 } 354 357 355 /* returns true if $user_id can edit $post_id's date */356 358 /** 357 * user_can_edit_post_date() - Whether user can delete a post359 * Whether user can delete a post. 358 360 * 359 361 * @since 1.5 360 362 * @deprecated Use current_user_can() … … 363 365 * @param int $user_id 364 366 * @param int $post_id 365 367 * @param int $blog_id Not Used 366 * @return bool 368 * @return bool returns true if $user_id can edit $post_id's date 367 369 */ 368 370 function user_can_edit_post_date($user_id, $post_id, $blog_id = 1) { 369 371 _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()'); … … 372 374 return (($author_data->user_level > 4) && user_can_edit_post($user_id, $post_id, $blog_id)); 373 375 } 374 376 375 /* returns true if $user_id can edit $post_id's comments */376 377 /** 377 * user_can_edit_post_comments() - Whether user can delete a post378 * Whether user can delete a post. 378 379 * 379 380 * @since 1.5 380 381 * @deprecated Use current_user_can() … … 383 384 * @param int $user_id 384 385 * @param int $post_id 385 386 * @param int $blog_id Not Used 386 * @return bool 387 * @return bool returns true if $user_id can edit $post_id's comments 387 388 */ 388 389 function user_can_edit_post_comments($user_id, $post_id, $blog_id = 1) { 389 390 _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()'); … … 392 393 return user_can_edit_post($user_id, $post_id, $blog_id); 393 394 } 394 395 395 /* returns true if $user_id can delete $post_id's comments */396 396 /** 397 * user_can_delete_post_comments() - Whether user can delete a post397 * Whether user can delete a post. 398 398 * 399 399 * @since 1.5 400 400 * @deprecated Use current_user_can() … … 403 403 * @param int $user_id 404 404 * @param int $post_id 405 405 * @param int $blog_id Not Used 406 * @return bool 406 * @return bool returns true if $user_id can delete $post_id's comments 407 407 */ 408 408 function user_can_delete_post_comments($user_id, $post_id, $blog_id = 1) { 409 409 _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()'); … … 413 413 } 414 414 415 415 /** 416 * user_can_edit_user() - Can user can edit other user416 * Can user can edit other user. 417 417 * 418 418 * @since 1.5 419 419 * @deprecated Use current_user_can() … … 435 435 } 436 436 437 437 /** 438 * get_linksbyname() -Gets the links associated with category $cat_name.438 * Gets the links associated with category $cat_name. 439 439 * 440 440 * @since 0.71 441 441 * @deprecated Use get_links() 442 442 * @see get_links() 443 443 * 444 * @param string $cat_nameOptional. The category name to use. If no match is found uses all.445 * @param string $beforeOptional. The html to output before the link.446 * @param string $afterOptional. The html to output after the link.447 * @param string $betweenOptional. The html to output between the link/image and it's description. Not used if no image or $show_images is true.448 * @param bool 449 * @param string $orderbyOptional. The order to output the links. E.g. 'id', 'name', 'url', 'description' or 'rating'. Or maybe owner.444 * @param string $cat_name Optional. The category name to use. If no match is found uses all. 445 * @param string $before Optional. The html to output before the link. 446 * @param string $after Optional. The html to output after the link. 447 * @param string $between Optional. The html to output between the link/image and it's description. Not used if no image or $show_images is true. 448 * @param bool $show_images Optional. Whether to show images (if defined). 449 * @param string $orderby Optional. The order to output the links. E.g. 'id', 'name', 'url', 'description' or 'rating'. Or maybe owner. 450 450 * If you start the name with an underscore the order will be reversed. You can also specify 'rand' as the order which will return links in a 451 451 * random order. 452 * @param bool 453 * @param bool 454 * @param int 455 * @param int 452 * @param bool $show_description Optional. Whether to show the description if show_images=false/not defined. 453 * @param bool $show_rating Optional. Show rating stars/chars. 454 * @param int $limit Optional. Limit to X entries. If not specified, all entries are shown. 455 * @param int $show_updated Optional. Whether to show last updated timestamp 456 456 */ 457 457 function get_linksbyname($cat_name = "noname", $before = '', $after = '<br />', $between = " ", $show_images = true, $orderby = 'id', 458 458 $show_description = true, $show_rating = false, … … 468 468 } 469 469 470 470 /** 471 * wp_get_linksbyname() -Gets the links associated with the named category.471 * Gets the links associated with the named category. 472 472 * 473 473 * @since 1.0.1 474 474 * @deprecated Use wp_get_links() … … 491 491 } 492 492 493 493 /** 494 * get_linkobjectsbyname() -Gets an array of link objects associated with category $cat_name.494 * Gets an array of link objects associated with category $cat_name. 495 495 * 496 496 * <code> 497 497 * $links = get_linkobjectsbyname('fred'); … … 523 523 } 524 524 525 525 /** 526 * get_linkobjects() -Gets an array of link objects associated with category n.526 * Gets an array of link objects associated with category n. 527 527 * 528 528 * Usage: 529 529 * <code> … … 577 577 } 578 578 579 579 /** 580 * get_linksbyname_withrating() -Gets the links associated with category 'cat_name' and display rating stars/chars.580 * Gets the links associated with category 'cat_name' and display rating stars/chars. 581 581 * 582 582 * @since 0.71 583 583 * @deprecated Use get_bookmarks() … … 604 604 } 605 605 606 606 /** 607 * get_links_withrating() -Gets the links associated with category n and display rating stars/chars.607 * Gets the links associated with category n and display rating stars/chars. 608 608 * 609 609 * @since 0.71 610 610 * @deprecated Use get_bookmarks() … … 631 631 } 632 632 633 633 /** 634 * get_autotoggle() - Gets the auto_toggle setting634 * Gets the auto_toggle setting. 635 635 * 636 636 * @since 0.71 637 637 * @deprecated No alternative function available … … 793 793 } 794 794 795 795 /** 796 * wp_set_post_cats() -Sets the categories that the post id belongs to.796 * Sets the categories that the post id belongs to. 797 797 * 798 798 * @since 1.0.1 799 799 * @deprecated Use wp_set_post_categories() … … 829 829 } 830 830 831 831 /** 832 * get_author_link() - Returns or Prints link to the author's posts832 * Returns or Prints link to the author's posts. 833 833 * 834 834 * @since 1.2 835 835 * @deprecated Use get_author_posts_url() … … 851 851 } 852 852 853 853 /** 854 * link_pages() - Print list of pages based on arguments854 * Print list of pages based on arguments. 855 855 * 856 856 * @since 0.71 857 857 * @deprecated Use wp_link_pages() … … 875 875 } 876 876 877 877 /** 878 * get_settings() - Get value based on option878 * Get value based on option. 879 879 * 880 880 * @since 0.71 881 881 * @deprecated Use get_option() … … 891 891 } 892 892 893 893 /** 894 * permalink_link() - Print the permalink of the current post in the loop894 * Print the permalink of the current post in the loop. 895 895 * 896 896 * @since 0.71 897 897 * @deprecated Use the_permalink() … … 903 903 } 904 904 905 905 /** 906 * permalink_single_rss() - Print the permalink to the RSS feed906 * Print the permalink to the RSS feed. 907 907 * 908 908 * @since 0.71 909 909 * @deprecated Use the_permalink_rss() … … 917 917 } 918 918 919 919 /** 920 * wp_get_links() -Gets the links associated with category.920 * Gets the links associated with category. 921 921 * 922 922 * @see get_links() for argument information that can be used in $args 923 923 * @since 1.0.1 … … 951 951 } 952 952 953 953 /** 954 * get_links() -Gets the links associated with category by id.954 * Gets the links associated with category by id. 955 955 * 956 956 * @since 0.71 957 957 * @deprecated Use get_bookmarks() … … 1056 1056 } 1057 1057 1058 1058 /** 1059 * get_links_list() - Output entire list of links by category1059 * Output entire list of links by category. 1060 1060 * 1061 * Output a list of all links, listed by category, using the 1062 * settings in $wpdb->linkcategories and output it as a nested 1063 * HTML unordered list. 1061 * Output a list of all links, listed by category, using the settings in 1062 * $wpdb->linkcategories and output it as a nested HTML unordered list. 1064 1063 * 1065 1064 * @author Dougal 1066 1065 * @since 1.0.1 … … 1104 1103 } 1105 1104 1106 1105 /** 1107 * links_popup_script() - Show the link to the links popup and the number of links1106 * Show the link to the links popup and the number of links. 1108 1107 * 1109 1108 * @author Fullo 1110 1109 * @link http://sprite.csr.unibo.it/fullo/ … … 1148 1147 } 1149 1148 1150 1149 /** 1151 * get_linkcatname() -Gets the name of category by id.1150 * Gets the name of category by id. 1152 1151 * 1153 1152 * @since 0.71 1154 1153 * @deprecated Use get_category() … … 1177 1176 } 1178 1177 1179 1178 /** 1180 * comment_rss_link() - Print RSS comment feed link1179 * Print RSS comment feed link. 1181 1180 * 1182 1181 * @since 1.0.1 1183 1182 * @deprecated Use post_comments_feed_link() … … 1192 1191 } 1193 1192 1194 1193 /** 1195 * get_category_rss_link() - Print/Return link to category RSS2 feed1194 * Print/Return link to category RSS2 feed. 1196 1195 * 1197 1196 * @since 1.2 1198 1197 * @deprecated Use get_category_feed_link() … … 1214 1213 } 1215 1214 1216 1215 /** 1217 * get_author_rss_link() - Print/Return link to author RSS feed1216 * Print/Return link to author RSS feed. 1218 1217 * 1219 1218 * @since 1.2 1220 1219 * @deprecated Use get_author_feed_link() … … 1235 1234 } 1236 1235 1237 1236 /** 1238 * comments_rss() - Return link to the post RSS feed1237 * Return link to the post RSS feed. 1239 1238 * 1240 1239 * @since 1.5 1241 1240 * @deprecated Use get_post_comments_feed_link() … … 1250 1249 } 1251 1250 1252 1251 /** 1253 * create_user() - An alias of wp_create_user(). 1252 * An alias of wp_create_user(). 1253 * 1254 1254 * @param string $username The user's username. 1255 1255 * @param string $password The user's password. 1256 1256 * @param string $email The user's email (optional). … … 1264 1264 } 1265 1265 1266 1266 /** 1267 * documentation_link() - Unused Admin function 1267 * Unused Admin function. 1268 * 1268 1269 * @since 2.0 1269 1270 * @param string $deprecated Unknown 1270 1271 * @deprecated 2.5 … … 1275 1276 } 1276 1277 1277 1278 /** 1278 * gzip_compression() - Unused function1279 * Unused function. 1279 1280 * 1280 1281 * @deprecated 2.5 1281 1282 */ 1282 1283 1283 function gzip_compression() { 1284 1284 return false; 1285 1285 } … … 1304 1304 return get_comment($comment_ID, ARRAY_A); 1305 1305 } 1306 1306 1307 ?> 1308 No newline at end of file 1307 ?> -
update.php
14 14 * isn't installing. 15 15 * 16 16 * @package WordPress 17 * @since 2.3 17 * @since 2.3.0 18 18 * @uses $wp_version Used to check against the newest WordPress version. 19 19 * 20 20 * @return mixed Returns null if update is unsupported. Returns false if check is too soon. … … 83 83 * isn't installing. 84 84 * 85 85 * @package WordPress 86 * @since 2.3 86 * @since 2.3.0 87 87 * @uses $wp_version Used to notidy the WordPress version. 88 88 * 89 89 * @return mixed Returns null if update is unsupported. Returns false if check is too soon.