Ticket #26713: 26713.2.diff
File 26713.2.diff, 52.6 KB (added by , 10 years ago) |
---|
-
src/wp-activate.php
27 27 /** 28 28 * Fires before the Site Activation page is loaded. 29 29 * 30 * @since 3.0 30 * @since 3.0.0 31 31 */ 32 32 do_action( 'activate_header' ); 33 33 … … 40 40 /** 41 41 * Fires before the Site Activation page is loaded, but on the wp_head action. 42 42 * 43 * @since 3.0 43 * @since 3.0.0 44 44 */ 45 45 do_action( 'activate_wp_head' ); 46 46 } -
src/wp-admin/custom-header.php
177 177 /** 178 178 * Set up the enqueue for the CSS files 179 179 * 180 * @since 2.7 180 * @since 2.7.0 181 181 */ 182 182 function css_includes() { 183 183 $step = $this->step(); -
src/wp-admin/includes/ajax-actions.php
259 259 * 260 260 * Contrary to normal success AJAX response ("1"), die with time() on success. 261 261 * 262 * @since 2.7 262 * @since 2.7.0 263 263 * 264 264 * @param int $comment_id 265 265 * @return die -
src/wp-admin/includes/class-wp-filesystem-direct.php
9 9 /** 10 10 * WordPress Filesystem Class for direct PHP file and folder manipulation. 11 11 * 12 * @since 2.5 12 * @since 2.5.0 13 13 * @package WordPress 14 14 * @subpackage Filesystem 15 15 * @uses WP_Filesystem_Base Extends class -
src/wp-admin/includes/class-wp-filesystem-ftpext.php
9 9 /** 10 10 * WordPress Filesystem Class for implementing FTP. 11 11 * 12 * @since 2.5 12 * @since 2.5.0 13 13 * @package WordPress 14 14 * @subpackage Filesystem 15 15 * @uses WP_Filesystem_Base Extends class -
src/wp-admin/includes/class-wp-filesystem-ftpsockets.php
9 9 /** 10 10 * WordPress Filesystem Class for implementing FTP Sockets. 11 11 * 12 * @since 2.5 12 * @since 2.5.0 13 13 * @package WordPress 14 14 * @subpackage Filesystem 15 15 * @uses WP_Filesystem_Base Extends class -
src/wp-admin/includes/class-wp-theme-install-list-table.php
358 358 /** 359 359 * Send required variables to JavaScript land 360 360 * 361 * @since 3.4 361 * @since 3.4.0 362 362 * @access private 363 363 * 364 364 * @uses $tab Global; current tab within Themes->Install screen … … 372 372 /** 373 373 * Check to see if the theme is already installed. 374 374 * 375 * @since 3.4 375 * @since 3.4.0 376 376 * @access private 377 377 * 378 378 * @param object $theme - A WordPress.org Theme API object. -
src/wp-admin/includes/class-wp-themes-list-table.php
238 238 /** 239 239 * Send required variables to JavaScript land 240 240 * 241 * @since 3.4 241 * @since 3.4.0 242 242 * @access private 243 243 * 244 244 * @uses $this->features Array of all feature search terms. -
src/wp-admin/includes/file.php
191 191 * Handle PHP uploads in WordPress, sanitizing file names, checking extensions for mime type, 192 192 * and moving the file to the appropriate directory within the uploads directory. 193 193 * 194 * @since 2.0 194 * @since 2.0.0 195 195 * 196 196 * @uses wp_handle_upload_error 197 197 * @uses apply_filters -
src/wp-admin/includes/misc.php
346 346 /** 347 347 * Saves option for number of rows when listing posts, pages, comments, etc. 348 348 * 349 * @since 2.8 349 * @since 2.8.0 350 350 **/ 351 351 function set_screen_options() { 352 352 … … 648 648 /** 649 649 * Check lock status for posts displayed on the Posts screen 650 650 * 651 * @since 3.6 651 * @since 3.6.0 652 652 */ 653 653 function wp_check_locked_posts( $response, $data, $screen_id ) { 654 654 $checked = array(); … … 679 679 /** 680 680 * Check lock status on the New/Edit Post screen and refresh the lock 681 681 * 682 * @since 3.6 682 * @since 3.6.0 683 683 */ 684 684 function wp_refresh_post_lock( $response, $data, $screen_id ) { 685 685 if ( array_key_exists( 'wp-refresh-post-lock', $data ) ) { … … 718 718 /** 719 719 * Check nonce expiration on the New/Edit Post screen and refresh if needed 720 720 * 721 * @since 3.6 721 * @since 3.6.0 722 722 */ 723 723 function wp_refresh_post_nonces( $response, $data, $screen_id ) { 724 724 if ( array_key_exists( 'wp-refresh-post-nonces', $data ) ) { -
src/wp-admin/includes/plugin.php
1412 1412 * 1413 1413 * If the slug hasn't been registered properly no url will be returned 1414 1414 * 1415 * @since 3.0 1415 * @since 3.0.0 1416 1416 * 1417 1417 * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) 1418 1418 * @param bool $echo Whether or not to echo the url - default is true -
src/wp-admin/includes/template.php
1949 1949 /** 1950 1950 * Output the HTML for restoring the post data from DOM storage 1951 1951 * 1952 * @since 3.6 1952 * @since 3.6.0 1953 1953 * @access private 1954 1954 */ 1955 1955 function _local_storage_notice() { -
src/wp-admin/includes/user.php
9 9 /** 10 10 * Creates a new user from the "Users" form using $_POST information. 11 11 * 12 * @since 2.0 12 * @since 2.0.0 13 13 * 14 14 * @return null|WP_Error|int Null when adding user, WP_Error or User ID integer when no parameters. 15 15 */ … … 22 22 * 23 23 * Used on user-edit.php and profile.php to manage and process user options, passwords etc. 24 24 * 25 * @since 2.0 25 * @since 2.0.0 26 26 * 27 27 * @param int $user_id Optional. User ID. 28 28 * @return int user id of the updated user … … 193 193 * only editors or authors. This filter allows admins to delegate 194 194 * user management. 195 195 * 196 * @since 2.8 196 * @since 2.8.0 197 197 * 198 198 * @return unknown 199 199 */ -
src/wp-admin/js/theme-install.js
129 129 /** 130 130 * Class that provides infinite scroll for Themes admin screens 131 131 * 132 * @since 3.4 132 * @since 3.4.0 133 133 * 134 134 * @uses ajaxurl 135 135 * @uses list_args … … 147 147 /** 148 148 * Initializer 149 149 * 150 * @since 3.4 150 * @since 3.4.0 151 151 * @access private 152 152 */ 153 153 init: function() { … … 187 187 * Checks to see if user has scrolled to bottom of page. 188 188 * If so, requests another page of content from self.ajax(). 189 189 * 190 * @since 3.4 190 * @since 3.4.0 191 191 * @access private 192 192 */ 193 193 poll: function() { … … 204 204 /** 205 205 * Applies results passed from this.ajax() to $outList 206 206 * 207 * @since 3.4 207 * @since 3.4.0 208 208 * @access private 209 209 * 210 210 * @param results Array with results from this.ajax() query. … … 227 227 /** 228 228 * Queries next page of themes 229 229 * 230 * @since 3.4 230 * @since 3.4.0 231 231 * @access private 232 232 */ 233 233 ajax: function() { -
src/wp-admin/update-core.php
133 133 /** 134 134 * Display upgrade WordPress for downloading latest or upgrading automatically form. 135 135 * 136 * @since 2.7 136 * @since 2.7.0 137 137 * 138 138 * @return null 139 139 */ … … 353 353 /** 354 354 * Upgrade WordPress core display. 355 355 * 356 * @since 2.7 356 * @since 2.7.0 357 357 * 358 358 * @return null 359 359 */ -
src/wp-includes/author-template.php
13 13 /** 14 14 * Retrieve the author of the current post. 15 15 * 16 * @since 1.5 16 * @since 1.5.0 17 17 * @uses $authordata The current author's DB object. 18 18 * @uses apply_filters() Calls 'the_author' hook on the author display name. 19 19 * … … 68 68 /** 69 69 * Retrieve the author who last edited the current post. 70 70 * 71 * @since 2.8 71 * @since 2.8.0 72 72 * @uses $post The current post's DB object. 73 73 * @uses get_post_meta() Retrieves the ID of the author who last edited the current post. 74 74 * @uses get_userdata() Retrieves the author's DB object. … … 93 93 /** 94 94 * Display the name of the author who last edited the current post. 95 95 * 96 * @since 2.8 96 * @since 2.8.0 97 97 * @see get_the_author() 98 98 * @return string The author's display name, from get_the_modified_author(). 99 99 */ … … 184 184 * author's name. 185 185 * 186 186 * @link http://codex.wordpress.org/Template_Tags/the_author_link 187 * @since 2.1 187 * @since 2.1.0 188 188 * @uses get_the_author_link() 189 189 */ 190 190 function the_author_link() { … … 194 194 /** 195 195 * Retrieve the number of posts by the author of the current post. 196 196 * 197 * @since 1.5 197 * @since 1.5.0 198 198 * @uses $post The current post in the Loop's DB object. 199 199 * @uses count_user_posts() 200 200 * @return int The number of posts by the author. -
src/wp-includes/cache.php
163 163 /** 164 164 * Saves the data to the cache. 165 165 * 166 * @since 2.0 166 * @since 2.0.0 167 167 * @uses $wp_object_cache Object Cache Class 168 168 * @see WP_Object_Cache::set() 169 169 * … … 256 256 * 257 257 * @package WordPress 258 258 * @subpackage Cache 259 * @since 2.0 259 * @since 2.0.0 260 260 */ 261 261 class WP_Object_Cache { 262 262 -
src/wp-includes/canonical.php
467 467 * Removes arguments from a query string if they are not present in a URL 468 468 * DO NOT use this in plugin code. 469 469 * 470 * @since 3.4 470 * @since 3.4.0 471 471 * @access private 472 472 * 473 473 * @return string The altered query string -
src/wp-includes/category-template.php
1042 1042 /** 1043 1043 * Retrieve tag description. 1044 1044 * 1045 * @since 2.8 1045 * @since 2.8.0 1046 1046 * 1047 1047 * @param int $tag Optional. Tag ID. Will use global tag ID by default. 1048 1048 * @return string Tag description, available. … … 1054 1054 /** 1055 1055 * Retrieve term description. 1056 1056 * 1057 * @since 2.8 1057 * @since 2.8.0 1058 1058 * 1059 1059 * @param int $term Optional. Term ID. Will use global term ID by default. 1060 1060 * @param string $taxonomy Optional taxonomy name. Defaults to 'post_tag'. -
src/wp-includes/class-http.php
1395 1395 * 1396 1396 * @link http://core.trac.wordpress.org/ticket/4011 Proxy support ticket in WordPress. 1397 1397 * @link http://core.trac.wordpress.org/ticket/14636 Allow wildcard domains in WP_PROXY_BYPASS_HOSTS 1398 * @since 2.8 1398 * @since 2.8.0 1399 1399 */ 1400 1400 class WP_HTTP_Proxy { 1401 1401 … … 1402 1402 /** 1403 1403 * Whether proxy connection should be used. 1404 1404 * 1405 * @since 2.8 1405 * @since 2.8.0 1406 1406 * @use WP_PROXY_HOST 1407 1407 * @use WP_PROXY_PORT 1408 1408 * … … 1415 1415 /** 1416 1416 * Whether authentication should be used. 1417 1417 * 1418 * @since 2.8 1418 * @since 2.8.0 1419 1419 * @use WP_PROXY_USERNAME 1420 1420 * @use WP_PROXY_PASSWORD 1421 1421 * … … 1428 1428 /** 1429 1429 * Retrieve the host for the proxy server. 1430 1430 * 1431 * @since 2.8 1431 * @since 2.8.0 1432 1432 * 1433 1433 * @return string 1434 1434 */ … … 1442 1442 /** 1443 1443 * Retrieve the port for the proxy server. 1444 1444 * 1445 * @since 2.8 1445 * @since 2.8.0 1446 1446 * 1447 1447 * @return string 1448 1448 */ … … 1456 1456 /** 1457 1457 * Retrieve the username for proxy authentication. 1458 1458 * 1459 * @since 2.8 1459 * @since 2.8.0 1460 1460 * 1461 1461 * @return string 1462 1462 */ … … 1470 1470 /** 1471 1471 * Retrieve the password for proxy authentication. 1472 1472 * 1473 * @since 2.8 1473 * @since 2.8.0 1474 1474 * 1475 1475 * @return string 1476 1476 */ … … 1484 1484 /** 1485 1485 * Retrieve authentication string for proxy authentication. 1486 1486 * 1487 * @since 2.8 1487 * @since 2.8.0 1488 1488 * 1489 1489 * @return string 1490 1490 */ … … 1495 1495 /** 1496 1496 * Retrieve header string for proxy authentication. 1497 1497 * 1498 * @since 2.8 1498 * @since 2.8.0 1499 1499 * 1500 1500 * @return string 1501 1501 */ … … 1762 1762 * 1763 1763 * Includes RFC 1950, RFC 1951, and RFC 1952. 1764 1764 * 1765 * @since 2.8 1765 * @since 2.8.0 1766 1766 * @package WordPress 1767 1767 * @subpackage HTTP 1768 1768 */ … … 1773 1773 * 1774 1774 * Supports the RFC 1951 standard. 1775 1775 * 1776 * @since 2.8 1776 * @since 2.8.0 1777 1777 * 1778 1778 * @param string $raw String to compress. 1779 1779 * @param int $level Optional, default is 9. Compression level, 9 is highest. … … 1792 1792 * 1952 standard gzip decode will be attempted. If all fail, then the 1793 1793 * original compressed string will be returned. 1794 1794 * 1795 * @since 2.8 1795 * @since 2.8.0 1796 1796 * 1797 1797 * @param string $compressed String to decompress. 1798 1798 * @param int $length The optional length of the compressed data. … … 1876 1876 /** 1877 1877 * What encoding types to accept and their priority values. 1878 1878 * 1879 * @since 2.8 1879 * @since 2.8.0 1880 1880 * 1881 1881 * @return string Types of encoding to accept. 1882 1882 */ … … 1910 1910 /** 1911 1911 * What encoding the content used when it was compressed to send in the headers. 1912 1912 * 1913 * @since 2.8 1913 * @since 2.8.0 1914 1914 * 1915 1915 * @return string Content-Encoding string to send in the header. 1916 1916 */ … … 1921 1921 /** 1922 1922 * Whether the content be decoded based on the headers. 1923 1923 * 1924 * @since 2.8 1924 * @since 2.8.0 1925 1925 * 1926 1926 * @param array|string $headers All of the available headers. 1927 1927 * @return bool … … 1944 1944 * ensure that the functions all exist in the PHP version and aren't 1945 1945 * disabled. 1946 1946 * 1947 * @since 2.8 1947 * @since 2.8.0 1948 1948 * 1949 1949 * @return bool 1950 1950 */ -
src/wp-includes/class-wp-xmlrpc-server.php
3349 3349 /** 3350 3350 * Retrieves a list of post formats used by the site 3351 3351 * 3352 * @since 3.1 3352 * @since 3.1.0 3353 3353 * 3354 3354 * @param array $args Method parameters. Contains: 3355 3355 * - blog_id -
src/wp-includes/comment-template.php
139 139 * 140 140 * @global object $comment The current Comment row object. 141 141 * 142 * @since 2.7 142 * @since 2.7.0 143 143 * 144 144 * @param string $linktext Optional. The text to display instead of the comment author's email address. Default empty. 145 145 * @param string $before Optional. The text or HTML to display before the email link. Default empty. -
src/wp-includes/default-constants.php
160 160 function wp_cookie_constants() { 161 161 /** 162 162 * Used to guarantee unique hash cookies 163 * @since 1.5 163 * @since 1.5.0 164 164 */ 165 165 if ( !defined( 'COOKIEHASH' ) ) { 166 166 $siteurl = get_site_option( 'siteurl' ); -
src/wp-includes/deprecated.php
53 53 * Sets up the WordPress Loop. 54 54 * 55 55 * @since 1.0.1 56 * @deprecated 1.5 56 * @deprecated 1.5.0 57 57 * @deprecated Use The Loop - {@link http://codex.wordpress.org/The_Loop Use new WordPress Loop} 58 58 */ 59 59 function start_wp() { … … 121 121 /** 122 122 * Prints link to the previous post. 123 123 * 124 * @since 1.5 125 * @deprecated 2.0 124 * @since 1.5.0 125 * @deprecated 2.0.0 126 126 * @deprecated Use previous_post_link() 127 127 * @see previous_post_link() 128 128 * … … 159 159 * Prints link to the next post. 160 160 * 161 161 * @since 0.71 162 * @deprecated 2.0 162 * @deprecated 2.0.0 163 163 * @deprecated Use next_post_link() 164 164 * @see next_post_link() 165 165 * … … 194 194 /** 195 195 * Whether user can create a post. 196 196 * 197 * @since 1.5 198 * @deprecated 2.0 197 * @since 1.5.0 198 * @deprecated 2.0.0 199 199 * @deprecated Use current_user_can() 200 200 * @see current_user_can() 201 201 * … … 214 214 /** 215 215 * Whether user can create a post. 216 216 * 217 * @since 1.5 218 * @deprecated 2.0 217 * @since 1.5.0 218 * @deprecated 2.0.0 219 219 * @deprecated Use current_user_can() 220 220 * @see current_user_can() 221 221 * … … 234 234 /** 235 235 * Whether user can edit a post. 236 236 * 237 * @since 1.5 238 * @deprecated 2.0 237 * @since 1.5.0 238 * @deprecated 2.0.0 239 239 * @deprecated Use current_user_can() 240 240 * @see current_user_can() 241 241 * … … 263 263 /** 264 264 * Whether user can delete a post. 265 265 * 266 * @since 1.5 267 * @deprecated 2.0 266 * @since 1.5.0 267 * @deprecated 2.0.0 268 268 * @deprecated Use current_user_can() 269 269 * @see current_user_can() 270 270 * … … 283 283 /** 284 284 * Whether user can set new posts' dates. 285 285 * 286 * @since 1.5 287 * @deprecated 2.0 286 * @since 1.5.0 287 * @deprecated 2.0.0 288 288 * @deprecated Use current_user_can() 289 289 * @see current_user_can() 290 290 * … … 303 303 /** 304 304 * Whether user can delete a post. 305 305 * 306 * @since 1.5 307 * @deprecated 2.0 306 * @since 1.5.0 307 * @deprecated 2.0.0 308 308 * @deprecated Use current_user_can() 309 309 * @see current_user_can() 310 310 * … … 323 323 /** 324 324 * Whether user can delete a post. 325 325 * 326 * @since 1.5 327 * @deprecated 2.0 326 * @since 1.5.0 327 * @deprecated 2.0.0 328 328 * @deprecated Use current_user_can() 329 329 * @see current_user_can() 330 330 * … … 343 343 /** 344 344 * Whether user can delete a post. 345 345 * 346 * @since 1.5 347 * @deprecated 2.0 346 * @since 1.5.0 347 * @deprecated 2.0.0 348 348 * @deprecated Use current_user_can() 349 349 * @see current_user_can() 350 350 * … … 363 363 /** 364 364 * Can user can edit other user. 365 365 * 366 * @since 1.5 367 * @deprecated 2.0 366 * @since 1.5.0 367 * @deprecated 2.0.0 368 368 * @deprecated Use current_user_can() 369 369 * @see current_user_can() 370 370 * … … 387 387 * Gets the links associated with category $cat_name. 388 388 * 389 389 * @since 0.71 390 * @deprecated 2.1 390 * @deprecated 2.1.0 391 391 * @deprecated Use get_bookmarks() 392 392 * @see get_bookmarks() 393 393 * … … 421 421 * Gets the links associated with the named category. 422 422 * 423 423 * @since 1.0.1 424 * @deprecated 2.1 424 * @deprecated 2.1.0 425 425 * @deprecated Use wp_list_bookmarks() 426 426 * @see wp_list_bookmarks() 427 427 * … … 459 459 * </code> 460 460 * 461 461 * @since 1.0.1 462 * @deprecated 2.1 462 * @deprecated 2.1.0 463 463 * @deprecated Use get_bookmarks() 464 464 * @see get_bookmarks() 465 465 * … … 512 512 * </ol> 513 513 * 514 514 * @since 1.0.1 515 * @deprecated 2.1 515 * @deprecated 2.1.0 516 516 * @deprecated Use get_bookmarks() 517 517 * @see get_bookmarks() 518 518 * … … 540 540 * Gets the links associated with category 'cat_name' and display rating stars/chars. 541 541 * 542 542 * @since 0.71 543 * @deprecated 2.1 543 * @deprecated 2.1.0 544 544 * @deprecated Use get_bookmarks() 545 545 * @see get_bookmarks() 546 546 * … … 568 568 * Gets the links associated with category n and display rating stars/chars. 569 569 * 570 570 * @since 0.71 571 * @deprecated 2.1 571 * @deprecated 2.1.0 572 572 * @deprecated Use get_bookmarks() 573 573 * @see get_bookmarks() 574 574 * … … 596 596 * Gets the auto_toggle setting. 597 597 * 598 598 * @since 0.71 599 * @deprecated 2.1 599 * @deprecated 2.1.0 600 600 * @deprecated No alternative function available 601 601 * 602 602 * @param int $id The category to get. If no category supplied uses 0 … … 609 609 610 610 /** 611 611 * @since 0.71 612 * @deprecated 2.1 612 * @deprecated 2.1.0 613 613 * @deprecated Use wp_list_categories() 614 614 * @see wp_list_categories() 615 615 * … … 644 644 } 645 645 646 646 /** 647 * @since 1.2 648 * @deprecated 2.1 647 * @since 1.2.0 648 * @deprecated 2.1.0 649 649 * @deprecated Use wp_list_categories() 650 650 * @see wp_list_categories() 651 651 * … … 677 677 678 678 /** 679 679 * @since 0.71 680 * @deprecated 2.1 680 * @deprecated 2.1.0 681 681 * @deprecated Use wp_dropdown_categories() 682 682 * @see wp_dropdown_categories() 683 683 * … … 713 713 } 714 714 715 715 /** 716 * @since 1.2 717 * @deprecated 2.1 716 * @since 1.2.0 717 * @deprecated 2.1.0 718 718 * @deprecated Use wp_list_authors() 719 719 * @see wp_list_authors() 720 720 * … … 735 735 736 736 /** 737 737 * @since 1.0.1 738 * @deprecated 2.1 738 * @deprecated 2.1.0 739 739 * @deprecated Use wp_get_post_categories() 740 740 * @see wp_get_post_categories() 741 741 * … … 752 752 * Sets the categories that the post id belongs to. 753 753 * 754 754 * @since 1.0.1 755 * @deprecated 2.1 755 * @deprecated 2.1.0 756 756 * @deprecated Use wp_set_post_categories() 757 757 * @see wp_set_post_categories() 758 758 * … … 768 768 769 769 /** 770 770 * @since 0.71 771 * @deprecated 2.1 771 * @deprecated 2.1.0 772 772 * @deprecated Use wp_get_archives() 773 773 * @see wp_get_archives() 774 774 * … … 789 789 /** 790 790 * Returns or Prints link to the author's posts. 791 791 * 792 * @since 1.2 793 * @deprecated 2.1 792 * @since 1.2.0 793 * @deprecated 2.1.0 794 794 * @deprecated Use get_author_posts_url() 795 795 * @see get_author_posts_url() 796 796 * … … 813 813 * Print list of pages based on arguments. 814 814 * 815 815 * @since 0.71 816 * @deprecated 2.1 816 * @deprecated 2.1.0 817 817 * @deprecated Use wp_link_pages() 818 818 * @see wp_link_pages() 819 819 * … … 838 838 * Get value based on option. 839 839 * 840 840 * @since 0.71 841 * @deprecated 2.1 841 * @deprecated 2.1.0 842 842 * @deprecated Use get_option() 843 843 * @see get_option() 844 844 * … … 855 855 * Print the permalink of the current post in the loop. 856 856 * 857 857 * @since 0.71 858 * @deprecated 1.2 858 * @deprecated 1.2.0 859 859 * @deprecated Use the_permalink() 860 860 * @see the_permalink() 861 861 */ … … 868 868 * Print the permalink to the RSS feed. 869 869 * 870 870 * @since 0.71 871 * @deprecated 2.3 871 * @deprecated 2.3.0 872 872 * @deprecated Use the_permalink_rss() 873 873 * @see the_permalink_rss() 874 874 * … … 884 884 * 885 885 * @see get_links() for argument information that can be used in $args 886 886 * @since 1.0.1 887 * @deprecated 2.1 887 * @deprecated 2.1.0 888 888 * @deprecated Use wp_list_bookmarks() 889 889 * @see wp_list_bookmarks() 890 890 * … … 924 924 * Gets the links associated with category by id. 925 925 * 926 926 * @since 0.71 927 * @deprecated 2.1 927 * @deprecated 2.1.0 928 928 * @deprecated Use get_bookmarks() 929 929 * @see get_bookmarks() 930 930 * … … 1033 1033 * $wpdb->linkcategories and output it as a nested HTML unordered list. 1034 1034 * 1035 1035 * @since 1.0.1 1036 * @deprecated 2.1 1036 * @deprecated 2.1.0 1037 1037 * @deprecated Use wp_list_bookmarks() 1038 1038 * @see wp_list_bookmarks() 1039 1039 * … … 1076 1076 * Show the link to the links popup and the number of links. 1077 1077 * 1078 1078 * @since 0.71 1079 * @deprecated 2.1 1079 * @deprecated 2.1.0 1080 1080 * @deprecated {@internal Use function instead is unknown}} 1081 1081 * 1082 1082 * @param string $text the text of the link … … 1091 1091 1092 1092 /** 1093 1093 * @since 1.0.1 1094 * @deprecated 2.1 1094 * @deprecated 2.1.0 1095 1095 * @deprecated Use sanitize_bookmark_field() 1096 1096 * @see sanitize_bookmark_field() 1097 1097 * … … 1107 1107 * Gets the name of category by id. 1108 1108 * 1109 1109 * @since 0.71 1110 * @deprecated 2.1 1110 * @deprecated 2.1.0 1111 1111 * @deprecated Use get_category() 1112 1112 * @see get_category() 1113 1113 * … … 1137 1137 * Print RSS comment feed link. 1138 1138 * 1139 1139 * @since 1.0.1 1140 * @deprecated 2.5 1140 * @deprecated 2.5.0 1141 1141 * @deprecated Use post_comments_feed_link() 1142 1142 * @see post_comments_feed_link() 1143 1143 * … … 1151 1151 /** 1152 1152 * Print/Return link to category RSS2 feed. 1153 1153 * 1154 * @since 1.2 1155 * @deprecated 2.5 1154 * @since 1.2.0 1155 * @deprecated 2.5.0 1156 1156 * @deprecated Use get_category_feed_link() 1157 1157 * @see get_category_feed_link() 1158 1158 * … … 1173 1173 /** 1174 1174 * Print/Return link to author RSS feed. 1175 1175 * 1176 * @since 1.2 1177 * @deprecated 2.5 1176 * @since 1.2.0 1177 * @deprecated 2.5.0 1178 1178 * @deprecated Use get_author_feed_link() 1179 1179 * @see get_author_feed_link() 1180 1180 * … … 1194 1194 /** 1195 1195 * Return link to the post RSS feed. 1196 1196 * 1197 * @since 1.5 1198 * @deprecated 2.2 1197 * @since 1.5.0 1198 * @deprecated 2.2.0 1199 1199 * @deprecated Use get_post_comments_feed_link() 1200 1200 * @see get_post_comments_feed_link() 1201 1201 * … … 1209 1209 /** 1210 1210 * An alias of wp_create_user(). 1211 1211 * 1212 * @since 2.0 1213 * @deprecated 2.0 1212 * @since 2.0.0 1213 * @deprecated 2.0.0 1214 1214 * @deprecated Use wp_create_user() 1215 1215 * @see wp_create_user() 1216 1216 * … … 1227 1227 /** 1228 1228 * Unused function. 1229 1229 * 1230 * @deprecated 2.5 1230 * @deprecated 2.5.0 1231 1231 */ 1232 1232 function gzip_compression() { 1233 1233 _deprecated_function( __FUNCTION__, '2.5' ); … … 1238 1238 * Retrieve an array of comment data about comment $comment_ID. 1239 1239 * 1240 1240 * @since 0.71 1241 * @deprecated 2.7 1241 * @deprecated 2.7.0 1242 1242 * @deprecated Use get_comment() 1243 1243 * @see get_comment() 1244 1244 * … … 1256 1256 * Retrieve the category name by the category ID. 1257 1257 * 1258 1258 * @since 0.71 1259 * @deprecated 2.8 1259 * @deprecated 2.8.0 1260 1260 * @deprecated Use get_cat_name() 1261 1261 * @see get_cat_name() 1262 1262 * … … 1272 1272 * Retrieve category children list separated before and after the term IDs. 1273 1273 * 1274 1274 * @since 1.2.0 1275 * @deprecated 2.8 1275 * @deprecated 2.8.0 1276 1276 * @deprecated Use get_term_children() 1277 1277 * @see get_term_children() 1278 1278 * … … 1309 1309 /** 1310 1310 * Retrieve the description of the author of the current post. 1311 1311 * 1312 * @since 1.5 1313 * @deprecated 2.8 1312 * @since 1.5.0 1313 * @deprecated 2.8.0 1314 1314 * @deprecated Use get_the_author_meta('description') 1315 1315 * @see get_the_author_meta() 1316 1316 * … … 1325 1325 * Display the description of the author of the current post. 1326 1326 * 1327 1327 * @since 1.0.0 1328 * @deprecated 2.8 1328 * @deprecated 2.8.0 1329 1329 * @deprecated Use the_author_meta('description') 1330 1330 * @see the_author_meta() 1331 1331 */ … … 1337 1337 /** 1338 1338 * Retrieve the login name of the author of the current post. 1339 1339 * 1340 * @since 1.5 1341 * @deprecated 2.8 1340 * @since 1.5.0 1341 * @deprecated 2.8.0 1342 1342 * @deprecated Use get_the_author_meta('login') 1343 1343 * @see get_the_author_meta() 1344 1344 * … … 1353 1353 * Display the login name of the author of the current post. 1354 1354 * 1355 1355 * @since 0.71 1356 * @deprecated 2.8 1356 * @deprecated 2.8.0 1357 1357 * @deprecated Use the_author_meta('login') 1358 1358 * @see the_author_meta() 1359 1359 */ … … 1365 1365 /** 1366 1366 * Retrieve the first name of the author of the current post. 1367 1367 * 1368 * @since 1.5 1369 * @deprecated 2.8 1368 * @since 1.5.0 1369 * @deprecated 2.8.0 1370 1370 * @deprecated Use get_the_author_meta('first_name') 1371 1371 * @see get_the_author_meta() 1372 1372 * … … 1381 1381 * Display the first name of the author of the current post. 1382 1382 * 1383 1383 * @since 0.71 1384 * @deprecated 2.8 1384 * @deprecated 2.8.0 1385 1385 * @deprecated Use the_author_meta('first_name') 1386 1386 * @see the_author_meta() 1387 1387 */ … … 1393 1393 /** 1394 1394 * Retrieve the last name of the author of the current post. 1395 1395 * 1396 * @since 1.5 1397 * @deprecated 2.8 1396 * @since 1.5.0 1397 * @deprecated 2.8.0 1398 1398 * @deprecated Use get_the_author_meta('last_name') 1399 1399 * @see get_the_author_meta() 1400 1400 * … … 1409 1409 * Display the last name of the author of the current post. 1410 1410 * 1411 1411 * @since 0.71 1412 * @deprecated 2.8 1412 * @deprecated 2.8.0 1413 1413 * @deprecated Use the_author_meta('last_name') 1414 1414 * @see the_author_meta() 1415 1415 */ … … 1421 1421 /** 1422 1422 * Retrieve the nickname of the author of the current post. 1423 1423 * 1424 * @since 1.5 1425 * @deprecated 2.8 1424 * @since 1.5.0 1425 * @deprecated 2.8.0 1426 1426 * @deprecated Use get_the_author_meta('nickname') 1427 1427 * @see get_the_author_meta() 1428 1428 * … … 1437 1437 * Display the nickname of the author of the current post. 1438 1438 * 1439 1439 * @since 0.71 1440 * @deprecated 2.8 1440 * @deprecated 2.8.0 1441 1441 * @deprecated Use the_author_meta('nickname') 1442 1442 * @see the_author_meta() 1443 1443 */ … … 1449 1449 /** 1450 1450 * Retrieve the email of the author of the current post. 1451 1451 * 1452 * @since 1.5 1453 * @deprecated 2.8 1452 * @since 1.5.0 1453 * @deprecated 2.8.0 1454 1454 * @deprecated Use get_the_author_meta('email') 1455 1455 * @see get_the_author_meta() 1456 1456 * … … 1465 1465 * Display the email of the author of the current post. 1466 1466 * 1467 1467 * @since 0.71 1468 * @deprecated 2.8 1468 * @deprecated 2.8.0 1469 1469 * @deprecated Use the_author_meta('email') 1470 1470 * @see the_author_meta() 1471 1471 */ … … 1477 1477 /** 1478 1478 * Retrieve the ICQ number of the author of the current post. 1479 1479 * 1480 * @since 1.5 1481 * @deprecated 2.8 1480 * @since 1.5.0 1481 * @deprecated 2.8.0 1482 1482 * @deprecated Use get_the_author_meta('icq') 1483 1483 * @see get_the_author_meta() 1484 1484 * … … 1493 1493 * Display the ICQ number of the author of the current post. 1494 1494 * 1495 1495 * @since 0.71 1496 * @deprecated 2.8 1496 * @deprecated 2.8.0 1497 1497 * @deprecated Use the_author_meta('icq') 1498 1498 * @see the_author_meta() 1499 1499 */ … … 1505 1505 /** 1506 1506 * Retrieve the Yahoo! IM name of the author of the current post. 1507 1507 * 1508 * @since 1.5 1509 * @deprecated 2.8 1508 * @since 1.5.0 1509 * @deprecated 2.8.0 1510 1510 * @deprecated Use get_the_author_meta('yim') 1511 1511 * @see get_the_author_meta() 1512 1512 * … … 1521 1521 * Display the Yahoo! IM name of the author of the current post. 1522 1522 * 1523 1523 * @since 0.71 1524 * @deprecated 2.8 1524 * @deprecated 2.8.0 1525 1525 * @deprecated Use the_author_meta('yim') 1526 1526 * @see the_author_meta() 1527 1527 */ … … 1533 1533 /** 1534 1534 * Retrieve the MSN address of the author of the current post. 1535 1535 * 1536 * @since 1.5 1537 * @deprecated 2.8 1536 * @since 1.5.0 1537 * @deprecated 2.8.0 1538 1538 * @deprecated Use get_the_author_meta('msn') 1539 1539 * @see get_the_author_meta() 1540 1540 * … … 1549 1549 * Display the MSN address of the author of the current post. 1550 1550 * 1551 1551 * @since 0.71 1552 * @deprecated 2.8 1552 * @deprecated 2.8.0 1553 1553 * @deprecated Use the_author_meta('msn') 1554 1554 * @see the_author_meta() 1555 1555 */ … … 1561 1561 /** 1562 1562 * Retrieve the AIM address of the author of the current post. 1563 1563 * 1564 * @since 1.5 1565 * @deprecated 2.8 1564 * @since 1.5.0 1565 * @deprecated 2.8.0 1566 1566 * @deprecated Use get_the_author_meta('aim') 1567 1567 * @see get_the_author_meta() 1568 1568 * … … 1578 1578 * 1579 1579 * @since 0.71 1580 1580 * @see the_author_meta() 1581 * @deprecated 2.8 1581 * @deprecated 2.8.0 1582 1582 * @deprecated Use the_author_meta('aim') 1583 1583 */ 1584 1584 function the_author_aim() { … … 1590 1590 * Retrieve the specified author's preferred display name. 1591 1591 * 1592 1592 * @since 1.0.0 1593 * @deprecated 2.8 1593 * @deprecated 2.8.0 1594 1594 * @deprecated Use get_the_author_meta('display_name') 1595 1595 * @see get_the_author_meta() 1596 1596 * … … 1605 1605 /** 1606 1606 * Retrieve the URL to the home page of the author of the current post. 1607 1607 * 1608 * @since 1.5 1609 * @deprecated 2.8 1608 * @since 1.5.0 1609 * @deprecated 2.8.0 1610 1610 * @deprecated Use get_the_author_meta('url') 1611 1611 * @see get_the_author_meta() 1612 1612 * … … 1621 1621 * Display the URL to the home page of the author of the current post. 1622 1622 * 1623 1623 * @since 0.71 1624 * @deprecated 2.8 1624 * @deprecated 2.8.0 1625 1625 * @deprecated Use the_author_meta('url') 1626 1626 * @see the_author_meta() 1627 1627 */ … … 1633 1633 /** 1634 1634 * Retrieve the ID of the author of the current post. 1635 1635 * 1636 * @since 1.5 1637 * @deprecated 2.8 1636 * @since 1.5.0 1637 * @deprecated 2.8.0 1638 1638 * @deprecated Use get_the_author_meta('ID') 1639 1639 * @see get_the_author_meta() 1640 1640 * … … 1649 1649 * Display the ID of the author of the current post. 1650 1650 * 1651 1651 * @since 0.71 1652 * @deprecated 2.8 1652 * @deprecated 2.8.0 1653 1653 * @deprecated Use the_author_meta('ID') 1654 1654 * @see the_author_meta() 1655 1655 */ … … 1785 1785 * Translates $text like translate(), but assumes that the text 1786 1786 * contains a context after its last vertical bar. 1787 1787 * 1788 * @since 2.5 1788 * @since 2.5.0 1789 1789 * @uses translate() 1790 1790 * @deprecated 3.0.0 1791 1791 * @deprecated Use _x() … … 1834 1834 /** 1835 1835 * Register plural strings in POT file, but don't translate them. 1836 1836 * 1837 * @since 2.5 1837 * @since 2.5.0 1838 1838 * @deprecated 2.8.0 1839 1839 * @deprecated Use _n_noop() 1840 1840 * @see _n_noop() -
src/wp-includes/feed.php
57 57 * 58 58 * @package WordPress 59 59 * @subpackage Feed 60 * @since 2.5 60 * @since 2.5.0 61 61 * @uses apply_filters() Calls 'default_feed' hook on the default feed string. 62 62 * 63 63 * @return string Default feed, or for example 'rss2', 'atom', etc. … … 446 446 * 447 447 * @package WordPress 448 448 * @subpackage Feed 449 * @since 2.5 449 * @since 2.5.0 450 450 * 451 451 * @param string $data Input string 452 452 * @return array array(type, value) … … 484 484 * 485 485 * @package WordPress 486 486 * @subpackage Feed 487 * @since 2.5 487 * @since 2.5.0 488 488 */ 489 489 function self_link() { 490 490 $host = @parse_url(home_url()); … … 518 518 /** 519 519 * Build SimplePie object based on RSS or Atom feed from URL. 520 520 * 521 * @since 2.8 521 * @since 2.8.0 522 522 * 523 523 * @param mixed $url URL of feed to retrieve. If an array of URLs, the feeds are merged 524 524 * using SimplePie's multifeed feature. -
src/wp-includes/link-template.php
578 578 * Returns a link to the feed for all posts in a given term. A specific feed 579 579 * can be requested or left blank to get the default feed. 580 580 * 581 * @since 3.0 581 * @since 3.0.0 582 582 * 583 583 * @param int $term_id ID of a category. 584 584 * @param string $taxonomy Optional. Taxonomy of $term_id … … 1711 1711 /** 1712 1712 * Return post pages link navigation for previous and next pages. 1713 1713 * 1714 * @since 2.8 1714 * @since 2.8.0 1715 1715 * 1716 1716 * @param string|array $args Optional args. 1717 1717 * @return string The posts link navigation. -
src/wp-includes/nav-menu-template.php
385 385 * Add the class property classes for the current context, if applicable. 386 386 * 387 387 * @access private 388 * @since 3.0 388 * @since 3.0.0 389 389 * 390 390 * @param array $menu_items The current menu item objects to which to add the class property information. 391 391 */ -
src/wp-includes/pluggable-deprecated.php
57 57 /** 58 58 * Retrieve user info by email. 59 59 * 60 * @since 2.5 60 * @since 2.5.0 61 61 * @deprecated 3.3.0 62 62 * @deprecated Use get_user_by('email') 63 63 * … … 74 74 /** 75 75 * Sets a cookie for a user who just logged in. This function is deprecated. 76 76 * 77 * @since 1.5 78 * @deprecated 2.5 77 * @since 1.5.0 78 * @deprecated 2.5.0 79 79 * @deprecated Use wp_set_auth_cookie() 80 80 * @see wp_set_auth_cookie() 81 81 * … … 99 99 /** 100 100 * Clears the authentication cookie, logging the user out. This function is deprecated. 101 101 * 102 * @since 1.5 103 * @deprecated 2.5 102 * @since 1.5.0 103 * @deprecated 2.5.0 104 104 * @deprecated Use wp_clear_auth_cookie() 105 105 * @see wp_clear_auth_cookie() 106 106 */ … … 120 120 * used anywhere in WordPress. Also, plugins shouldn't use it either. 121 121 * 122 122 * @since 2.0.3 123 * @deprecated 2.5 123 * @deprecated 2.5.0 124 124 * @deprecated No alternative 125 125 * 126 126 * @return bool Always returns false -
src/wp-includes/pluggable.php
506 506 * Makes sure the cookie is not expired. Verifies the hash in cookie is what is 507 507 * should be and compares the two. 508 508 * 509 * @since 2.5 509 * @since 2.5.0 510 510 * 511 511 * @param string $cookie Optional. If used, will validate contents instead of cookie's 512 512 * @param string $scheme Optional. The cookie scheme to use: auth, secure_auth, or logged_in … … 561 561 /** 562 562 * Generate authentication cookie contents. 563 563 * 564 * @since 2.5 564 * @since 2.5.0 565 565 * @uses apply_filters() Calls 'auth_cookie' hook on $cookie contents, User ID 566 566 * and expiration of cookie. 567 567 * … … 588 588 /** 589 589 * Parse a cookie into its components 590 590 * 591 * @since 2.7 591 * @since 2.7.0 592 592 * 593 593 * @param string $cookie 594 594 * @param string $scheme Optional. The cookie scheme to use: auth, secure_auth, or logged_in … … 639 639 * default the cookie is kept without remembering is two days. When $remember is 640 640 * set, the cookies will be kept for 14 days or two weeks. 641 641 * 642 * @since 2.5 642 * @since 2.5.0 643 643 * 644 644 * @param int $user_id User ID 645 645 * @param bool $remember Whether to remember the user … … 687 687 /** 688 688 * Removes all of the cookies associated with authentication. 689 689 * 690 * @since 2.5 690 * @since 2.5.0 691 691 */ 692 692 function wp_clear_auth_cookie() { 693 693 do_action('clear_auth_cookie'); … … 735 735 /** 736 736 * Checks if a user is logged in, if not it redirects them to the login page. 737 737 * 738 * @since 1.5 738 * @since 1.5.0 739 739 */ 740 740 function auth_redirect() { 741 741 // Checks if a user is logged in, if not redirects them to the login page … … 903 903 /** 904 904 * Sanitizes a URL for use in a redirect. 905 905 * 906 * @since 2.3 906 * @since 2.3.0 907 907 * 908 908 * @return string redirect-sanitized URL 909 909 **/ … … 930 930 * instead. This prevents malicious redirects which redirect to another host, 931 931 * but only used in a few places. 932 932 * 933 * @since 2.3 933 * @since 2.3.0 934 934 * @uses wp_validate_redirect() To validate the redirect is to an allowed host. 935 935 * 936 936 * @return void Does not return anything … … 1165 1165 /** 1166 1166 * Notifies the moderator of the blog about a new comment that is awaiting approval. 1167 1167 * 1168 * @since 1.0 1168 * @since 1.0.0 1169 1169 * @uses $wpdb 1170 1170 * 1171 1171 * @param int $comment_id Comment ID … … 1251 1251 /** 1252 1252 * Notify the blog admin of a user changing password, normally via email. 1253 1253 * 1254 * @since 2.7 1254 * @since 2.7.0 1255 1255 * 1256 1256 * @param object $user User Object 1257 1257 */ … … 1272 1272 /** 1273 1273 * Notify the blog admin of a new user, normally via email. 1274 1274 * 1275 * @since 2.0 1275 * @since 2.0.0 1276 1276 * 1277 1277 * @param int $user_id User ID 1278 1278 * @param string $plaintext_pass Optional. The user's plaintext password … … 1309 1309 * A nonce has a lifespan of two ticks. Nonces in their second tick may be 1310 1310 * updated, e.g. by autosave. 1311 1311 * 1312 * @since 2.5 1312 * @since 2.5.0 1313 1313 * 1314 1314 * @return int 1315 1315 */ … … 1401 1401 * Salting passwords helps against tools which has stored hashed values of 1402 1402 * common dictionary strings. The added values makes it harder to crack. 1403 1403 * 1404 * @since 2.5 1404 * @since 2.5.0 1405 1405 * 1406 1406 * @link https://api.wordpress.org/secret-key/1.1/salt/ Create secrets for wp-config.php 1407 1407 * … … 1485 1485 * For integration with other applications, this function can be overwritten to 1486 1486 * instead use the other package password checking algorithm. 1487 1487 * 1488 * @since 2.5 1488 * @since 2.5.0 1489 1489 * @global object $wp_hasher PHPass object 1490 1490 * @uses PasswordHash::HashPassword 1491 1491 * … … 1517 1517 * For integration with other applications, this function can be overwritten to 1518 1518 * instead use the other package password checking algorithm. 1519 1519 * 1520 * @since 2.5 1520 * @since 2.5.0 1521 1521 * @global object $wp_hasher PHPass object used for checking the password 1522 1522 * against the $hash + $password 1523 1523 * @uses PasswordHash::CheckPassword … … 1559 1559 /** 1560 1560 * Generates a random password drawn from the defined set of characters. 1561 1561 * 1562 * @since 2.5 1562 * @since 2.5.0 1563 1563 * 1564 1564 * @param int $length The length of password to generate 1565 1565 * @param bool $special_chars Whether to include standard special characters. Default true. … … 1638 1638 * For integration with other applications, this function can be overwritten to 1639 1639 * instead use the other package password checking algorithm. 1640 1640 * 1641 * @since 2.5 1641 * @since 2.5.0 1642 1642 * @uses $wpdb WordPress database object for queries 1643 1643 * @uses wp_hash_password() Used to encrypt the user's password before passing to the database 1644 1644 * … … 1659 1659 /** 1660 1660 * Retrieve the avatar for a user who provided a user ID or email address. 1661 1661 * 1662 * @since 2.5 1662 * @since 2.5.0 1663 1663 * @param int|string|object $id_or_email A user ID, email address, or comment object 1664 1664 * @param int $size Size of the avatar image 1665 1665 * @param string $default URL to a default image to use if no avatar is available … … 1773 1773 * 'title_right' : Default is an empty string. Change the HTML to the right of 1774 1774 * the title. 1775 1775 * 1776 * @since 2.6 1776 * @since 2.6.0 1777 1777 * @see wp_parse_args() Used to change defaults to user defined settings. 1778 1778 * @uses Text_Diff 1779 1779 * @uses WP_Text_Diff_Renderer_Table -
src/wp-includes/plugin.php
16 16 * 17 17 * @package WordPress 18 18 * @subpackage Plugin 19 * @since 1.5 19 * @since 1.5.0 20 20 */ 21 21 22 22 // Initialize the filter globals. … … 93 93 * 94 94 * @package WordPress 95 95 * @subpackage Plugin 96 * @since 2.5 96 * @since 2.5.0 97 97 * @global array $wp_filter Stores all of the filters 98 98 * 99 99 * @param string $tag The name of the filter hook. … … 275 275 * 276 276 * @package WordPress 277 277 * @subpackage Plugin 278 * @since 1.2 278 * @since 1.2.0 279 279 * 280 280 * @param string $tag The filter hook to which the function to be removed is hooked. 281 281 * @param callback $function_to_remove The name of the function which should be removed. … … 301 301 /** 302 302 * Remove all of the hooks from a filter. 303 303 * 304 * @since 2.7 304 * @since 2.7.0 305 305 * 306 306 * @param string $tag The filter to remove hooks from. 307 307 * @param int $priority The priority number to remove. … … 328 328 * 329 329 * @package WordPress 330 330 * @subpackage Plugin 331 * @since 2.5 331 * @since 2.5.0 332 332 * 333 333 * @return string Hook name of the current filter or action. 334 334 */ … … 349 349 * 350 350 * @package WordPress 351 351 * @subpackage Plugin 352 * @since 1.2 352 * @since 1.2.0 353 353 * 354 354 * @param string $tag The name of the action to which the $function_to_add is hooked. 355 355 * @param callback $function_to_add The name of the function you wish to be called. … … 375 375 * 376 376 * @package WordPress 377 377 * @subpackage Plugin 378 * @since 1.2 378 * @since 1.2.0 379 379 * @global array $wp_filter Stores all of the filters 380 380 * @global array $wp_actions Increments the amount of times action was triggered. 381 381 * … … 438 438 * 439 439 * @package WordPress 440 440 * @subpackage Plugin 441 * @since 2.1 441 * @since 2.1.0 442 442 * @global array $wp_actions Increments the amount of times action was triggered. 443 443 * 444 444 * @param string $tag The name of the action hook. … … 461 461 * 462 462 * @package WordPress 463 463 * @subpackage Plugin 464 * @since 2.1 464 * @since 2.1.0 465 465 * @global array $wp_filter Stores all of the filters 466 466 * @global array $wp_actions Increments the amount of times action was triggered. 467 467 * … … 516 516 * 517 517 * @package WordPress 518 518 * @subpackage Plugin 519 * @since 2.5 519 * @since 2.5.0 520 520 * @see has_filter() has_action() is an alias of has_filter(). 521 521 * 522 522 * @param string $tag The name of the action hook. … … 539 539 * 540 540 * @package WordPress 541 541 * @subpackage Plugin 542 * @since 1.2 542 * @since 1.2.0 543 543 * 544 544 * @param string $tag The action hook to which the function to be removed is hooked. 545 545 * @param callback $function_to_remove The name of the function which should be removed. … … 553 553 /** 554 554 * Remove all of the hooks from an action. 555 555 * 556 * @since 2.7 556 * @since 2.7.0 557 557 * 558 558 * @param string $tag The action to remove hooks from. 559 559 * @param int $priority The priority number to remove them from. … … 574 574 * 575 575 * @package WordPress 576 576 * @subpackage Plugin 577 * @since 1.5 577 * @since 1.5.0 578 578 * 579 579 * @access private 580 580 * … … 598 598 * Gets the filesystem directory path (with trailing slash) for the plugin __FILE__ passed in 599 599 * @package WordPress 600 600 * @subpackage Plugin 601 * @since 2.8 601 * @since 2.8.0 602 602 * 603 603 * @param string $file The filename of the plugin (__FILE__) 604 604 * @return string the filesystem path of the directory that contains the plugin … … 611 611 * Gets the URL directory path (with trailing slash) for the plugin __FILE__ passed in 612 612 * @package WordPress 613 613 * @subpackage Plugin 614 * @since 2.8 614 * @since 2.8.0 615 615 * 616 616 * @param string $file The filename of the plugin (__FILE__) 617 617 * @return string the URL path of the directory that contains the plugin … … 635 635 * 636 636 * @package WordPress 637 637 * @subpackage Plugin 638 * @since 2.0 638 * @since 2.0.0 639 639 * 640 640 * @param string $file The filename of the plugin including the path. 641 641 * @param callback $function the function hooked to the 'activate_PLUGIN' action. … … 660 660 * 661 661 * @package WordPress 662 662 * @subpackage Plugin 663 * @since 2.0 663 * @since 2.0.0 664 664 * 665 665 * @param string $file The filename of the plugin including the path. 666 666 * @param callback $function the function hooked to the 'deactivate_PLUGIN' action. … … 690 690 * should always check for the 'WP_UNINSTALL_PLUGIN' constant, before 691 691 * executing. 692 692 * 693 * @since 2.7 693 * @since 2.7.0 694 694 * 695 695 * @param string $file 696 696 * @param callback $callback The callback to run when the hook is called. Must be a static method or function. … … 722 722 * 723 723 * @package WordPress 724 724 * @subpackage Plugin 725 * @since 2.5 725 * @since 2.5.0 726 726 * @access private 727 727 * 728 728 * @uses $wp_filter Used to process all of the functions in the 'all' hook -
src/wp-includes/post-thumbnail-template.php
49 49 /** 50 50 * Update cache for thumbnails in the current loop 51 51 * 52 * @since 3.2 52 * @since 3.2.0 53 53 * 54 54 * @param object $wp_query Optional. A WP_Query instance. Defaults to the $wp_query global. 55 55 */ -
src/wp-includes/script-loader.php
714 714 * Postpones the scripts that were queued for the footer. 715 715 * print_footer_scripts() is called in the footer to print these scripts. 716 716 * 717 * @since 2.8 717 * @since 2.8.0 718 718 * 719 719 * @see wp_print_scripts() 720 720 */ … … 743 743 /** 744 744 * Prints the scripts that were queued for the footer or too late for the HTML head. 745 745 * 746 * @since 2.8 746 * @since 2.8.0 747 747 */ 748 748 function print_footer_scripts() { 749 749 global $wp_scripts, $concatenate_scripts; … … 799 799 * Postpones the scripts that were queued for the footer. 800 800 * wp_print_footer_scripts() is called in the footer to print these scripts. 801 801 * 802 * @since 2.8 802 * @since 2.8.0 803 803 */ 804 804 function wp_print_head_scripts() { 805 805 if ( ! did_action('wp_print_scripts') ) { … … 828 828 /** 829 829 * Hooks to print the scripts and styles in the footer. 830 830 * 831 * @since 2.8 831 * @since 2.8.0 832 832 */ 833 833 function wp_print_footer_scripts() { 834 834 do_action('wp_print_footer_scripts'); … … 840 840 * Allows plugins to queue scripts for the front end using wp_enqueue_script(). 841 841 * Runs first in wp_head() where all is_home(), is_page(), etc. functions are available. 842 842 * 843 * @since 2.8 843 * @since 2.8.0 844 844 */ 845 845 function wp_enqueue_scripts() { 846 846 do_action('wp_enqueue_scripts'); … … 849 849 /** 850 850 * Prints the styles queue in the HTML head on admin pages. 851 851 * 852 * @since 2.8 852 * @since 2.8.0 853 853 */ 854 854 function print_admin_styles() { 855 855 global $wp_styles, $concatenate_scripts, $compress_css; … … 923 923 /** 924 924 * Determine the concatenation and compression settings for scripts and styles. 925 925 * 926 * @since 2.8 926 * @since 2.8.0 927 927 */ 928 928 function script_concat_settings() { 929 929 global $concatenate_scripts, $compress_scripts, $compress_css; -
src/wp-includes/shortcodes.php
29 29 * 30 30 * @package WordPress 31 31 * @subpackage Shortcodes 32 * @since 2.5 32 * @since 2.5.0 33 33 */ 34 34 35 35 /** 36 36 * Container for storing shortcode tags and their hook to call for the shortcode 37 37 * 38 * @since 2.5 38 * @since 2.5.0 39 39 * @name $shortcode_tags 40 40 * @var array 41 41 * @global array $shortcode_tags … … 84 84 * add_shortcode('baztag', 'baztag_func'); 85 85 * </code> 86 86 * 87 * @since 2.5 87 * @since 2.5.0 88 88 * @uses $shortcode_tags 89 89 * 90 90 * @param string $tag Shortcode tag to be searched in post content. … … 100 100 /** 101 101 * Removes hook for shortcode. 102 102 * 103 * @since 2.5 103 * @since 2.5.0 104 104 * @uses $shortcode_tags 105 105 * 106 106 * @param string $tag shortcode tag to remove hook for. … … 118 118 * shortcodes global by a empty array. This is actually a very efficient method 119 119 * for removing all shortcodes. 120 120 * 121 * @since 2.5 121 * @since 2.5.0 122 122 * @uses $shortcode_tags 123 123 */ 124 124 function remove_all_shortcodes() { … … 171 171 * without any filtering. This might cause issues when plugins are disabled but 172 172 * the shortcode will still show up in the post or content. 173 173 * 174 * @since 2.5 174 * @since 2.5.0 175 175 * @uses $shortcode_tags 176 176 * @uses get_shortcode_regex() Gets the search pattern for searching shortcodes. 177 177 * … … 203 203 * 5 - The content of a shortcode when it wraps some content. 204 204 * 6 - An extra ] to allow for escaping shortcodes with double [[]] 205 205 * 206 * @since 2.5 206 * @since 2.5.0 207 207 * @uses $shortcode_tags 208 208 * 209 209 * @return string The shortcode search regular expression … … 250 250 * Regular Expression callable for do_shortcode() for calling shortcode hook. 251 251 * @see get_shortcode_regex for details of the match array contents. 252 252 * 253 * @since 2.5 253 * @since 2.5.0 254 254 * @access private 255 255 * @uses $shortcode_tags 256 256 * … … 284 284 * attribute as the value in the key/value pair. This allows for easier 285 285 * retrieval of the attributes, since all attributes have to be known. 286 286 * 287 * @since 2.5 287 * @since 2.5.0 288 288 * 289 289 * @param string $text 290 290 * @return array List of attributes and their value. … … 322 322 * If the $atts list has unsupported attributes, then they will be ignored and 323 323 * removed from the final returned list. 324 324 * 325 * @since 2.5 325 * @since 2.5.0 326 326 * 327 327 * @param array $pairs Entire list of supported attributes and their defaults. 328 328 * @param array $atts User defined attributes in shortcode tag. … … 359 359 /** 360 360 * Remove all shortcode tags from the given content. 361 361 * 362 * @since 2.5 362 * @since 2.5.0 363 363 * @uses $shortcode_tags 364 364 * 365 365 * @param string $content Content to remove shortcode tags. -
src/wp-includes/taxonomy.php
2337 2337 * 2338 2338 * @package WordPress 2339 2339 * @subpackage Taxonomy 2340 * @since 3.6 2340 * @since 3.6.0 2341 2341 * @uses wp_set_object_terms() 2342 2342 * 2343 2343 * @param int $object_id The ID of the object to which the terms will be added. … … 2354 2354 * 2355 2355 * @package WordPress 2356 2356 * @subpackage Taxonomy 2357 * @since 3.6 2357 * @since 3.6.0 2358 2358 * @uses $wpdb 2359 2359 * 2360 2360 * @uses apply_filters() Calls 'delete_term_relationships' hook with object_id and tt_ids as parameters. -
src/wp-includes/theme.php
1559 1559 /** 1560 1560 * Gets the theme support arguments passed when registering that support 1561 1561 * 1562 * @since 3.1 1562 * @since 3.1.0 1563 1563 * @param string $feature the feature to check 1564 1564 * @return array The array of extra arguments 1565 1565 */ -
src/wp-includes/widgets.php
19 19 * 20 20 * @package WordPress 21 21 * @subpackage Widgets 22 * @since 2.8 22 * @since 2.8.0 23 23 */ 24 24 class WP_Widget { 25 25 … … 311 311 * 312 312 * @package WordPress 313 313 * @subpackage Widgets 314 * @since 2.8 314 * @since 2.8.0 315 315 */ 316 316 class WP_Widget_Factory { 317 317 var $widgets = array(); … … 978 978 /** 979 979 * Whether a sidebar is in use. 980 980 * 981 * @since 2.8 981 * @since 2.8.0 982 982 * 983 983 * @param mixed $index Sidebar name, id or number to check. 984 984 * @return bool true if the sidebar is in use, false otherwise. … … 1124 1124 /** 1125 1125 * Output an arbitrary widget as a template tag 1126 1126 * 1127 * @since 2.8 1127 * @since 2.8.0 1128 1128 * 1129 1129 * @param string $widget the widget's PHP class name (see default-widgets.php) 1130 1130 * @param array $instance the widget's instance settings