diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php
index 066e62c..5d6e4e9 100644
|
a
|
b
|
$tablepostmeta = $wpdb->postmeta; |
| 86 | 86 | * @return array |
| 87 | 87 | */ |
| 88 | 88 | function get_postdata($postid) { |
| 89 | | _deprecated_function(__FUNCTION__, '0.0', 'get_post()'); |
| | 89 | _deprecated_function(__FUNCTION__, '0.71', 'get_post()'); |
| 90 | 90 | |
| 91 | 91 | $post = &get_post($postid); |
| 92 | 92 | |
| … |
… |
function start_wp() { |
| 139 | 139 | * @return null|int |
| 140 | 140 | */ |
| 141 | 141 | function the_category_ID($echo = true) { |
| 142 | | _deprecated_function(__FUNCTION__, '0.0', 'get_the_category()'); |
| | 142 | _deprecated_function(__FUNCTION__, '0.71', 'get_the_category()'); |
| 143 | 143 | |
| 144 | 144 | // Grab the first cat in the list. |
| 145 | 145 | $categories = get_the_category(); |
| … |
… |
function the_category_ID($echo = true) { |
| 164 | 164 | function the_category_head($before='', $after='') { |
| 165 | 165 | global $currentcat, $previouscat; |
| 166 | 166 | |
| 167 | | _deprecated_function(__FUNCTION__, '0.0', 'get_the_category_by_ID()'); |
| | 167 | _deprecated_function(__FUNCTION__, '0.71', 'get_the_category_by_ID()'); |
| 168 | 168 | |
| 169 | 169 | // Grab the first cat in the list. |
| 170 | 170 | $categories = get_the_category(); |
| … |
… |
function the_category_head($before='', $after='') { |
| 193 | 193 | */ |
| 194 | 194 | function previous_post($format='%', $previous='previous post: ', $title='yes', $in_same_cat='no', $limitprev=1, $excluded_categories='') { |
| 195 | 195 | |
| 196 | | _deprecated_function(__FUNCTION__, '0.0', 'previous_post_link()'); |
| | 196 | _deprecated_function(__FUNCTION__, '1.5', 'previous_post_link()'); |
| 197 | 197 | |
| 198 | 198 | if ( empty($in_same_cat) || 'no' == $in_same_cat ) |
| 199 | 199 | $in_same_cat = false; |
| … |
… |
function previous_post($format='%', $previous='previous post: ', $title='yes', $ |
| 228 | 228 | * @param string $excluded_categories |
| 229 | 229 | */ |
| 230 | 230 | function next_post($format='%', $next='next post: ', $title='yes', $in_same_cat='no', $limitnext=1, $excluded_categories='') { |
| 231 | | _deprecated_function(__FUNCTION__, '0.0', 'next_post_link()'); |
| | 231 | _deprecated_function(__FUNCTION__, '0.71', 'next_post_link()'); |
| 232 | 232 | |
| 233 | 233 | if ( empty($in_same_cat) || 'no' == $in_same_cat ) |
| 234 | 234 | $in_same_cat = false; |
| … |
… |
function next_post($format='%', $next='next post: ', $title='yes', $in_same_cat= |
| 261 | 261 | * @return bool |
| 262 | 262 | */ |
| 263 | 263 | function user_can_create_post($user_id, $blog_id = 1, $category_id = 'None') { |
| 264 | | _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()'); |
| | 264 | _deprecated_function(__FUNCTION__, '1.5', 'current_user_can()'); |
| 265 | 265 | |
| 266 | 266 | $author_data = get_userdata($user_id); |
| 267 | 267 | return ($author_data->user_level > 1); |
| … |
… |
function user_can_create_post($user_id, $blog_id = 1, $category_id = 'None') { |
| 280 | 280 | * @return bool |
| 281 | 281 | */ |
| 282 | 282 | function user_can_create_draft($user_id, $blog_id = 1, $category_id = 'None') { |
| 283 | | _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()'); |
| | 283 | _deprecated_function(__FUNCTION__, '1.5', 'current_user_can()'); |
| 284 | 284 | |
| 285 | 285 | $author_data = get_userdata($user_id); |
| 286 | 286 | return ($author_data->user_level >= 1); |
| … |
… |
function user_can_edit_post($user_id, $post_id, $blog_id = 1) { |
| 327 | 327 | * @return bool |
| 328 | 328 | */ |
| 329 | 329 | function user_can_delete_post($user_id, $post_id, $blog_id = 1) { |
| 330 | | _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()'); |
| | 330 | _deprecated_function(__FUNCTION__, '1.5', 'current_user_can()'); |
| 331 | 331 | |
| 332 | 332 | // right now if one can edit, one can delete |
| 333 | 333 | return user_can_edit_post($user_id, $post_id, $blog_id); |
| … |
… |
function user_can_delete_post($user_id, $post_id, $blog_id = 1) { |
| 346 | 346 | * @return bool |
| 347 | 347 | */ |
| 348 | 348 | function user_can_set_post_date($user_id, $blog_id = 1, $category_id = 'None') { |
| 349 | | _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()'); |
| | 349 | _deprecated_function(__FUNCTION__, '1.5', 'current_user_can()'); |
| 350 | 350 | |
| 351 | 351 | $author_data = get_userdata($user_id); |
| 352 | 352 | return (($author_data->user_level > 4) && user_can_create_post($user_id, $blog_id, $category_id)); |
| … |
… |
function user_can_set_post_date($user_id, $blog_id = 1, $category_id = 'None') { |
| 366 | 366 | * @return bool |
| 367 | 367 | */ |
| 368 | 368 | function user_can_edit_post_date($user_id, $post_id, $blog_id = 1) { |
| 369 | | _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()'); |
| | 369 | _deprecated_function(__FUNCTION__, '1.5', 'current_user_can()'); |
| 370 | 370 | |
| 371 | 371 | $author_data = get_userdata($user_id); |
| 372 | 372 | return (($author_data->user_level > 4) && user_can_edit_post($user_id, $post_id, $blog_id)); |
| … |
… |
function user_can_edit_post_date($user_id, $post_id, $blog_id = 1) { |
| 386 | 386 | * @return bool |
| 387 | 387 | */ |
| 388 | 388 | function user_can_edit_post_comments($user_id, $post_id, $blog_id = 1) { |
| 389 | | _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()'); |
| | 389 | _deprecated_function(__FUNCTION__, '1.5', 'current_user_can()'); |
| 390 | 390 | |
| 391 | 391 | // right now if one can edit a post, one can edit comments made on it |
| 392 | 392 | return user_can_edit_post($user_id, $post_id, $blog_id); |
| … |
… |
function user_can_edit_post_comments($user_id, $post_id, $blog_id = 1) { |
| 406 | 406 | * @return bool |
| 407 | 407 | */ |
| 408 | 408 | function user_can_delete_post_comments($user_id, $post_id, $blog_id = 1) { |
| 409 | | _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()'); |
| | 409 | _deprecated_function(__FUNCTION__, '1.5', 'current_user_can()'); |
| 410 | 410 | |
| 411 | 411 | // right now if one can edit comments, one can delete comments |
| 412 | 412 | return user_can_edit_post_comments($user_id, $post_id, $blog_id); |
| … |
… |
function user_can_delete_post_comments($user_id, $post_id, $blog_id = 1) { |
| 424 | 424 | * @return bool |
| 425 | 425 | */ |
| 426 | 426 | function user_can_edit_user($user_id, $other_user) { |
| 427 | | _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()'); |
| | 427 | _deprecated_function(__FUNCTION__, '1.5', 'current_user_can()'); |
| 428 | 428 | |
| 429 | 429 | $user = get_userdata($user_id); |
| 430 | 430 | $other = get_userdata($other_user); |
| … |
… |
function user_can_edit_user($user_id, $other_user) { |
| 457 | 457 | function get_linksbyname($cat_name = "noname", $before = '', $after = '<br />', $between = " ", $show_images = true, $orderby = 'id', |
| 458 | 458 | $show_description = true, $show_rating = false, |
| 459 | 459 | $limit = -1, $show_updated = 0) { |
| 460 | | _deprecated_function(__FUNCTION__, '0.0', 'get_links()'); |
| | 460 | _deprecated_function(__FUNCTION__, '0.71', 'get_links()'); |
| 461 | 461 | |
| 462 | 462 | $cat_id = -1; |
| 463 | 463 | $cat = get_term_by('name', $cat_name, 'link_category'); |
| … |
… |
function get_linksbyname($cat_name = "noname", $before = '', $after = '<br />', |
| 479 | 479 | * @return bool|null |
| 480 | 480 | */ |
| 481 | 481 | function wp_get_linksbyname($category, $args = '') { |
| 482 | | _deprecated_function(__FUNCTION__, '0.0', 'wp_get_links()'); |
| | 482 | _deprecated_function(__FUNCTION__, '1.0.1', 'wp_get_links()'); |
| 483 | 483 | |
| 484 | 484 | $cat = get_term_by('name', $category, 'link_category'); |
| 485 | 485 | if ( !$cat ) |
| … |
… |
function wp_get_linksbyname($category, $args = '') { |
| 512 | 512 | * @return unknown |
| 513 | 513 | */ |
| 514 | 514 | function get_linkobjectsbyname($cat_name = "noname" , $orderby = 'name', $limit = -1) { |
| 515 | | _deprecated_function(__FUNCTION__, '0.0', 'get_linkobjects()'); |
| | 515 | _deprecated_function(__FUNCTION__, '1.0.1', 'get_linkobjects()'); |
| 516 | 516 | |
| 517 | 517 | $cat_id = -1; |
| 518 | 518 | $cat = get_term_by('name', $cat_name, 'link_category'); |
| … |
… |
function get_linkobjectsbyname($cat_name = "noname" , $orderby = 'name', $limit |
| 565 | 565 | * @return unknown |
| 566 | 566 | */ |
| 567 | 567 | function get_linkobjects($category = 0, $orderby = 'name', $limit = 0) { |
| 568 | | _deprecated_function(__FUNCTION__, '0.0', 'get_bookmarks()'); |
| | 568 | _deprecated_function(__FUNCTION__, '1.0.1', 'get_bookmarks()'); |
| 569 | 569 | |
| 570 | 570 | $links = get_bookmarks("category=$category&orderby=$orderby&limit=$limit"); |
| 571 | 571 | |
| … |
… |
function get_linkobjects($category = 0, $orderby = 'name', $limit = 0) { |
| 598 | 598 | */ |
| 599 | 599 | function get_linksbyname_withrating($cat_name = "noname", $before = '', $after = '<br />', $between = " ", |
| 600 | 600 | $show_images = true, $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) { |
| 601 | | _deprecated_function(__FUNCTION__, '0.0', 'get_bookmarks()'); |
| | 601 | _deprecated_function(__FUNCTION__, '0.71', 'get_bookmarks()'); |
| 602 | 602 | |
| 603 | 603 | get_linksbyname($cat_name, $before, $after, $between, $show_images, $orderby, $show_description, true, $limit, $show_updated); |
| 604 | 604 | } |
| … |
… |
function get_linksbyname_withrating($cat_name = "noname", $before = '', $after = |
| 625 | 625 | */ |
| 626 | 626 | function get_links_withrating($category = -1, $before = '', $after = '<br />', $between = " ", $show_images = true, |
| 627 | 627 | $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) { |
| 628 | | _deprecated_function(__FUNCTION__, '0.0', 'get_bookmarks()'); |
| | 628 | _deprecated_function(__FUNCTION__, '0.71', 'get_bookmarks()'); |
| 629 | 629 | |
| 630 | 630 | get_links($category, $before, $after, $between, $show_images, $orderby, $show_description, true, $limit, $show_updated); |
| 631 | 631 | } |
| … |
… |
function get_links_withrating($category = -1, $before = '', $after = '<br />', $ |
| 640 | 640 | * @return int Only returns 0. |
| 641 | 641 | */ |
| 642 | 642 | function get_autotoggle($id = 0) { |
| 643 | | _deprecated_function(__FUNCTION__, '0.0' ); |
| | 643 | _deprecated_function(__FUNCTION__, '0.71' ); |
| 644 | 644 | return 0; |
| 645 | 645 | } |
| 646 | 646 | |
| … |
… |
function get_autotoggle($id = 0) { |
| 672 | 672 | function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_order = 'asc', $file = '', $list = true, $optiondates = 0, |
| 673 | 673 | $optioncount = 0, $hide_empty = 1, $use_desc_for_title = 1, $children=false, $child_of=0, $categories=0, |
| 674 | 674 | $recurse=0, $feed = '', $feed_image = '', $exclude = '', $hierarchical=false) { |
| 675 | | _deprecated_function(__FUNCTION__, '0.0', 'wp_list_categories()'); |
| | 675 | _deprecated_function(__FUNCTION__, '0.71', 'wp_list_categories()'); |
| 676 | 676 | |
| 677 | 677 | $query = compact('optionall', 'all', 'sort_column', 'sort_order', 'file', 'list', 'optiondates', 'optioncount', 'hide_empty', 'use_desc_for_title', 'children', |
| 678 | 678 | 'child_of', 'categories', 'recurse', 'feed', 'feed_image', 'exclude', 'hierarchical'); |
| … |
… |
function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_orde |
| 688 | 688 | * @return unknown |
| 689 | 689 | */ |
| 690 | 690 | function wp_list_cats($args = '') { |
| 691 | | _deprecated_function(__FUNCTION__, '0.0', 'wp_list_categories()'); |
| | 691 | _deprecated_function(__FUNCTION__, '1.2', 'wp_list_categories()'); |
| 692 | 692 | |
| 693 | 693 | $r = wp_parse_args( $args ); |
| 694 | 694 | |
| … |
… |
function wp_list_cats($args = '') { |
| 730 | 730 | function dropdown_cats($optionall = 1, $all = 'All', $orderby = 'ID', $order = 'asc', |
| 731 | 731 | $show_last_update = 0, $show_count = 0, $hide_empty = 1, $optionnone = false, |
| 732 | 732 | $selected = 0, $exclude = 0) { |
| 733 | | _deprecated_function(__FUNCTION__, '0.0', 'wp_dropdown_categories()'); |
| | 733 | _deprecated_function(__FUNCTION__, '0.71', 'wp_dropdown_categories()'); |
| 734 | 734 | |
| 735 | 735 | $show_option_all = ''; |
| 736 | 736 | if ( $optionall ) |
| … |
… |
function dropdown_cats($optionall = 1, $all = 'All', $orderby = 'ID', $order = ' |
| 753 | 753 | * @see WP_Scripts |
| 754 | 754 | */ |
| 755 | 755 | function tinymce_include() { |
| 756 | | _deprecated_function(__FUNCTION__, '0.0', 'wp_print_scripts()/WP_Scripts'); |
| | 756 | _deprecated_function(__FUNCTION__, '2.1', 'wp_print_scripts()/WP_Scripts'); |
| 757 | 757 | |
| 758 | 758 | wp_print_script('wp_tiny_mce'); |
| 759 | 759 | } |
| … |
… |
function tinymce_include() { |
| 772 | 772 | * @return unknown |
| 773 | 773 | */ |
| 774 | 774 | function list_authors($optioncount = false, $exclude_admin = true, $show_fullname = false, $hide_empty = true, $feed = '', $feed_image = '') { |
| 775 | | _deprecated_function(__FUNCTION__, '0.0', 'wp_list_authors()'); |
| | 775 | _deprecated_function(__FUNCTION__, '1.2', 'wp_list_authors()'); |
| 776 | 776 | |
| 777 | 777 | $args = compact('optioncount', 'exclude_admin', 'show_fullname', 'hide_empty', 'feed', 'feed_image'); |
| 778 | 778 | return wp_list_authors($args); |
| … |
… |
function list_authors($optioncount = false, $exclude_admin = true, $show_fullnam |
| 788 | 788 | * @return unknown |
| 789 | 789 | */ |
| 790 | 790 | function wp_get_post_cats($blogid = '1', $post_ID = 0) { |
| 791 | | _deprecated_function(__FUNCTION__, '0.0', 'wp_get_post_categories()'); |
| | 791 | _deprecated_function(__FUNCTION__, '1.0.1', 'wp_get_post_categories()'); |
| 792 | 792 | return wp_get_post_categories($post_ID); |
| 793 | 793 | } |
| 794 | 794 | |
| … |
… |
function wp_get_post_cats($blogid = '1', $post_ID = 0) { |
| 805 | 805 | * @return unknown |
| 806 | 806 | */ |
| 807 | 807 | function wp_set_post_cats($blogid = '1', $post_ID = 0, $post_categories = array()) { |
| 808 | | _deprecated_function(__FUNCTION__, '0.0', 'wp_set_post_categories()'); |
| | 808 | _deprecated_function(__FUNCTION__, '1.0.1', 'wp_set_post_categories()'); |
| 809 | 809 | return wp_set_post_categories($post_ID, $post_categories); |
| 810 | 810 | } |
| 811 | 811 | |
| … |
… |
function wp_set_post_cats($blogid = '1', $post_ID = 0, $post_categories = array( |
| 823 | 823 | * @return unknown |
| 824 | 824 | */ |
| 825 | 825 | function get_archives($type='', $limit='', $format='html', $before = '', $after = '', $show_post_count = false) { |
| 826 | | _deprecated_function(__FUNCTION__, '0.0', 'wp_get_archives()'); |
| | 826 | _deprecated_function(__FUNCTION__, '0.71', 'wp_get_archives()'); |
| 827 | 827 | $args = compact('type', 'limit', 'format', 'before', 'after', 'show_post_count'); |
| 828 | 828 | return wp_get_archives($args); |
| 829 | 829 | } |
| … |
… |
function get_archives($type='', $limit='', $format='html', $before = '', $after |
| 841 | 841 | * @return string|null |
| 842 | 842 | */ |
| 843 | 843 | function get_author_link($echo = false, $author_id, $author_nicename = '') { |
| 844 | | _deprecated_function(__FUNCTION__, '0.0', 'get_author_posts_url()'); |
| | 844 | _deprecated_function(__FUNCTION__, '1.2', 'get_author_posts_url()'); |
| 845 | 845 | |
| 846 | 846 | $link = get_author_posts_url($author_id, $author_nicename); |
| 847 | 847 | |
| … |
… |
function get_author_link($echo = false, $author_id, $author_nicename = '') { |
| 868 | 868 | */ |
| 869 | 869 | function link_pages($before='<br />', $after='<br />', $next_or_number='number', $nextpagelink='next page', $previouspagelink='previous page', |
| 870 | 870 | $pagelink='%', $more_file='') { |
| 871 | | _deprecated_function(__FUNCTION__, '0.0', 'wp_link_pages()'); |
| | 871 | _deprecated_function(__FUNCTION__, '0.71', 'wp_link_pages()'); |
| 872 | 872 | |
| 873 | 873 | $args = compact('before', 'after', 'next_or_number', 'nextpagelink', 'previouspagelink', 'pagelink', 'more_file'); |
| 874 | 874 | return wp_link_pages($args); |
| … |
… |
function link_pages($before='<br />', $after='<br />', $next_or_number='number', |
| 885 | 885 | * @return string |
| 886 | 886 | */ |
| 887 | 887 | function get_settings($option) { |
| 888 | | _deprecated_function(__FUNCTION__, '0.0', 'get_option()'); |
| | 888 | _deprecated_function(__FUNCTION__, '0.71', 'get_option()'); |
| 889 | 889 | |
| 890 | 890 | return get_option($option); |
| 891 | 891 | } |
| … |
… |
function get_settings($option) { |
| 898 | 898 | * @see the_permalink() |
| 899 | 899 | */ |
| 900 | 900 | function permalink_link() { |
| 901 | | _deprecated_function(__FUNCTION__, '0.0', 'the_permalink()'); |
| | 901 | _deprecated_function(__FUNCTION__, '0.71', 'the_permalink()'); |
| 902 | 902 | the_permalink(); |
| 903 | 903 | } |
| 904 | 904 | |
| … |
… |
function permalink_link() { |
| 912 | 912 | * @param string $file |
| 913 | 913 | */ |
| 914 | 914 | function permalink_single_rss($deprecated = '') { |
| 915 | | _deprecated_function(__FUNCTION__, '0.0', 'the_permalink_rss()'); |
| | 915 | _deprecated_function(__FUNCTION__, '0.71', 'the_permalink_rss()'); |
| 916 | 916 | the_permalink_rss(); |
| 917 | 917 | } |
| 918 | 918 | |
| … |
… |
function permalink_single_rss($deprecated = '') { |
| 928 | 928 | * @return null|string |
| 929 | 929 | */ |
| 930 | 930 | function wp_get_links($args = '') { |
| 931 | | _deprecated_function(__FUNCTION__, '0.0', 'get_bookmarks()'); |
| | 931 | _deprecated_function(__FUNCTION__, '1.0.1', 'get_bookmarks()'); |
| 932 | 932 | |
| 933 | 933 | if ( strpos( $args, '=' ) === false ) { |
| 934 | 934 | $cat_id = $args; |
| … |
… |
function wp_get_links($args = '') { |
| 976 | 976 | */ |
| 977 | 977 | function get_links($category = -1, $before = '', $after = '<br />', $between = ' ', $show_images = true, $orderby = 'name', |
| 978 | 978 | $show_description = true, $show_rating = false, $limit = -1, $show_updated = 1, $echo = true) { |
| 979 | | _deprecated_function(__FUNCTION__, '0.0', 'get_bookmarks()'); |
| | 979 | _deprecated_function(__FUNCTION__, '0.71', 'get_bookmarks()'); |
| 980 | 980 | |
| 981 | 981 | $order = 'ASC'; |
| 982 | 982 | if ( substr($orderby, 0, 1) == '_' ) { |
| … |
… |
function get_links($category = -1, $before = '', $after = '<br />', $between = ' |
| 1071 | 1071 | * @param string $$deprecated Not Used |
| 1072 | 1072 | */ |
| 1073 | 1073 | function get_links_list($order = 'name', $deprecated = '') { |
| 1074 | | _deprecated_function(__FUNCTION__, '0.0', 'wp_list_bookmarks()'); |
| | 1074 | _deprecated_function(__FUNCTION__, '1.0.1', 'wp_list_bookmarks()'); |
| 1075 | 1075 | |
| 1076 | 1076 | $order = strtolower($order); |
| 1077 | 1077 | |
| … |
… |
function get_links_list($order = 'name', $deprecated = '') { |
| 1119 | 1119 | * @param bool $count the number of links in the db |
| 1120 | 1120 | */ |
| 1121 | 1121 | function links_popup_script($text = 'Links', $width=400, $height=400, $file='links.all.php', $count = true) { |
| 1122 | | _deprecated_function(__FUNCTION__, '0.0' ); |
| | 1122 | _deprecated_function(__FUNCTION__, '0.71' ); |
| 1123 | 1123 | |
| 1124 | 1124 | if ( $count ) |
| 1125 | 1125 | $counts = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->links"); |
| … |
… |
function links_popup_script($text = 'Links', $width=400, $height=400, $file='lin |
| 1143 | 1143 | * @return unknown |
| 1144 | 1144 | */ |
| 1145 | 1145 | function get_linkrating($link) { |
| 1146 | | _deprecated_function(__FUNCTION__, '0.0', 'sanitize_bookmark_field()'); |
| | 1146 | _deprecated_function(__FUNCTION__, '1.0.1', 'sanitize_bookmark_field()'); |
| 1147 | 1147 | return sanitize_bookmark_field('link_rating', $link->link_rating, $link->link_id, 'display'); |
| 1148 | 1148 | } |
| 1149 | 1149 | |
| … |
… |
function get_linkrating($link) { |
| 1158 | 1158 | * @return string |
| 1159 | 1159 | */ |
| 1160 | 1160 | function get_linkcatname($id = 0) { |
| 1161 | | _deprecated_function(__FUNCTION__, '0.0', 'get_category()'); |
| | 1161 | _deprecated_function(__FUNCTION__, '0.71', 'get_category()'); |
| 1162 | 1162 | |
| 1163 | 1163 | $id = (int) $id; |
| 1164 | 1164 | |
| … |
… |
function get_linkcatname($id = 0) { |
| 1187 | 1187 | * @param string $deprecated Not used |
| 1188 | 1188 | */ |
| 1189 | 1189 | function comments_rss_link($link_text = 'Comments RSS', $deprecated = '') { |
| 1190 | | _deprecated_function(__FUNCTION__, '0.0', 'post_comments_feed_link()'); |
| | 1190 | _deprecated_function(__FUNCTION__, '1.0.1', 'post_comments_feed_link()'); |
| 1191 | 1191 | post_comments_feed_link($link_text); |
| 1192 | 1192 | } |
| 1193 | 1193 | |
| … |
… |
function comments_rss_link($link_text = 'Comments RSS', $deprecated = '') { |
| 1204 | 1204 | * @return string|null |
| 1205 | 1205 | */ |
| 1206 | 1206 | function get_category_rss_link($echo = false, $cat_ID = 1, $deprecated = '') { |
| 1207 | | _deprecated_function(__FUNCTION__, '0.0', 'get_category_feed_link()'); |
| | 1207 | _deprecated_function(__FUNCTION__, '1.2', 'get_category_feed_link()'); |
| 1208 | 1208 | |
| 1209 | 1209 | $link = get_category_feed_link($cat_ID, 'rss2'); |
| 1210 | 1210 | |
| … |
… |
function get_category_rss_link($echo = false, $cat_ID = 1, $deprecated = '') { |
| 1226 | 1226 | * @return string|null |
| 1227 | 1227 | */ |
| 1228 | 1228 | function get_author_rss_link($echo = false, $author_id = 1, $deprecated = '') { |
| 1229 | | _deprecated_function(__FUNCTION__, '0.0', 'get_author_feed_link()'); |
| | 1229 | _deprecated_function(__FUNCTION__, '1.2', 'get_author_feed_link()'); |
| 1230 | 1230 | |
| 1231 | 1231 | $link = get_author_feed_link($author_id); |
| 1232 | 1232 | if ( $echo ) |