Changeset 28976
- Timestamp:
- 07/03/2014 07:27:54 PM (11 years ago)
- Location:
- trunk/src
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r28916 r28976 520 520 * @access protected 521 521 * 522 * @param int $post_id 523 * @param int $pending_comments 522 * @param int $post_id The post ID. 523 * @param int $pending_comments Number of pending comments. 524 524 */ 525 525 protected function comments_bubble( $post_id, $pending_comments ) { -
trunk/src/wp-admin/includes/template.php
r28897 r28976 1473 1473 * @since 2.7.0 1474 1474 * 1475 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`.1475 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post. 1476 1476 * @return string The post title if set. 1477 1477 */ -
trunk/src/wp-includes/comment-template.php
r28912 r28976 642 642 * @since 1.5.0 643 643 * 644 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global `$post`.644 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global $post. 645 645 * @return string The link to the comments. 646 646 */ … … 679 679 * @since 1.5.0 680 680 * 681 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global `$post`.681 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global $post. 682 682 * @return int The number of comments a post has. 683 683 */ -
trunk/src/wp-includes/link-template.php
r28770 r28976 291 291 * @since 1.0.0 292 292 * 293 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global `$post`.293 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global $post. 294 294 * @param mixed $deprecated Not used. 295 295 * @return string -
trunk/src/wp-includes/media.php
r28959 r28976 3023 3023 * 3024 3024 * @param string $type Mime type. 3025 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`.3025 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post. 3026 3026 * @return array Found attachments. 3027 3027 */ … … 3148 3148 * @since 3.6.0 3149 3149 * 3150 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`.3150 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post. 3151 3151 * @param bool $html Whether to return HTML or data. 3152 3152 * @return string|array Gallery data and srcs parsed from the expanded shortcode. … … 3173 3173 * @since 3.6.0 3174 3174 * 3175 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`.3175 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post. 3176 3176 * @return array A list of lists, each containing image srcs parsed. 3177 3177 * from an expanded shortcode … … 3187 3187 * @since 3.6.0 3188 3188 * 3189 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`.3189 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post. 3190 3190 * @return array A list of a gallery's image srcs in order. 3191 3191 */ -
trunk/src/wp-includes/post-template.php
r28963 r28976 106 106 * @since 0.71 107 107 * 108 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`.108 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post. 109 109 * @return string 110 110 */ … … 1566 1566 * @since 1.0.0 1567 1567 * 1568 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`.1568 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post. 1569 1569 * @return string HTML content for password form for password protected post. 1570 1570 */ … … 1739 1739 * @uses get_the_author_meta() 1740 1740 * 1741 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global `$post`.1741 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global $post. 1742 1742 * @param string $type 'all' (default), 'revision' or 'autosave' 1743 1743 * @return null -
trunk/src/wp-includes/post.php
r28955 r28976 1869 1869 * @link http://codex.wordpress.org/Function_Reference/get_post_custom 1870 1870 * 1871 * @param int $post_id Optional. Post ID. Default is ID of the global `$post`.1871 * @param int $post_id Optional. Post ID. Default is ID of the global $post. 1872 1872 * @return array Post meta for the given post. 1873 1873 */ … … 1888 1888 * @link http://codex.wordpress.org/Function_Reference/get_post_custom_keys 1889 1889 * 1890 * @param int $post_id Optional. Post ID. Default is ID of the global `$post`.1890 * @param int $post_id Optional. Post ID. Default is ID of the global $post. 1891 1891 * @return array|null Either array of the keys, or null if keys could not be retrieved. 1892 1892 */ … … 1911 1911 * 1912 1912 * @param string $key Meta field key. 1913 * @param int $post_id Optional. Post ID. Default is ID of the global `$post`.1913 * @param int $post_id Optional. Post ID. Default is ID of the global $post. 1914 1914 * @return array Meta field values. 1915 1915 */ … … 1931 1931 * @since 2.7.0 1932 1932 * 1933 * @param int $post_id Optional. Post ID. Default is ID of the global `$post`.1933 * @param int $post_id Optional. Post ID. Default is ID of the global $post. 1934 1934 * @return bool Whether post is sticky. 1935 1935 */ … … 2625 2625 * @since 2.9.0 2626 2626 * 2627 * @param int $post_id Optional. Post ID. Default is ID of the global `$post`.2627 * @param int $post_id Optional. Post ID. Default is ID of the global $post. 2628 2628 * @return mixed False on failure 2629 2629 */ … … 2789 2789 * @uses wp_get_object_terms() Retrieves the categories. Args details can be found here. 2790 2790 * 2791 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`.2791 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global $post. 2792 2792 * @param array $args Optional. Overwrite the defaults. 2793 2793 * @return array … … 2814 2814 * @uses wp_get_object_terms() Gets the tags for returning. Args can be found here 2815 2815 * 2816 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`.2816 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global $post. 2817 2817 * @param array $args Optional. Overwrite the defaults 2818 2818 * @return array List of post tags. … … 2833 2833 * @uses wp_get_object_terms() Gets the tags for returning. Args can be found here 2834 2834 * 2835 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`.2835 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global $post. 2836 2836 * @param string $taxonomy The taxonomy for which to retrieve terms. Defaults to post_tag. 2837 2837 * @param array $args Optional. {@link wp_get_object_terms()} arguments. … … 3647 3647 * @since 2.3.0 3648 3648 * 3649 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`.3649 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global $post. 3650 3650 * @param string $tags The tags to set for the post, separated by commas. 3651 3651 * @return bool|null Will return false if $post_id is not an integer or is 0. Will return null otherwise … … 3661 3661 * @uses wp_set_object_terms() Sets the tags for the post. 3662 3662 * 3663 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`.3663 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global $post. 3664 3664 * @param string $tags The tags to set for the post, separated by commas. 3665 3665 * @param bool $append If true, don't delete existing tags, just add on. If false, replace the tags with the new tags. … … 3676 3676 * @uses wp_set_object_terms() Sets the tags for the post. 3677 3677 * 3678 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`.3678 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global $post. 3679 3679 * @param string $tags The tags to set for the post, separated by commas. 3680 3680 * @param string $taxonomy Taxonomy name. Defaults to 'post_tag'. … … 3715 3715 * @since 2.1.0 3716 3716 * 3717 * @param int $post_ID Optional. The Post ID. Does not default to the ID of the global `$post`.3717 * @param int $post_ID Optional. The Post ID. Does not default to the ID of the global $post. 3718 3718 * @param array|int $post_categories Optional. List of categories or ID of category. 3719 3719 * @param bool $append If true, don't delete existing categories, just add on. If false, replace the categories with the new categories. -
trunk/src/wp-includes/revision.php
r28654 r28976 410 410 * @uses get_children() 411 411 * 412 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global `$post`.412 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global $post. 413 413 * @return array An array of revisions, or an empty array if none. 414 414 */ -
trunk/src/wp-includes/taxonomy.php
r28957 r28976 3779 3779 * @since 2.5.0 3780 3780 * 3781 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`.3781 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post. 3782 3782 * @param array $args Override the defaults. 3783 3783 * @return array List of taxonomies. … … 3832 3832 * @uses get_object_taxonomies() 3833 3833 * 3834 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`.3834 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post. 3835 3835 * @return array 3836 3836 */
Note: See TracChangeset
for help on using the changeset viewer.