Changeset 36763
- Timestamp:
- 02/28/2016 07:31:31 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r36760 r36763 14 14 15 15 /** 16 * Entire Post data.16 * Retrieves all post data for a given post. 17 17 * 18 18 * @since 0.71 … … 20 20 * @see get_post() 21 21 * 22 * @param int $postid 23 * @return array 22 * @param int $postid Post ID. 23 * @return array Post data. 24 24 */ 25 25 function get_postdata($postid) { … … 71 71 72 72 /** 73 * Return or Print Category ID.73 * Returns or prints a category ID. 74 74 * 75 75 * @since 0.71 … … 77 77 * @see get_the_category() 78 78 * 79 * @param bool $echo 80 * @return null|int79 * @param bool $echo Optional. Whether to echo the output. Default true. 80 * @return int Category ID. 81 81 */ 82 82 function the_category_ID($echo = true) { … … 94 94 95 95 /** 96 * Print category with optional text before and after.96 * Prints a category with optional text before and after. 97 97 * 98 98 * @since 0.71 … … 100 100 * @see get_the_category_by_ID() 101 101 * 102 * @param string $before 103 * @param string $after 104 */ 105 function the_category_head( $before='', $after='') {102 * @param string $before Optional. Text to display before the category. Default empty. 103 * @param string $after Optional. Text to display after the category. Default empty. 104 */ 105 function the_category_head( $before = '', $after = '' ) { 106 106 global $currentcat, $previouscat; 107 107 … … 120 120 121 121 /** 122 * Prints link to the previous post.122 * Prints a link to the previous post. 123 123 * 124 124 * @since 1.5.0 … … 130 130 * @param string $title 131 131 * @param string $in_same_cat 132 * @param int $limitprev132 * @param int $limitprev 133 133 * @param string $excluded_categories 134 134 */
Note: See TracChangeset
for help on using the changeset viewer.