Changeset 28653
- Timestamp:
- 06/03/2014 03:52:46 AM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r28561 r28653 1464 1464 * 1465 1465 * @since 2.7.0 1466 * @param mixed $post Post id or object. If not supplied the global $post is used. 1467 * @return string The post title if set 1466 * 1467 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`. 1468 * @return string The post title if set. 1468 1469 */ 1469 1470 function _draft_or_post_title( $post = 0 ) { -
trunk/src/wp-includes/media.php
r28652 r28653 2975 2975 * @since 3.6.0 2976 2976 * 2977 * @param string $type (Mime) type of media desired2978 * @param mixed $post Post ID or object2979 * @return array Found attachments 2977 * @param string $type Mime type. 2978 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`. 2979 * @return array Found attachments. 2980 2980 */ 2981 2981 function get_attached_media( $type, $post = 0 ) { … … 3101 3101 * @since 3.6.0 3102 3102 * 3103 * @param int|WP_Post $post Optional. Post ID or object.3103 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`. 3104 3104 * @param bool $html Whether to return HTML or data. 3105 3105 * @return string|array Gallery data and srcs parsed from the expanded shortcode. … … 3126 3126 * @since 3.6.0 3127 3127 * 3128 * @param mixed $post Optional. Post ID or object.3129 * @return array A list of lists, each containing image srcs parsed 3128 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`. 3129 * @return array A list of lists, each containing image srcs parsed. 3130 3130 * from an expanded shortcode 3131 3131 */ … … 3140 3140 * @since 3.6.0 3141 3141 * 3142 * @param mixed $post Optional. Post ID or object.3143 * @return array A list of a gallery's image srcs in order 3142 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`. 3143 * @return array A list of a gallery's image srcs in order. 3144 3144 */ 3145 3145 function get_post_gallery_images( $post = 0 ) { -
trunk/src/wp-includes/post-template.php
r28571 r28653 105 105 * @since 0.71 106 106 * 107 * @param int|WP_Post $post Optional. Post ID or post object.107 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`. 108 108 * @return string 109 109 */ … … 1546 1546 * 1547 1547 * @since 1.0.0 1548 * @uses apply_filters() Calls 'the_password_form' filter on output.1549 * @param int|WP_Post $post Optional. A post ID or post object.1548 * 1549 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`. 1550 1550 * @return string HTML content for password form for password protected post. 1551 1551 */ -
trunk/src/wp-includes/taxonomy.php
r28618 r28653 3767 3767 * @since 2.5.0 3768 3768 * 3769 * @param int|WP_Post $post Optional. Post ID or post object.3769 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`. 3770 3770 * @param array $args Override the defaults. 3771 * @return array 3771 * @return array List of taxonomies. 3772 3772 */ 3773 3773 function get_the_taxonomies( $post = 0, $args = array() ) { … … 3816 3816 * 3817 3817 * @since 2.5.0 3818 * 3818 3819 * @uses get_object_taxonomies() 3819 3820 * 3820 * @param int|WP_Post $post Optional. Post ID or post object.3821 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`. 3821 3822 * @return array 3822 3823 */ 3823 function get_post_taxonomies( $post = 0) {3824 function get_post_taxonomies( $post = 0 ) { 3824 3825 $post = get_post( $post ); 3825 3826
Note: See TracChangeset
for help on using the changeset viewer.