Ticket #17414: 17414.package-and-subpackage-tags.diff
| File 17414.package-and-subpackage-tags.diff, 51.3 KB (added by , 15 years ago) |
|---|
-
wp-includes/post-template.php
579 579 580 580 /** 581 581 * Page Template Functions for usage in Themes 582 *583 * @package WordPress584 * @subpackage Template585 582 */ 586 583 587 584 /** … … 1255 1252 /** 1256 1253 * Retrieve formatted date timestamp of a revision (linked to that revisions's page). 1257 1254 * 1258 * @package WordPress1259 * @subpackage Post_Revisions1260 1255 * @since 2.6.0 1261 1256 * 1262 1257 * @uses date_i18n() … … 1306 1301 * (int) left : what revision is currently being diffed against right - 1307 1302 * used in form-table format. 1308 1303 * 1309 * @package WordPress1310 * @subpackage Post_Revisions1311 1304 * @since 2.6.0 1312 1305 * 1313 1306 * @uses wp_get_post_revisions() -
wp-includes/plugin.php
49 49 * is even a string. It is up to you to take care and this is done for 50 50 * optimization purposes, so everything is as quick as possible. 51 51 * 52 * @package WordPress53 * @subpackage Plugin54 52 * @since 0.71 55 53 * @global array $wp_filter Stores all of the filters added in the form of 56 54 * wp_filter['tag']['array of priorities']['array of functions serialized']['array of ['array (functions, accepted_args)']'] … … 74 72 /** 75 73 * Check if any filter has been registered for a hook. 76 74 * 77 * @package WordPress78 * @subpackage Plugin79 75 * @since 2.5 80 76 * @global array $wp_filter Stores all of the filters 81 77 * … … 119 115 * $value = apply_filters('example_filter', 'filter me', 'arg1', 'arg2'); 120 116 * </code> 121 117 * 122 * @package WordPress123 * @subpackage Plugin124 118 * @since 0.71 125 119 * @global array $wp_filter Stores all of the filters 126 120 * @global array $merged_filters Merges the filter hooks using this function. … … 183 177 * @see apply_filters() This function is identical, but the arguments passed to the 184 178 * functions hooked to <tt>$tag</tt> are supplied using an array. 185 179 * 186 * @package WordPress187 * @subpackage Plugin188 180 * @since 3.0.0 189 181 * @global array $wp_filter Stores all of the filters 190 182 * @global array $merged_filters Merges the filter hooks using this function. … … 244 236 * when the hook was added. This goes for both filters and actions. No warning 245 237 * will be given on removal failure. 246 238 * 247 * @package WordPress248 * @subpackage Plugin249 239 * @since 1.2 250 240 * 251 241 * @param string $tag The filter hook to which the function to be removed is hooked. … … 297 287 /** 298 288 * Retrieve the name of the current filter or action. 299 289 * 300 * @package WordPress301 * @subpackage Plugin302 290 * @since 2.5 303 291 * 304 292 * @return string Hook name of the current filter or action. … … 319 307 * 320 308 * @uses add_filter() Adds an action. Parameter list and functionality are the same. 321 309 * 322 * @package WordPress323 * @subpackage Plugin324 310 * @since 1.2 325 311 * 326 312 * @param string $tag The name of the action to which the $function_to_add is hooked. … … 346 332 * @see apply_filters() This function works similar with the exception that 347 333 * nothing is returned and only the functions or methods are called. 348 334 * 349 * @package WordPress350 * @subpackage Plugin351 335 * @since 1.2 352 336 * @global array $wp_filter Stores all of the filters 353 337 * @global array $wp_actions Increments the amount of times action was triggered. … … 412 396 /** 413 397 * Retrieve the number times an action is fired. 414 398 * 415 * @package WordPress416 * @subpackage Plugin417 399 * @since 2.1 418 400 * @global array $wp_actions Increments the amount of times action was triggered. 419 401 * … … 435 417 * @see do_action() This function is identical, but the arguments passed to the 436 418 * functions hooked to <tt>$tag</tt> are supplied using an array. 437 419 * 438 * @package WordPress439 * @subpackage Plugin440 420 * @since 2.1 441 421 * @global array $wp_filter Stores all of the filters 442 422 * @global array $wp_actions Increments the amount of times action was triggered. … … 493 473 /** 494 474 * Check if any action has been registered for a hook. 495 475 * 496 * @package WordPress497 * @subpackage Plugin498 476 * @since 2.5 499 477 * @see has_filter() has_action() is an alias of has_filter(). 500 478 * … … 513 491 * method can be used to remove default functions attached to a specific filter 514 492 * hook and possibly replace them with a substitute. 515 493 * 516 * @package WordPress517 * @subpackage Plugin518 494 * @since 1.2 519 495 * 520 496 * @param string $tag The action hook to which the function to be removed is hooked. … … 549 525 * 550 526 * This method extracts the name of a plugin from its filename. 551 527 * 552 * @package WordPress553 * @subpackage Plugin554 528 * @since 1.5 555 529 * 556 530 * @access private … … 573 547 574 548 /** 575 549 * Gets the filesystem directory path (with trailing slash) for the plugin __FILE__ passed in 576 * @package WordPress 577 * @subpackage Plugin 550 * 578 551 * @since 2.8 579 552 * 580 553 * @param string $file The filename of the plugin (__FILE__) … … 586 559 587 560 /** 588 561 * Gets the URL directory path (with trailing slash) for the plugin __FILE__ passed in 589 * @package WordPress 590 * @subpackage Plugin 562 * 591 563 * @since 2.8 592 564 * 593 565 * @param string $file The filename of the plugin (__FILE__) … … 609 581 * wp-content/plugin/sample.php the name of this hook will be 610 582 * 'activate_sample.php'. 611 583 * 612 * @package WordPress613 * @subpackage Plugin614 584 * @since 2.0 615 585 * 616 586 * @param string $file The filename of the plugin including the path. … … 634 604 * wp-content/plugin/sample.php the name of this hook will be 635 605 * 'activate_sample.php'. 636 606 * 637 * @package WordPress638 * @subpackage Plugin639 607 * @since 2.0 640 608 * 641 609 * @param string $file The filename of the plugin including the path. … … 696 664 * functions. This function does not check for the existence of the all hook, so 697 665 * it will fail unless the all hook exists prior to this function call. 698 666 * 699 * @package WordPress700 * @subpackage Plugin701 667 * @since 2.5 702 668 * @access private 703 669 * … … 735 701 * Functions and static method callbacks are just returned as strings and 736 702 * shouldn't have any speed penalty. 737 703 * 738 * @package WordPress739 * @subpackage Plugin740 704 * @access private 741 705 * @since 2.2.3 742 706 * @link http://trac.wordpress.org/ticket/3875 -
wp-includes/taxonomy.php
104 104 /** 105 105 * Get a list of registered taxonomy objects. 106 106 * 107 * @package WordPress108 * @subpackage Taxonomy109 107 * @since 3.0.0 110 108 * @uses $wp_taxonomies 111 109 * @see register_taxonomy … … 134 132 * <code><?php $taxonomies = get_object_taxonomies('post'); ?></code> Should 135 133 * result in <code>Array('category', 'post_tag')</code> 136 134 * 137 * @package WordPress138 * @subpackage Taxonomy139 135 * @since 2.3.0 140 136 * 141 137 * @uses $wp_taxonomies … … 174 170 * The get_taxonomy function will first check that the parameter string given 175 171 * is a taxonomy object and if it is, it will return it. 176 172 * 177 * @package WordPress178 * @subpackage Taxonomy179 173 * @since 2.3.0 180 174 * 181 175 * @uses $wp_taxonomies … … 198 192 * 199 193 * Formerly is_taxonomy(), introduced in 2.3.0. 200 194 * 201 * @package WordPress202 * @subpackage Taxonomy203 195 * @since 3.0.0 204 196 * 205 197 * @uses $wp_taxonomies … … 221 213 * 222 214 * A false return value might also mean that the taxonomy does not exist. 223 215 * 224 * @package WordPress225 * @subpackage Taxonomy226 216 * @since 2.3.0 227 217 * 228 218 * @uses taxonomy_exists() Checks whether taxonomy exists … … 280 270 * 281 271 * labels - An array of labels for this taxonomy. You can see accepted values in {@link get_taxonomy_labels()}. By default tag labels are used for non-hierarchical types and category labels for hierarchical ones. 282 272 * 283 * @package WordPress284 * @subpackage Taxonomy285 273 * @since 2.3.0 286 274 * @uses $wp_taxonomies Inserts new taxonomy object into the list 287 275 * @uses $wp_rewrite Adds rewrite tags and permastructs … … 419 407 /** 420 408 * Add an already registered taxonomy to an object type. 421 409 * 422 * @package WordPress423 * @subpackage Taxonomy424 410 * @since 3.0.0 425 411 * @uses $wp_taxonomies Modifies taxonomy object 426 412 * … … 462 448 * using PHP sort family functions or using the database by using $args with 463 449 * either ASC or DESC array. The value should be in the key named 'order'. 464 450 * 465 * @package WordPress466 * @subpackage Taxonomy467 451 * @since 2.3.0 468 452 * 469 453 * @uses $wpdb … … 528 512 /** 529 513 * Container class for a multiple taxonomy query. 530 514 * 515 * @package WordPress 516 * @subpackage Taxonomy 531 517 * @since 3.1.0 532 518 */ 533 519 class WP_Tax_Query { … … 814 800 * example, if 'category', it would be 'get_category' as the filter name. Useful 815 801 * for custom taxonomies or plugging into default taxonomies. 816 802 * 817 * @package WordPress818 * @subpackage Taxonomy819 803 * @since 2.3.0 820 804 * 821 805 * @uses $wpdb … … 887 871 * If $value does not exist, the return value will be false. If $taxonomy exists 888 872 * and $field and $value combinations exist, the Term will be returned. 889 873 * 890 * @package WordPress891 * @subpackage Taxonomy892 874 * @since 2.3.0 893 875 * 894 876 * @uses $wpdb … … 953 935 * 954 936 * Will return an empty array if $term does not exist in $taxonomy. 955 937 * 956 * @package WordPress957 * @subpackage Taxonomy958 938 * @since 2.3.0 959 939 * 960 940 * @uses $wpdb … … 993 973 * reasons and for simplicity of usage. See sanitize_term_field() for more 994 974 * information. 995 975 * 996 * @package WordPress997 * @subpackage Taxonomy998 976 * @since 2.3.0 999 977 * 1000 978 * @uses sanitize_term_field() Passes the return value in sanitize_term_field on success. … … 1026 1004 * Return value is sanitize_term() and usage is for sanitizing the term for 1027 1005 * editing. Function is for contextual and simplicity. 1028 1006 * 1029 * @package WordPress1030 * @subpackage Taxonomy1031 1007 * @since 2.3.0 1032 1008 * 1033 1009 * @uses sanitize_term() Passes the return value on success … … 1129 1105 * The 'parent' argument is different from 'child_of' in that a term X is considered a 'parent' 1130 1106 * of term Y only if term X is the father of term Y, not its grandfather or great-grandfather, etc. 1131 1107 * 1132 * @package WordPress1133 * @subpackage Taxonomy1134 1108 * @since 2.3.0 1135 1109 * 1136 1110 * @uses $wpdb … … 1420 1394 * 1421 1395 * Formerly is_term(), introduced in 2.3.0. 1422 1396 * 1423 * @package WordPress1424 * @subpackage Taxonomy1425 1397 * @since 3.0.0 1426 1398 * 1427 1399 * @uses $wpdb … … 1489 1461 * 1490 1462 * The $term is expected to be either an array or an object. 1491 1463 * 1492 * @package WordPress1493 * @subpackage Taxonomy1494 1464 * @since 2.3.0 1495 1465 * 1496 1466 * @uses sanitize_term_field Used to sanitize all fields in a term … … 1544 1514 * without creating your own filter function. Simply create a function that 1545 1515 * hooks into the filter you need. 1546 1516 * 1547 * @package WordPress1548 * @subpackage Taxonomy1549 1517 * @since 2.3.0 1550 1518 * 1551 1519 * @uses $wpdb … … 1603 1571 * 1604 1572 * Default $args is 'hide_empty' which can be 'hide_empty=true' or array('hide_empty' => true). 1605 1573 * 1606 * @package WordPress1607 * @subpackage Taxonomy1608 1574 * @since 2.3.0 1609 1575 * 1610 1576 * @uses get_terms() … … 1636 1602 * a particular taxonomy or taxonomies. Does not remove the term or 1637 1603 * taxonomy itself. 1638 1604 * 1639 * @package WordPress1640 * @subpackage Taxonomy1641 1605 * @since 2.3.0 1642 1606 * @uses $wpdb 1643 1607 * … … 1673 1637 * 1674 1638 * The $args 'force_default' will force the term supplied as default to be 1675 1639 * assigned even if the object was not going to be termless 1676 * @package WordPress 1677 * @subpackage Taxonomy 1640 * 1678 1641 * @since 2.3.0 1679 1642 * 1680 1643 * @uses $wpdb … … 1801 1764 * terms objects will be returned. If either 'ids' or 'names' is used, then an 1802 1765 * array of all matching term ids or term names will be returned respectively. 1803 1766 * 1804 * @package WordPress1805 * @subpackage Taxonomy1806 1767 * @since 2.3.0 1807 1768 * @uses $wpdb 1808 1769 * … … 1936 1897 * second check succeeds, the term will be inserted and the term id will be 1937 1898 * given. 1938 1899 * 1939 * @package WordPress1940 * @subpackage Taxonomy1941 1900 * @since 2.3.0 1942 1901 * @uses $wpdb 1943 1902 * … … 2070 2029 * A term has no meaning until it is given context by defining which taxonomy it 2071 2030 * exists under. 2072 2031 * 2073 * @package WordPress2074 * @subpackage Taxonomy2075 2032 * @since 2.3.0 2076 2033 * @uses $wpdb 2077 2034 * … … 2168 2125 * 2169 2126 * The only purpose for $term is for appending a parent, if one exists. 2170 2127 * 2171 * @package WordPress2172 * @subpackage Taxonomy2173 2128 * @since 2.3.0 2174 2129 * @uses $wpdb 2175 2130 * … … 2241 2196 * For what can be overrode in $args, check the term scheme can contain and stay 2242 2197 * away from the term keys. 2243 2198 * 2244 * @package WordPress2245 * @subpackage Taxonomy2246 2199 * @since 2.3.0 2247 2200 * 2248 2201 * @uses $wpdb … … 2376 2329 * The default action is to count what the amount of terms have the relationship 2377 2330 * of term ID. Once that is done, then update the database. 2378 2331 * 2379 * @package WordPress2380 * @subpackage Taxonomy2381 2332 * @since 2.3.0 2382 2333 * @uses $wpdb 2383 2334 * … … 2456 2407 * term IDs have to exist within the taxonomy $object_type for the deletion to 2457 2408 * take place. 2458 2409 * 2459 * @package WordPress2460 * @subpackage Taxonomy2461 2410 * @since 2.3.0 2462 2411 * 2463 2412 * @see get_object_taxonomies() for more on $object_type … … 2482 2431 /** 2483 2432 * Will remove all of the term ids from the cache. 2484 2433 * 2485 * @package WordPress2486 * @subpackage Taxonomy2487 2434 * @since 2.3.0 2488 2435 * @uses $wpdb 2489 2436 * … … 2543 2490 /** 2544 2491 * Retrieves the taxonomy relationship to the term object id. 2545 2492 * 2546 * @package WordPress2547 * @subpackage Taxonomy2548 2493 * @since 2.3.0 2549 2494 * 2550 2495 * @uses wp_cache_get() Retrieves taxonomy relationship from cache … … 2572 2517 * lot of terms that exist in a lot of taxonomies. The amount of time increases 2573 2518 * for each term and it also increases for each taxonomy the term belongs to. 2574 2519 * 2575 * @package WordPress2576 * @subpackage Taxonomy2577 2520 * @since 2.3.0 2578 2521 * @uses wp_get_object_terms() Used to get terms from the database to update 2579 2522 * … … 2632 2575 /** 2633 2576 * Updates Terms to Taxonomy in cache. 2634 2577 * 2635 * @package WordPress2636 * @subpackage Taxonomy2637 2578 * @since 2.3.0 2638 2579 * 2639 2580 * @param array $terms List of Term objects to change … … 2657 2598 /** 2658 2599 * Retrieves children of taxonomy as Term IDs. 2659 2600 * 2660 * @package WordPress2661 * @subpackage Taxonomy2662 2601 * @access private 2663 2602 * @since 2.3.0 2664 2603 * … … 2693 2632 * If $terms is an array of objects, then _get_term_children returns an array of objects. 2694 2633 * If $terms is an array of IDs, then _get_term_children returns an array of IDs. 2695 2634 * 2696 * @package WordPress2697 * @subpackage Taxonomy2698 2635 * @access private 2699 2636 * @since 2.3.0 2700 2637 * … … 2750 2687 * Recalculates term counts by including items from child terms. Assumes all 2751 2688 * relevant children are already in the $terms argument. 2752 2689 * 2753 * @package WordPress2754 * @subpackage Taxonomy2755 2690 * @access private 2756 2691 * @since 2.3.0 2757 2692 * @uses $wpdb … … 2816 2751 * Private function for the default callback for post_tag and category 2817 2752 * taxonomies. 2818 2753 * 2819 * @package WordPress2820 * @subpackage Taxonomy2821 2754 * @access private 2822 2755 * @since 2.3.0 2823 2756 * @uses $wpdb -
wp-includes/post.php
633 633 * 634 634 * Arguments prefixed with an _underscore shouldn't be used by plugins and themes. 635 635 * 636 * @package WordPress637 * @subpackage Post638 636 * @since 3.0.0 639 637 * @uses $wp_post_statuses Inserts new post status object into the list 640 638 * … … 699 697 /** 700 698 * Retrieve a post status object by name 701 699 * 702 * @package WordPress703 * @subpackage Post704 700 * @since 3.0.0 705 701 * @uses $wp_post_statuses 706 702 * @see register_post_status … … 721 717 /** 722 718 * Get a list of all registered post status objects. 723 719 * 724 * @package WordPress725 * @subpackage Post726 720 * @since 3.0.0 727 721 * @uses $wp_post_statuses 728 722 * @see register_post_status … … 801 795 /** 802 796 * Retrieve a post type object by name 803 797 * 804 * @package WordPress805 * @subpackage Post806 798 * @since 3.0.0 807 799 * @uses $wp_post_types 808 800 * @see register_post_type … … 823 815 /** 824 816 * Get a list of all registered post type objects. 825 817 * 826 * @package WordPress827 * @subpackage Post828 818 * @since 2.9.0 829 819 * @uses $wp_post_types 830 820 * @see register_post_type … … 2235 2225 * is set to 'all'. There are other defaults that can be overridden in 2236 2226 * {@link wp_get_object_terms()}. 2237 2227 * 2238 * @package WordPress2239 * @subpackage Post2240 2228 * @since 2.3.0 2241 2229 * 2242 2230 * @uses wp_get_object_terms() Gets the tags for returning. Args can be found here … … 2256 2244 * is set to 'all'. There are other defaults that can be overridden in 2257 2245 * {@link wp_get_object_terms()}. 2258 2246 * 2259 * @package WordPress2260 * @subpackage Post2261 2247 * @since 2.8.0 2262 2248 * 2263 2249 * @uses wp_get_object_terms() Gets the tags for returning. Args can be found here … … 2842 2828 * 2843 2829 * @uses wp_set_post_tags() Same first two parameters, but the last parameter is always set to true. 2844 2830 * 2845 * @package WordPress2846 * @subpackage Post2847 2831 * @since 2.3.0 2848 2832 * 2849 2833 * @param int $post_id Post ID … … 4231 4215 * 4232 4216 * @usedby update_page_cache() Aliased by this function. 4233 4217 * 4234 * @package WordPress4235 * @subpackage Cache4236 4218 * @since 1.5.1 4237 4219 * 4238 4220 * @param array $posts Array of post objects … … 4256 4238 * This function not run if $_wp_suspend_cache_invalidation is not empty. See 4257 4239 * wp_suspend_cache_invalidation(). 4258 4240 * 4259 * @package WordPress4260 * @subpackage Cache4261 4241 * @since 2.0.0 4262 4242 * 4263 4243 * @uses do_action() Calls 'clean_post_cache' on $id before adding children (if any). … … 4302 4282 * 4303 4283 * @see update_post_cache() Posts and pages are the same, alias is intentional 4304 4284 * 4305 * @package WordPress4306 * @subpackage Cache4307 4285 * @since 1.5.1 4308 4286 * 4309 4287 * @param array $pages list of page objects … … 4318 4296 * Clean (read: delete) page from cache that matches $id. Will also clean cache 4319 4297 * associated with 'all_page_ids' and 'get_pages'. 4320 4298 * 4321 * @package WordPress4322 * @subpackage Cache4323 4299 * @since 2.0.0 4324 4300 * 4325 4301 * @uses do_action() Will call the 'clean_page_cache' hook action. … … 4338 4314 /** 4339 4315 * Call major cache updating functions for list of Post objects. 4340 4316 * 4341 * @package WordPress4342 * @subpackage Cache4343 4317 * @since 1.5.0 4344 4318 * 4345 4319 * @uses $wpdb … … 4393 4367 * metadata cache for the posts. Therefore, the functions, which call this 4394 4368 * function, do not need to perform SQL queries on their own. 4395 4369 * 4396 * @package WordPress4397 * @subpackage Cache4398 4370 * @since 2.1.0 4399 4371 * 4400 4372 * @uses $wpdb … … 4415 4387 * This function will not run if $_wp_suspend_cache_invalidation is not empty. See 4416 4388 * wp_suspend_cache_invalidation(). 4417 4389 * 4418 * @package WordPress4419 * @subpackage Cache4420 4390 * @since 3.0.0 4421 4391 * 4422 4392 * @uses do_action() Calls 'clean_attachment_cache' on $id. … … 4610 4580 * to be insterted into the posts table as a post revision. Otherwise, returns 4611 4581 * an array whose keys are the post fields to be saved for post revisions. 4612 4582 * 4613 * @package WordPress4614 * @subpackage Post_Revisions4615 4583 * @since 2.6.0 4616 4584 * @access private 4617 4585 * @uses apply_filters() Calls '_wp_post_revision_fields' on 'title', 'content' and 'excerpt' fields. … … 4661 4629 * 4662 4630 * Typically used immediately prior to post updates. 4663 4631 * 4664 * @package WordPress4665 * @subpackage Post_Revisions4666 4632 * @since 2.6.0 4667 4633 * 4668 4634 * @uses _wp_put_post_revision() … … 4717 4683 * Returns a post object containing the information that was autosaved for the 4718 4684 * specified post. 4719 4685 * 4720 * @package WordPress4721 * @subpackage Post_Revisions4722 4686 * @since 2.6.0 4723 4687 * 4724 4688 * @param int $post_id The post ID. … … 4752 4716 /** 4753 4717 * Internally used to hack WP_Query into submission. 4754 4718 * 4755 * @package WordPress4756 * @subpackage Post_Revisions4757 4719 * @since 2.6.0 4758 4720 * 4759 4721 * @param object $query WP_Query object … … 4765 4727 /** 4766 4728 * Determines if the specified post is a revision. 4767 4729 * 4768 * @package WordPress4769 * @subpackage Post_Revisions4770 4730 * @since 2.6.0 4771 4731 * 4772 4732 * @param int|object $post Post ID or post object. … … 4781 4741 /** 4782 4742 * Determines if the specified post is an autosave. 4783 4743 * 4784 * @package WordPress4785 * @subpackage Post_Revisions4786 4744 * @since 2.6.0 4787 4745 * 4788 4746 * @param int|object $post Post ID or post object. … … 4799 4757 /** 4800 4758 * Inserts post data into the posts table as a post revision. 4801 4759 * 4802 * @package WordPress4803 * @subpackage Post_Revisions4804 4760 * @since 2.6.0 4805 4761 * 4806 4762 * @uses wp_insert_post() … … 4835 4791 /** 4836 4792 * Gets a post revision. 4837 4793 * 4838 * @package WordPress4839 * @subpackage Post_Revisions4840 4794 * @since 2.6.0 4841 4795 * 4842 4796 * @uses get_post() … … 4871 4825 * 4872 4826 * Can restore a past revision using all fields of the post revision, or only selected fields. 4873 4827 * 4874 * @package WordPress4875 * @subpackage Post_Revisions4876 4828 * @since 2.6.0 4877 4829 * 4878 4830 * @uses wp_get_post_revision() … … 4917 4869 * 4918 4870 * Deletes the row from the posts table corresponding to the specified revision. 4919 4871 * 4920 * @package WordPress4921 * @subpackage Post_Revisions4922 4872 * @since 2.6.0 4923 4873 * 4924 4874 * @uses wp_get_post_revision() … … 4944 4894 /** 4945 4895 * Returns all revisions of specified post. 4946 4896 * 4947 * @package WordPress4948 * @subpackage Post_Revisions4949 4897 * @since 2.6.0 4950 4898 * 4951 4899 * @uses get_children() -
wp-includes/comment.php
376 376 * Comments have a limited set of valid status values, this provides the comment 377 377 * status values and descriptions. 378 378 * 379 * @package WordPress380 * @subpackage Post381 379 * @since 2.7.0 382 380 * 383 381 * @return array List of comment statuses. … … 1918 1916 * Removes comment ID from the comment cache. 1919 1917 * 1920 1918 * @since 2.3.0 1921 * @package WordPress1922 * @subpackage Cache1923 1919 * 1924 1920 * @param int|array $ids Comment ID or array of comment IDs to remove from cache 1925 1921 */ … … 1938 1934 * cache using the comment group with the key using the ID of the comments. 1939 1935 * 1940 1936 * @since 2.3.0 1941 * @package WordPress1942 * @subpackage Cache1943 1937 * 1944 1938 * @param array $comments Array of comment row objects 1945 1939 */ -
wp-includes/functions.php
314 314 * If the option was serialized then it will be unserialized when it is returned. 315 315 * 316 316 * @since 1.5.0 317 * @package WordPress318 * @subpackage Option319 317 * @uses apply_filters() Calls 'pre_option_$option' before checking the option. 320 318 * Any value other than false will "short-circuit" the retrieval of the option 321 319 * and return the returned value. You should not try to override special options, … … 395 393 * and 'notoptions' options. 396 394 * 397 395 * @since 2.2.0 398 * @package WordPress399 * @subpackage Option400 396 * 401 397 * @param string $option Option name. 402 398 */ … … 411 407 * 412 408 * @uses attr Sanitizes value. 413 409 * @since 1.5.0 414 * @package WordPress415 * @subpackage Option416 410 * 417 411 * @param string $option Option name. 418 412 */ … … 424 418 * Loads and caches all autoloaded options, if available or all options. 425 419 * 426 420 * @since 2.2.0 427 * @package WordPress428 * @subpackage Option429 421 * 430 422 * @return array List of all options. 431 423 */ … … 457 449 * Loads and caches certain often requested site options if is_multisite() and a peristent cache is not being used. 458 450 * 459 451 * @since 3.0.0 460 * @package WordPress461 * @subpackage Option462 452 * 463 453 * @param int $site_id Optional site ID for which to query the options. Defaults to the current site. 464 454 */ … … 497 487 * to set whether an option is autoloaded, then you need to use the add_option(). 498 488 * 499 489 * @since 1.0.0 500 * @package WordPress501 * @subpackage Option502 490 * 503 491 * @uses apply_filters() Calls 'pre_update_option_$option' hook to allow overwriting the 504 492 * option value to be stored. … … 575 563 * options the same as the ones which are protected and to not add options 576 564 * that were already added. 577 565 * 578 * @package WordPress579 * @subpackage Option580 566 * @since 1.0.0 581 567 * 582 568 * @uses do_action() Calls 'add_option' hook before adding the option. … … 649 635 /** 650 636 * Removes option by name. Prevents removal of protected WordPress options. 651 637 * 652 * @package WordPress653 * @subpackage Option654 638 * @since 1.2.0 655 639 * 656 640 * @uses do_action() Calls 'delete_option' hook before option is deleted. … … 693 677 * Delete a transient 694 678 * 695 679 * @since 2.8.0 696 * @package WordPress697 * @subpackage Transient698 680 * 699 681 * @uses do_action() Calls 'delete_transient_$transient' hook before transient is deleted. 700 682 * @uses do_action() Calls 'deleted_transient' hook on success. … … 735 717 * the transient value. 736 718 * 737 719 * @since 2.8.0 738 * @package WordPress739 * @subpackage Transient740 720 * 741 721 * @param string $transient Transient name. Expected to not be SQL-escaped 742 722 * @return mixed Value of transient … … 778 758 * it will be serialized before it is set. 779 759 * 780 760 * @since 2.8.0 781 * @package WordPress782 * @subpackage Transient783 761 * 784 762 * @uses apply_filters() Calls 'pre_set_transient_$transient' hook to allow overwriting the 785 763 * transient value to be stored. … … 827 805 * cookie exists (different browser used), adds the last saved cookie restoring 828 806 * the settings. 829 807 * 830 * @package WordPress831 * @subpackage Option832 808 * @since 2.7.0 833 809 */ 834 810 function wp_user_settings() { … … 870 846 /** 871 847 * Retrieve user interface setting value based on setting name. 872 848 * 873 * @package WordPress874 * @subpackage Option875 849 * @since 2.7.0 876 850 * 877 851 * @param string $name The name of the setting. … … 891 865 * Both $name and $value can contain only ASCII letters, numbers and underscores. 892 866 * This function has to be used before any output has started as it calls setcookie(). 893 867 * 894 * @package WordPress895 * @subpackage Option896 868 * @since 2.8.0 897 869 * 898 870 * @param string $name The name of the setting. … … 921 893 * Deleting settings would reset them to the defaults. 922 894 * This function has to be used before any output has started as it calls setcookie(). 923 895 * 924 * @package WordPress925 * @subpackage Option926 896 * @since 2.7.0 927 897 * 928 898 * @param mixed $names The name or array of names of the setting to be deleted. … … 952 922 /** 953 923 * Retrieve all user interface settings. 954 924 * 955 * @package WordPress956 * @subpackage Option957 925 * @since 2.7.0 958 926 * 959 927 * @return array the last saved user settings or empty array. … … 986 954 /** 987 955 * Private. Set all user interface settings. 988 956 * 989 * @package WordPress990 * @subpackage Option991 957 * @since 2.8.0 992 958 * 993 959 * @param unknown $all … … 1017 983 /** 1018 984 * Delete the user settings of the current user. 1019 985 * 1020 * @package WordPress1021 * @subpackage Option1022 986 * @since 2.7.0 1023 987 */ 1024 988 function delete_all_user_settings() { … … 1053 1017 * If the title element is not part of the XML, then the default post title from 1054 1018 * the $post_default_title will be used instead. 1055 1019 * 1056 * @package WordPress1057 * @subpackage XMLRPC1058 1020 * @since 0.71 1059 1021 * 1060 1022 * @global string $post_default_title Default XMLRPC post title. … … 1079 1041 * used. The return type then would be what $post_default_category. If the 1080 1042 * category is found, then it will always be an array. 1081 1043 * 1082 * @package WordPress1083 * @subpackage XMLRPC1084 1044 * @since 0.71 1085 1045 * 1086 1046 * @global string $post_default_category Default XMLRPC post category. … … 1102 1062 /** 1103 1063 * XMLRPC XML content without title and category elements. 1104 1064 * 1105 * @package WordPress1106 * @subpackage XMLRPC1107 1065 * @since 0.71 1108 1066 * 1109 1067 * @param string $content XMLRPC XML Request content … … 1123 1081 * to be used in anywhere. 1124 1082 * 1125 1083 * @see fopen() for mode options. 1126 * @package WordPress1127 * @subpackage Debug1128 1084 * @since 0.71 1129 1085 * @uses $debug Used for whether debugging is enabled. 1130 1086 * … … 1148 1104 * Technically, this can be used to write to any file handle when the global 1149 1105 * $debug is set to 1 or true. 1150 1106 * 1151 * @package WordPress1152 * @subpackage Debug1153 1107 * @since 0.71 1154 1108 * @uses $debug Used for whether debugging is enabled. 1155 1109 * … … 1168 1122 * Technically, this can be used to close any file handle when the global $debug 1169 1123 * is set to 1 or true. 1170 1124 * 1171 * @package WordPress1172 * @subpackage Debug1173 1125 * @since 0.71 1174 1126 * @uses $debug Used for whether debugging is enabled. 1175 1127 * … … 1188 1140 * remove enclosures that are no longer in the post. This is called as 1189 1141 * pingbacks and trackbacks. 1190 1142 * 1191 * @package WordPress1192 1143 * @since 1.5.0 1193 1144 * 1194 1145 * @uses $wpdb … … 1933 1884 /** 1934 1885 * Retrieve URL with nonce added to URL query. 1935 1886 * 1936 * @package WordPress1937 * @subpackage Security1938 1887 * @since 2.0.4 1939 1888 * 1940 1889 * @param string $actionurl URL to add nonce action … … 1969 1918 * The input name will be whatever $name value you gave. The input value will be 1970 1919 * the nonce creation value. 1971 1920 * 1972 * @package WordPress1973 * @subpackage Security1974 1921 * @since 2.0.4 1975 1922 * 1976 1923 * @param string $action Optional. Action name. … … 1997 1944 * The referer link is the current Request URI from the server super global. The 1998 1945 * input name is '_wp_http_referer', in case you wanted to check manually. 1999 1946 * 2000 * @package WordPress2001 * @subpackage Security2002 1947 * @since 2.0.4 2003 1948 * 2004 1949 * @param bool $echo Whether to echo or return the referer field. … … 2020 1965 * value of {@link wp_referer_field()}, if that was posted already or it will 2021 1966 * be the current page, if it doesn't exist. 2022 1967 * 2023 * @package WordPress2024 * @subpackage Security2025 1968 * @since 2.0.4 2026 1969 * 2027 1970 * @param bool $echo Whether to echo the original http referer … … 2040 1983 /** 2041 1984 * Retrieve referer from '_wp_http_referer', HTTP referer, or current page respectively. 2042 1985 * 2043 * @package WordPress2044 * @subpackage Security2045 1986 * @since 2.0.4 2046 1987 * 2047 1988 * @return string|bool False on failure. Referer URL on success. … … 2061 2002 /** 2062 2003 * Retrieve original referer that was posted, if it exists. 2063 2004 * 2064 * @package WordPress2065 * @subpackage Security2066 2005 * @since 2.0.4 2067 2006 * 2068 2007 * @return string|bool False if no original referer or original referer if set. … … 2425 2364 /** 2426 2365 * Retrieve the file type based on the extension name. 2427 2366 * 2428 * @package WordPress2429 2367 * @since 2.5.0 2430 2368 * @uses apply_filters() Calls 'ext2type' hook on default supported types. 2431 2369 * … … 2638 2576 * hook are the localized "Are you sure you want to do this?" message with the 2639 2577 * extra text (the text after the underscore). 2640 2578 * 2641 * @package WordPress2642 * @subpackage Security2643 2579 * @since 2.0.4 2644 2580 * 2645 2581 * @param string $action Nonce action. … … 2726 2662 * If the action has the nonce explain message, then it will be displayed along 2727 2663 * with the "Are you sure?" message. 2728 2664 * 2729 * @package WordPress2730 * @subpackage Security2731 2665 * @since 2.0.4 2732 2666 * 2733 2667 * @param string $action The nonce action. … … 2908 2842 * development environment. 2909 2843 * 2910 2844 * @access private 2911 * @package WordPress2912 2845 * @since 2.2.0 2913 2846 * 2914 2847 * @param string $url URL for the home location … … 2928 2861 * your localhost while not having to change the database to your URL. 2929 2862 * 2930 2863 * @access private 2931 * @package WordPress2932 2864 * @since 2.2.0 2933 2865 * 2934 2866 * @param string $url URL to set the WordPress site location. … … 2950 2882 * keys. These keys are then returned in the $input array. 2951 2883 * 2952 2884 * @access private 2953 * @package WordPress2954 * @subpackage MCE2955 2885 * @since 2.1.0 2956 2886 * 2957 2887 * @param array $input MCE plugin array. … … 3365 3295 * 3366 3296 * This function is to be used in every function that is deprecated. 3367 3297 * 3368 * @package WordPress3369 * @subpackage Debug3370 3298 * @since 2.5.0 3371 3299 * @access private 3372 3300 * … … 3403 3331 * 3404 3332 * This function is to be used in every file that is deprecated. 3405 3333 * 3406 * @package WordPress3407 * @subpackage Debug3408 3334 * @since 2.5.0 3409 3335 * @access private 3410 3336 * … … 3449 3375 * 3450 3376 * The current behavior is to trigger a user error if WP_DEBUG is true. 3451 3377 * 3452 * @package WordPress3453 * @subpackage Debug3454 3378 * @since 3.0.0 3455 3379 * @access private 3456 3380 * … … 3485 3409 * 3486 3410 * The current behavior is to trigger a user error if WP_DEBUG is true. 3487 3411 * 3488 * @package WordPress3489 * @subpackage Debug3490 3412 * @since 3.1.0 3491 3413 * @access private 3492 3414 * … … 3712 3634 * Retrieve site option value based on name of option. 3713 3635 * 3714 3636 * @see get_option() 3715 * @package WordPress3716 * @subpackage Option3717 3637 * @since 2.8.0 3718 3638 * 3719 3639 * @uses apply_filters() Calls 'pre_site_option_$option' before checking the option. … … 3764 3684 * Add a new site option. 3765 3685 * 3766 3686 * @see add_option() 3767 * @package WordPress3768 * @subpackage Option3769 3687 * @since 2.8.0 3770 3688 * 3771 3689 * @uses apply_filters() Calls 'pre_add_site_option_$option' hook to allow overwriting the … … 3808 3726 * Removes site option by name. 3809 3727 * 3810 3728 * @see delete_option() 3811 * @package WordPress3812 * @subpackage Option3813 3729 * @since 2.8.0 3814 3730 * 3815 3731 * @uses do_action() Calls 'pre_delete_site_option_$option' hook before option is deleted. … … 3851 3767 * 3852 3768 * @see update_option() 3853 3769 * @since 2.8.0 3854 * @package WordPress3855 * @subpackage Option3856 3770 * 3857 3771 * @uses apply_filters() Calls 'pre_update_site_option_$option' hook to allow overwriting the 3858 3772 * option value to be stored. … … 3899 3813 * Delete a site transient 3900 3814 * 3901 3815 * @since 2.9.0 3902 * @package WordPress3903 * @subpackage Transient3904 3816 * 3905 3817 * @uses do_action() Calls 'delete_site_transient_$transient' hook before transient is deleted. 3906 3818 * @uses do_action() Calls 'deleted_site_transient' hook on success. … … 3934 3846 * 3935 3847 * @see get_transient() 3936 3848 * @since 2.9.0 3937 * @package WordPress3938 * @subpackage Transient3939 3849 * 3940 3850 * @uses apply_filters() Calls 'pre_site_transient_$transient' hook before checking the transient. 3941 3851 * Any value other than false will "short-circuit" the retrieval of the transient … … 3983 3893 * 3984 3894 * @see set_transient() 3985 3895 * @since 2.9.0 3986 * @package WordPress3987 * @subpackage Transient3988 3896 * 3989 3897 * @uses apply_filters() Calls 'pre_set_site_transient_$transient' hook to allow overwriting the 3990 3898 * transient value to be stored. … … 4025 3933 /** 4026 3934 * is main site 4027 3935 * 4028 *4029 3936 * @since 3.0.0 4030 * @package WordPress4031 3937 * 4032 3938 * @param int $blog_id optional blog id to test (default current blog) 4033 3939 * @return bool True if not multisite or $blog_id is main site … … 4047 3953 /** 4048 3954 * Whether global terms are enabled. 4049 3955 * 4050 *4051 3956 * @since 3.0.0 4052 * @package WordPress4053 3957 * 4054 3958 * @return bool True if multisite and global terms enabled 4055 3959 */ -
wp-includes/link-template.php
502 502 * anchor. If no link text is specified, default text is used. If no post ID is 503 503 * specified, the current post is used. 504 504 * 505 * @package WordPress506 * @subpackage Feed507 505 * @since 2.5.0 508 506 * 509 507 * @param string $link_text Descriptive text. … … 525 523 * Returns a link to the feed for all posts by a given author. A specific feed 526 524 * can be requested or left blank to get the default feed. 527 525 * 528 * @package WordPress529 * @subpackage Feed530 526 * @since 2.5.0 531 527 * 532 528 * @param int $author_id ID of an author. … … 563 559 * Returns a link to the feed for all post in a given category. A specific feed 564 560 * can be requested or left blank to get the default feed. 565 561 * 566 * @package WordPress567 * @subpackage Feed568 562 * @since 2.5.0 569 563 * 570 564 * @param int $cat_id ID of a category. … … 1929 1923 * is_ssl() and 'http' otherwise. If $scheme is 'http' or 'https', is_ssl() is 1930 1924 * overridden. 1931 1925 * 1932 * @package WordPress1933 1926 * @since 3.0.0 1934 1927 * 1935 1928 * @uses get_home_url() … … 1949 1942 * is_ssl() and 'http' otherwise. If $scheme is 'http' or 'https', is_ssl() is 1950 1943 * overridden. 1951 1944 * 1952 * @package WordPress1953 1945 * @since 3.0.0 1954 1946 * 1955 1947 * @param int $blog_id (optional) Blog ID. Defaults to current blog. … … 1984 1976 * is_ssl() and 'http' otherwise. If $scheme is 'http' or 'https', is_ssl() is 1985 1977 * overridden. 1986 1978 * 1987 * @package WordPress1988 1979 * @since 2.6.0 1989 1980 * 1990 1981 * @uses get_site_url() … … 2004 1995 * is_ssl() and 'http' otherwise. If $scheme is 'http' or 'https', is_ssl() is 2005 1996 * overridden. 2006 1997 * 2007 * @package WordPress2008 1998 * @since 3.0.0 2009 1999 * 2010 2000 * @param int $blog_id (optional) Blog ID. Defaults to current blog. … … 2043 2033 /** 2044 2034 * Retrieve the url to the admin area for the current site. 2045 2035 * 2046 * @package WordPress2047 2036 * @since 2.6.0 2048 2037 * 2049 2038 * @param string $path Optional path relative to the admin url … … 2057 2046 /** 2058 2047 * Retrieve the url to the admin area for a given site. 2059 2048 * 2060 * @package WordPress2061 2049 * @since 3.0.0 2062 2050 * 2063 2051 * @param int $blog_id (optional) Blog ID. Defaults to current blog. … … 2077 2065 /** 2078 2066 * Retrieve the url to the includes directory. 2079 2067 * 2080 * @package WordPress2081 2068 * @since 2.6.0 2082 2069 * 2083 2070 * @param string $path Optional. Path relative to the includes url. … … 2095 2082 /** 2096 2083 * Retrieve the url to the content directory. 2097 2084 * 2098 * @package WordPress2099 2085 * @since 2.6.0 2100 2086 * 2101 2087 * @param string $path Optional. Path relative to the content url. … … 2116 2102 * Retrieve the url to the plugins directory or to a specific file within that directory. 2117 2103 * You can hardcode the plugin slug in $path or pass __FILE__ as a second argument to get the correct folder name. 2118 2104 * 2119 * @package WordPress2120 2105 * @since 2.6.0 2121 2106 * 2122 2107 * @param string $path Optional. Path relative to the plugins url. … … 2158 2143 * is_ssl() and 'http' otherwise. If $scheme is 'http' or 'https', is_ssl() is 2159 2144 * overridden. 2160 2145 * 2161 * @package WordPress2162 2146 * @since 3.0.0 2163 2147 * 2164 2148 * @param string $path Optional. Path relative to the site url. … … 2198 2182 * is_ssl() and 'http' otherwise. If $scheme is 'http' or 'https', is_ssl() is 2199 2183 * overridden. 2200 2184 * 2201 * @package WordPress2202 2185 * @since 3.0.0 2203 2186 * 2204 2187 * @param string $path (optional) Path relative to the home url. … … 2227 2210 /** 2228 2211 * Retrieve the url to the admin area for the network. 2229 2212 * 2230 * @package WordPress2231 2213 * @since 3.0.0 2232 2214 * 2233 2215 * @param string $path Optional path relative to the admin url … … 2249 2231 /** 2250 2232 * Retrieve the url to the admin area for the current user. 2251 2233 * 2252 * @package WordPress2253 2234 * @since 3.0.0 2254 2235 * 2255 2236 * @param string $path Optional path relative to the admin url … … 2268 2249 /** 2269 2250 * Retrieve the url to the admin area for either the current blog or the network depending on context. 2270 2251 * 2271 * @package WordPress2272 2252 * @since 3.1.0 2273 2253 * 2274 2254 * @param string $path Optional path relative to the admin url … … 2347 2327 /** 2348 2328 * Output rel=canonical for singular queries 2349 2329 * 2350 * @package WordPress2351 2330 * @since 2.9.0 2352 2331 */ 2353 2332 function rel_canonical() { -
wp-includes/class-wp-walker.php
251 251 * and number of elements per page, this function first determines all top level root elements 252 252 * belonging to that page, then lists them and all of their children in hierarchical order. 253 253 * 254 * @package WordPress255 254 * @since 2.7 256 255 * @param int $max_depth = 0 means display all levels; $max_depth > 0 specifies the number of display levels. 257 256 * @param int $page_num the specific page number, beginning with 1. -
wp-includes/general-template.php
2114 2114 * $file is a file relative to wp-admin/ without its ".css" extension. A 2115 2115 * stylesheet link to that generated URL is printed. 2116 2116 * 2117 * @package WordPress2118 2117 * @since 2.3.0 2119 2118 * @uses $wp_styles WordPress Styles Object 2120 2119 * -
wp-includes/deprecated.php
1687 1687 * dots added to the end. If there is content left over, then dots will be added 1688 1688 * and the rest of the content will be removed. 1689 1689 * 1690 * @package WordPress1691 * @subpackage Feed1692 1690 * @since 0.71 1693 1691 * @uses apply_filters() Calls 'the_content_rss' on the content before processing. 1694 1692 * @see get_the_content() For the $more_link_text, $stripteaser, and $more_file -
wp-includes/feed.php
16 16 * Everything will be stripped of tags and characters converted, when the values 17 17 * are retrieved for use in the feeds. 18 18 * 19 * @package WordPress20 * @subpackage Feed21 19 * @since 1.5.1 22 20 * @uses apply_filters() Calls 'get_bloginfo_rss' hook with two parameters. 23 21 * @see get_bloginfo() For the list of possible values to display. … … 37 35 * Everything will be stripped of tags and characters converted, when the values 38 36 * are retrieved for use in the feeds. 39 37 * 40 * @package WordPress41 * @subpackage Feed42 38 * @since 0.71 43 39 * @uses apply_filters() Calls 'bloginfo_rss' hook with two parameters. 44 40 * @see get_bloginfo() For the list of possible values to display. … … 55 51 * The default feed is 'rss2', unless a plugin changes it through the 56 52 * 'default_feed' filter. 57 53 * 58 * @package WordPress59 * @subpackage Feed60 54 * @since 2.5 61 55 * @uses apply_filters() Calls 'default_feed' hook on the default feed string. 62 56 * … … 69 63 /** 70 64 * Retrieve the blog title for the feed title. 71 65 * 72 * @package WordPress73 * @subpackage Feed74 66 * @since 2.2.0 75 67 * @uses apply_filters() Calls 'get_wp_title_rss' hook on title. 76 68 * @uses wp_title() See function for $sep parameter usage. … … 89 81 /** 90 82 * Display the blog title for display of the feed title. 91 83 * 92 * @package WordPress93 * @subpackage Feed94 84 * @since 2.2.0 95 85 * @uses apply_filters() Calls 'wp_title_rss' on the blog title. 96 86 * @see wp_title() $sep parameter usage. … … 104 94 /** 105 95 * Retrieve the current post title for the feed. 106 96 * 107 * @package WordPress108 * @subpackage Feed109 97 * @since 2.0.0 110 98 * @uses apply_filters() Calls 'the_title_rss' on the post title. 111 99 * … … 120 108 /** 121 109 * Display the post title in the feed. 122 110 * 123 * @package WordPress124 * @subpackage Feed125 111 * @since 0.71 126 112 * @uses get_the_title_rss() Used to retrieve current post title. 127 113 */ … … 132 118 /** 133 119 * Retrieve the post content for feeds. 134 120 * 135 * @package WordPress136 * @subpackage Feed137 121 * @since 2.9.0 138 122 * @uses apply_filters() Calls 'the_content_feed' on the content before processing. 139 123 * @see get_the_content() … … 152 136 /** 153 137 * Display the post content for feeds. 154 138 * 155 * @package WordPress156 * @subpackage Feed157 139 * @since 2.9.0 158 140 * @uses apply_filters() Calls 'the_content_feed' on the content before processing. 159 141 * @see get_the_content() … … 167 149 /** 168 150 * Display the post excerpt for the feed. 169 151 * 170 * @package WordPress171 * @subpackage Feed172 152 * @since 0.71 173 153 * @uses apply_filters() Calls 'the_excerpt_rss' hook on the excerpt. 174 154 */ … … 180 160 /** 181 161 * Display the permalink to the post for use in feeds. 182 162 * 183 * @package WordPress184 * @subpackage Feed185 163 * @since 2.3.0 186 164 * @uses apply_filters() Call 'the_permalink_rss' on the post permalink 187 165 */ … … 202 180 /** 203 181 * Display the feed GUID for the current comment. 204 182 * 205 * @package WordPress206 * @subpackage Feed207 183 * @since 2.5.0 208 184 * 209 185 * @param int|object $comment_id Optional comment object or id. Defaults to global comment object. … … 215 191 /** 216 192 * Retrieve the feed GUID for the current comment. 217 193 * 218 * @package WordPress219 * @subpackage Feed220 194 * @since 2.5.0 221 195 * 222 196 * @param int|object $comment_id Optional comment object or id. Defaults to global comment object. … … 243 217 /** 244 218 * Retrieve the current comment author for use in the feeds. 245 219 * 246 * @package WordPress247 * @subpackage Feed248 220 * @since 2.0.0 249 221 * @uses apply_filters() Calls 'comment_author_rss' hook on comment author. 250 222 * @uses get_comment_author() … … 258 230 /** 259 231 * Display the current comment author in the feed. 260 232 * 261 * @package WordPress262 * @subpackage Feed263 233 * @since 1.0.0 264 234 */ 265 235 function comment_author_rss() { … … 269 239 /** 270 240 * Display the current comment content for use in the feeds. 271 241 * 272 * @package WordPress273 * @subpackage Feed274 242 * @since 1.0.0 275 243 * @uses apply_filters() Calls 'comment_text_rss' filter on comment content. 276 244 * @uses get_comment_text() … … 288 256 * retrieved and have feed markup added, so that they can easily be added to the 289 257 * RSS2, Atom, or RSS1 and RSS0.91 RDF feeds. 290 258 * 291 * @package WordPress292 * @subpackage Feed293 259 * @since 2.1.0 294 260 * @uses apply_filters() 295 261 * … … 333 299 /** 334 300 * Display the post categories in the feed. 335 301 * 336 * @package WordPress337 * @subpackage Feed338 302 * @since 0.71 339 303 * @see get_the_category_rss() For better explanation. 340 304 * … … 349 313 * 350 314 * The two possible values are either 'xhtml' or 'html'. 351 315 * 352 * @package WordPress353 * @subpackage Feed354 316 * @since 2.2.0 355 317 */ 356 318 function html_type_rss() { … … 374 336 * enclosure(s) consist of enclosure HTML tag(s) with a URI and other 375 337 * attributes. 376 338 * 377 * @package WordPress378 * @subpackage Template379 339 * @since 1.5.0 380 340 * @uses apply_filters() Calls 'rss_enclosure' hook on rss enclosure. 381 341 * @uses get_post_custom() To get the current post enclosure metadata. … … 410 370 * metadata field and parses the value to display the enclosure(s). The 411 371 * enclosure(s) consist of link HTML tag(s) with a URI and other attributes. 412 372 * 413 * @package WordPress414 * @subpackage Template415 373 * @since 2.2.0 416 374 * @uses apply_filters() Calls 'atom_enclosure' hook on atom enclosure. 417 375 * @uses get_post_custom() To get the current post enclosure metadata. … … 442 400 * 443 401 * @link http://www.atomenabled.org/developers/syndication/atom-format-spec.php#rfc.section.3.1 444 402 * 445 * @package WordPress446 * @subpackage Feed447 403 * @since 2.5 448 404 * 449 405 * @param string $data Input string … … 480 436 * 481 437 * Generate a correct link for the atom:self element. 482 438 * 483 * @package WordPress484 * @subpackage Feed485 439 * @since 2.5 486 440 */ 487 441 function self_link() { … … 498 452 /** 499 453 * Return the content type for specified feed type. 500 454 * 501 * @package WordPress502 * @subpackage Feed503 455 * @since 2.8.0 504 456 */ 505 457 function feed_content_type( $type = '' ) { -
wp-app.php
2 2 /** 3 3 * Atom Publishing Protocol support for WordPress 4 4 * 5 * @package WordPress 6 * @subpackage Publishing 5 7 * @version 1.0.5-dc 6 8 */ 7 9 … … 45 47 * 46 48 * @since 2.2.0 47 49 * @uses $app_logging 48 * @package WordPress49 * @subpackage Logging50 50 * 51 51 * @param string $label Type of logging 52 52 * @param string $msg Information describing logging reason. -
xmlrpc.php
76 76 * logIO() - Writes logging info to a file. 77 77 * 78 78 * @uses $xmlrpc_logging 79 * @package WordPress80 * @subpackage Logging81 79 * 82 80 * @param string $io Whether input or output 83 81 * @param string $msg Information describing logging reason. -
wp-admin/includes/class-wp-filesystem-base.php
9 9 /** 10 10 * Base WordPress Filesystem class for which Filesystem implementations extend 11 11 * 12 * @package WordPress 13 * @subpackage Filesystem 12 14 * @since 2.5 13 15 */ 14 16 class WP_Filesystem_Base { -
wp-admin/includes/post.php
11 11 * 12 12 * Manipulates $_POST directly. 13 13 * 14 * @package WordPress15 14 * @since 2.6.0 16 15 * 17 16 * @param bool $update Are we updating a pre-existing post? … … 1294 1293 /** 1295 1294 * Creates autosave data for the specified post from $_POST data. 1296 1295 * 1297 * @package WordPress1298 * @subpackage Post_Revisions1299 1296 * @since 2.6.0 1300 1297 * 1301 1298 * @uses _wp_translate_postdata() … … 1326 1323 /** 1327 1324 * Save draft or manually autosave for showing preview. 1328 1325 * 1329 * @package WordPress1330 1326 * @since 2.7.0 1331 1327 * 1332 1328 * @uses wp_write_post() … … 1388 1384 /** 1389 1385 * Adds the TinyMCE editor used on the Write and Edit screens. 1390 1386 * 1391 * @package WordPress1392 1387 * @since 2.7.0 1393 1388 * 1394 1389 * TinyMCE is loaded separately from other Javascript by using wp-tinymce.php. It outputs concatenated -
wp-admin/install-helper.php
55 55 * Create database table, if it doesn't already exist. 56 56 * 57 57 * @since 1.0.0 58 * @package WordPress59 * @subpackage Plugin60 58 * @uses $wpdb 61 59 * 62 60 * @param string $table_name Database table name. … … 87 85 * Add column to database table, if column doesn't already exist in table. 88 86 * 89 87 * @since 1.0.0 90 * @package WordPress91 * @subpackage Plugin92 88 * @uses $wpdb 93 89 * @uses $debug 94 90 * … … 122 118 * Drop column from database table, if it exists. 123 119 * 124 120 * @since 1.0.0 125 * @package WordPress126 * @subpackage Plugin127 121 * @uses $wpdb 128 122 * 129 123 * @param string $table_name Table name … … 166 160 * Extra 167 161 * 168 162 * @since 1.0.0 169 * @package WordPress170 * @subpackage Plugin171 163 * 172 164 * @param string $table_name Table name 173 165 * @param string $col_name Column name -
wp-admin/options-general.php
19 19 20 20 /** 21 21 * Display JavaScript on the page. 22 *23 * @package WordPress24 * @subpackage General_Settings_Screen25 22 */ 26 23 function add_js() { 27 24 ?> -
wp-admin/press-this.php
19 19 /** 20 20 * Press It form handler. 21 21 * 22 * @package WordPress23 * @subpackage Press_This24 22 * @since 2.6.0 25 23 * 26 24 * @return int Post ID … … 196 194 /** 197 195 * Retrieve all image URLs from given URI. 198 196 * 199 * @package WordPress200 * @subpackage Press_This201 197 * @since 2.6.0 202 198 * 203 199 * @param string $uri -
wp-admin/options-reading.php
17 17 18 18 /** 19 19 * Display JavaScript on the page. 20 *21 * @package WordPress22 * @subpackage Reading_Settings_Screen23 20 */ 24 21 function add_js() { 25 22 ?> -
wp-admin/setup-config.php
74 74 * 75 75 * @ignore 76 76 * @since 2.3.0 77 * @package WordPress78 * @subpackage Installer_WP_Config79 77 */ 80 78 function display_header() { 81 79 header( 'Content-Type: text/html; charset=utf-8' ); -
wp-admin/install.php
47 47 * Display install header. 48 48 * 49 49 * @since 2.5.0 50 * @package WordPress51 * @subpackage Installer52 50 */ 53 51 function display_header() { 54 52 header( 'Content-Type: text/html; charset=utf-8' ); … … 70 68 * Display installer setup form. 71 69 * 72 70 * @since 2.8.0 73 * @package WordPress74 * @subpackage Installer75 71 */ 76 72 function display_setup_form( $error = null ) { 77 73 global $wpdb; -
wp-admin/link-parse-opml.php
70 70 * 71 71 * @since 0.71 72 72 * @access private 73 * @package WordPress74 * @subpackage Dummy75 73 * 76 74 * @param mixed $parser XML Parser resource. 77 75 * @param string $tagName XML tag name. -
wp-admin/options-permalink.php
30 30 31 31 /** 32 32 * Display JavaScript on the page. 33 *34 * @package WordPress35 * @subpackage Permalink_Settings_Screen36 33 */ 37 34 function add_js() { 38 35 ?>
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)