Changeset 30681 for trunk/src/wp-includes/deprecated.php
- Timestamp:
- 12/01/2014 01:33:34 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r30538 r30681 428 428 * @param string $category The category to use. 429 429 * @param string $args 430 * @return bool|null430 * @return string|null 431 431 */ 432 432 function wp_get_linksbyname($category, $args = '') { … … 579 579 * order which will return links in a random order. 580 580 * @param bool $show_description Whether to show the description if show_images=false/not defined. 581 * @param string$limit Limit to X entries. If not specified, all entries are shown.581 * @param int $limit Limit to X entries. If not specified, all entries are shown. 582 582 * @param int $show_updated Whether to show last updated timestamp 583 583 */ … … 628 628 * @param string $exclude 629 629 * @param bool $hierarchical 630 * @return string630 * @return false|null 631 631 */ 632 632 function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_order = 'asc', $file = '', $list = true, $optiondates = 0, … … 647 647 * 648 648 * @param string|array $args 649 * @return string649 * @return false|null|string 650 650 */ 651 651 function wp_list_cats($args = '') { … … 1157 1157 * @param bool $echo 1158 1158 * @param int $cat_ID 1159 * @return string |null1159 * @return string 1160 1160 */ 1161 1161 function get_category_rss_link($echo = false, $cat_ID = 1) { … … 1179 1179 * @param bool $echo 1180 1180 * @param int $author_id 1181 * @return string |null1181 * @return string 1182 1182 */ 1183 1183 function get_author_rss_link($echo = false, $author_id = 1) { … … 1658 1658 * @see get_the_author_meta() 1659 1659 * 1660 * @return int The author's ID.1660 * @return string|int The author's ID. 1661 1661 */ 1662 1662 function get_the_author_ID() { … … 1702 1702 * 1703 1703 * @param string $more_link_text Optional. Text to display when more content is available but not displayed. 1704 * @param int |bool$stripteaser Optional. Default is 0.1704 * @param int $stripteaser Optional. Default is 0. 1705 1705 * @param string $more_file Optional. 1706 1706 * @param int $cut Optional. Amount of words to keep for the content. … … 1961 1961 * @param bool $fullsize Optional, default to false. Whether to have full size image. 1962 1962 * @param array $max_dims Optional. Dimensions of image. 1963 * @return string HTML content.1963 * @return false|string HTML content. 1964 1964 */ 1965 1965 function get_attachment_icon( $id = 0, $fullsize = false, $max_dims = false ) { … … 2018 2018 * @param bool $fullsize Optional, default to false. Whether to have full size image. 2019 2019 * @param array $max_dims Optional. Dimensions of image. 2020 * @return string2020 * @return false|string 2021 2021 */ 2022 2022 function get_attachment_innerHTML($id = 0, $fullsize = false, $max_dims = false) { … … 3042 3042 * @see remove_theme_support() 3043 3043 * 3044 * @return bool Whether support was removed.3044 * @return null|bool Whether support was removed. 3045 3045 */ 3046 3046 function remove_custom_image_header() { … … 3079 3079 * @see add_custom_background() 3080 3080 * 3081 * @return bool Whether support was removed.3081 * @return null|bool Whether support was removed. 3082 3082 */ 3083 3083 function remove_custom_background() { … … 3293 3293 * @param int $postid Post ID. 3294 3294 * @param string $mode How to return result, either OBJECT, ARRAY_N, or ARRAY_A. 3295 * @return object|arrayPost object or array holding post contents and information3295 * @return WP_Post|null Post object or array holding post contents and information 3296 3296 */ 3297 3297 function wp_get_single_post( $postid = 0, $mode = OBJECT ) {
Note: See TracChangeset
for help on using the changeset viewer.