Changeset 12526
- Timestamp:
- 12/23/2009 06:54:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/deprecated.php
r12525 r12526 83 83 * 84 84 * @since 0.71 85 * @deprecated 1.5.1 85 86 * @deprecated Use get_post() 86 87 * @see get_post() … … 90 91 */ 91 92 function get_postdata($postid) { 92 _deprecated_function( __FUNCTION__, '0.0', 'get_post()');93 _deprecated_function( __FUNCTION__, '1.5.1', 'get_post()' ); 93 94 94 95 $post = &get_post($postid); … … 119 120 * 120 121 * @since 1.0.1 121 * @deprecated Since 1.5 - {@link http://codex.wordpress.org/The_Loop Use new WordPress Loop} 122 * @deprecated 1.5 123 * @deprecated Use The Loop - {@link http://codex.wordpress.org/The_Loop Use new WordPress Loop} 122 124 */ 123 125 function start_wp() { 124 126 global $wp_query, $post; 125 127 126 _deprecated_function( __FUNCTION__, '1.5', __('new WordPress Loop'));128 _deprecated_function( __FUNCTION__, '1.5', __('new WordPress Loop') ); 127 129 128 130 // Since the old style loop is being used, advance the query iterator here. … … 136 138 * 137 139 * @since 0.71 140 * @deprecated 0.71 138 141 * @deprecated use get_the_category() 139 142 * @see get_the_category() … … 143 146 */ 144 147 function the_category_ID($echo = true) { 145 _deprecated_function( __FUNCTION__, '0.0', 'get_the_category()');148 _deprecated_function( __FUNCTION__, '0.71', 'get_the_category()' ); 146 149 147 150 // Grab the first cat in the list. … … 159 162 * 160 163 * @since 0.71 164 * @deprecated 0.71 161 165 * @deprecated use get_the_category_by_ID() 162 166 * @see get_the_category_by_ID() … … 168 172 global $currentcat, $previouscat; 169 173 170 _deprecated_function( __FUNCTION__, '0.0', 'get_the_category_by_ID()');174 _deprecated_function( __FUNCTION__, '0.71', 'get_the_category_by_ID()' ); 171 175 172 176 // Grab the first cat in the list. … … 185 189 * 186 190 * @since 1.5 191 * @deprecated 2.0 187 192 * @deprecated Use previous_post_link() 188 193 * @see previous_post_link() … … 197 202 function previous_post($format='%', $previous='previous post: ', $title='yes', $in_same_cat='no', $limitprev=1, $excluded_categories='') { 198 203 199 _deprecated_function( __FUNCTION__, '0.0', 'previous_post_link()');204 _deprecated_function( __FUNCTION__, '2.0', 'previous_post_link()' ); 200 205 201 206 if ( empty($in_same_cat) || 'no' == $in_same_cat ) … … 221 226 * 222 227 * @since 0.71 228 * @deprecated 2.0 223 229 * @deprecated Use next_post_link() 224 230 * @see next_post_link() … … 232 238 */ 233 239 function next_post($format='%', $next='next post: ', $title='yes', $in_same_cat='no', $limitnext=1, $excluded_categories='') { 234 _deprecated_function( __FUNCTION__, '0.0', 'next_post_link()');240 _deprecated_function( __FUNCTION__, '2.0', 'next_post_link()' ); 235 241 236 242 if ( empty($in_same_cat) || 'no' == $in_same_cat ) … … 256 262 * 257 263 * @since 1.5 264 * @deprecated 2.0 258 265 * @deprecated Use current_user_can() 259 266 * @see current_user_can() … … 265 272 */ 266 273 function user_can_create_post($user_id, $blog_id = 1, $category_id = 'None') { 267 _deprecated_function( __FUNCTION__, '0.0', 'current_user_can()');274 _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); 268 275 269 276 $author_data = get_userdata($user_id); … … 275 282 * 276 283 * @since 1.5 284 * @deprecated 2.0 277 285 * @deprecated Use current_user_can() 278 286 * @see current_user_can() … … 284 292 */ 285 293 function user_can_create_draft($user_id, $blog_id = 1, $category_id = 'None') { 286 _deprecated_function( __FUNCTION__, '0.0', 'current_user_can()');294 _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); 287 295 288 296 $author_data = get_userdata($user_id); … … 294 302 * 295 303 * @since 1.5 304 * @deprecated 2.0 296 305 * @deprecated Use current_user_can() 297 306 * @see current_user_can() … … 303 312 */ 304 313 function user_can_edit_post($user_id, $post_id, $blog_id = 1) { 305 _deprecated_function( __FUNCTION__, '0', 'current_user_can()');314 _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); 306 315 307 316 $author_data = get_userdata($user_id); … … 322 331 * 323 332 * @since 1.5 333 * @deprecated 2.0 324 334 * @deprecated Use current_user_can() 325 335 * @see current_user_can() … … 331 341 */ 332 342 function user_can_delete_post($user_id, $post_id, $blog_id = 1) { 333 _deprecated_function( __FUNCTION__, '0.0', 'current_user_can()');343 _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); 334 344 335 345 // right now if one can edit, one can delete … … 341 351 * 342 352 * @since 1.5 353 * @deprecated 2.0 343 354 * @deprecated Use current_user_can() 344 355 * @see current_user_can() … … 350 361 */ 351 362 function user_can_set_post_date($user_id, $blog_id = 1, $category_id = 'None') { 352 _deprecated_function( __FUNCTION__, '0.0', 'current_user_can()');363 _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); 353 364 354 365 $author_data = get_userdata($user_id); … … 360 371 * 361 372 * @since 1.5 373 * @deprecated 2.0 362 374 * @deprecated Use current_user_can() 363 375 * @see current_user_can() … … 369 381 */ 370 382 function user_can_edit_post_date($user_id, $post_id, $blog_id = 1) { 371 _deprecated_function( __FUNCTION__, '0.0', 'current_user_can()');383 _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); 372 384 373 385 $author_data = get_userdata($user_id); … … 379 391 * 380 392 * @since 1.5 393 * @deprecated 2.0 381 394 * @deprecated Use current_user_can() 382 395 * @see current_user_can() … … 388 401 */ 389 402 function user_can_edit_post_comments($user_id, $post_id, $blog_id = 1) { 390 _deprecated_function( __FUNCTION__, '0.0', 'current_user_can()');403 _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); 391 404 392 405 // right now if one can edit a post, one can edit comments made on it … … 398 411 * 399 412 * @since 1.5 413 * @deprecated 2.0 400 414 * @deprecated Use current_user_can() 401 415 * @see current_user_can() … … 407 421 */ 408 422 function user_can_delete_post_comments($user_id, $post_id, $blog_id = 1) { 409 _deprecated_function( __FUNCTION__, '0.0', 'current_user_can()');423 _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); 410 424 411 425 // right now if one can edit comments, one can delete comments … … 417 431 * 418 432 * @since 1.5 433 * @deprecated 2.0 419 434 * @deprecated Use current_user_can() 420 435 * @see current_user_can() … … 425 440 */ 426 441 function user_can_edit_user($user_id, $other_user) { 427 _deprecated_function( __FUNCTION__, '0.0', 'current_user_can()');442 _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' ); 428 443 429 444 $user = get_userdata($user_id); … … 439 454 * 440 455 * @since 0.71 441 * @deprecated Use get_links() 442 * @see get_links() 456 * @deprecated 2.1 457 * @deprecated Use get_bookmarks() 458 * @see get_bookmarks() 443 459 * 444 460 * @param string $cat_name Optional. The category name to use. If no match is found uses all. … … 458 474 $show_description = true, $show_rating = false, 459 475 $limit = -1, $show_updated = 0) { 460 _deprecated_function( __FUNCTION__, '0.0', 'get_links()');476 _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' ); 461 477 462 478 $cat_id = -1; … … 509 525 * 510 526 * @since 1.0.1 511 * @deprecated Use get_linkobjects() 512 * @see get_linkobjects() 527 * @deprecated 2.1 528 * @deprecated Use get_bookmarks() 529 * @see get_bookmarks() 513 530 * 514 531 * @param string $cat_name The category name to use. If no match is found uses all. … … 520 537 */ 521 538 function get_linkobjectsbyname($cat_name = "noname" , $orderby = 'name', $limit = -1) { 522 _deprecated_function( __FUNCTION__, '0.0', 'get_linkobjects()');539 _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' ); 523 540 524 541 $cat_id = -1; … … 561 578 * 562 579 * @since 1.0.1 580 * @deprecated 2.1 563 581 * @deprecated Use get_bookmarks() 564 582 * @see get_bookmarks() … … 573 591 */ 574 592 function get_linkobjects($category = 0, $orderby = 'name', $limit = 0) { 575 _deprecated_function( __FUNCTION__, '0.0', 'get_bookmarks()');593 _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' ); 576 594 577 595 $links = get_bookmarks("category=$category&orderby=$orderby&limit=$limit"); … … 588 606 * 589 607 * @since 0.71 608 * @deprecated 2.1 590 609 * @deprecated Use get_bookmarks() 591 610 * @see get_bookmarks() … … 606 625 function get_linksbyname_withrating($cat_name = "noname", $before = '', $after = '<br />', $between = " ", 607 626 $show_images = true, $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) { 608 _deprecated_function( __FUNCTION__, '0.0', 'get_bookmarks()');627 _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' ); 609 628 610 629 get_linksbyname($cat_name, $before, $after, $between, $show_images, $orderby, $show_description, true, $limit, $show_updated); … … 615 634 * 616 635 * @since 0.71 636 * @deprecated 2.1 617 637 * @deprecated Use get_bookmarks() 618 638 * @see get_bookmarks() … … 633 653 function get_links_withrating($category = -1, $before = '', $after = '<br />', $between = " ", $show_images = true, 634 654 $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) { 635 _deprecated_function( __FUNCTION__, '0.0', 'get_bookmarks()');655 _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' ); 636 656 637 657 get_links($category, $before, $after, $between, $show_images, $orderby, $show_description, true, $limit, $show_updated); … … 648 668 */ 649 669 function get_autotoggle($id = 0) { 650 _deprecated_function( __FUNCTION__, '0.0');670 _deprecated_function( __FUNCTION__, '2.1' ); 651 671 return 0; 652 672 } … … 654 674 /** 655 675 * @since 0.71 676 * @deprecated 2.1 656 677 * @deprecated Use wp_list_categories() 657 678 * @see wp_list_categories() … … 680 701 $optioncount = 0, $hide_empty = 1, $use_desc_for_title = 1, $children=false, $child_of=0, $categories=0, 681 702 $recurse=0, $feed = '', $feed_image = '', $exclude = '', $hierarchical=false) { 682 _deprecated_function( __FUNCTION__, '0.0', 'wp_list_categories()');703 _deprecated_function( __FUNCTION__, '2.1', 'wp_list_categories()' ); 683 704 684 705 $query = compact('optionall', 'all', 'sort_column', 'sort_order', 'file', 'list', 'optiondates', 'optioncount', 'hide_empty', 'use_desc_for_title', 'children', … … 689 710 /** 690 711 * @since 1.2 712 * @deprecated 2.1 691 713 * @deprecated Use wp_list_categories() 692 714 * @see wp_list_categories() … … 696 718 */ 697 719 function wp_list_cats($args = '') { 698 _deprecated_function( __FUNCTION__, '0.0', 'wp_list_categories()');720 _deprecated_function( __FUNCTION__, '2.1', 'wp_list_categories()' ); 699 721 700 722 $r = wp_parse_args( $args ); … … 738 760 $show_last_update = 0, $show_count = 0, $hide_empty = 1, $optionnone = false, 739 761 $selected = 0, $exclude = 0) { 740 _deprecated_function( __FUNCTION__, '0.0', 'wp_dropdown_categories()');762 _deprecated_function( __FUNCTION__, '2.1', 'wp_dropdown_categories()' ); 741 763 742 764 $show_option_all = ''; … … 756 778 /** 757 779 * @since 2.1 780 * @deprecated 2.1 758 781 * @deprecated Use wp_tiny_mce(). 759 782 * @see wp_tiny_mce() 760 783 */ 761 784 function tinymce_include() { 762 _deprecated_function( __FUNCTION__, '0.0', 'wp_tiny_mce()');785 _deprecated_function( __FUNCTION__, '2.1', 'wp_tiny_mce()' ); 763 786 764 787 wp_tiny_mce(); … … 767 790 /** 768 791 * @since 1.2 792 * @deprecated 2.1 769 793 * @deprecated Use wp_list_authors() 770 794 * @see wp_list_authors() … … 779 803 */ 780 804 function list_authors($optioncount = false, $exclude_admin = true, $show_fullname = false, $hide_empty = true, $feed = '', $feed_image = '') { 781 _deprecated_function( __FUNCTION__, '0.0', 'wp_list_authors()');805 _deprecated_function( __FUNCTION__, '2.1', 'wp_list_authors()' ); 782 806 783 807 $args = compact('optioncount', 'exclude_admin', 'show_fullname', 'hide_empty', 'feed', 'feed_image'); … … 787 811 /** 788 812 * @since 1.0.1 813 * @deprecated 2.1 789 814 * @deprecated Use wp_get_post_categories() 790 815 * @see wp_get_post_categories() … … 795 820 */ 796 821 function wp_get_post_cats($blogid = '1', $post_ID = 0) { 797 _deprecated_function( __FUNCTION__, '0.0', 'wp_get_post_categories()');822 _deprecated_function( __FUNCTION__, '2.1', 'wp_get_post_categories()' ); 798 823 return wp_get_post_categories($post_ID); 799 824 } … … 803 828 * 804 829 * @since 1.0.1 830 * @deprecated 2.1 805 831 * @deprecated Use wp_set_post_categories() 806 832 * @see wp_set_post_categories() … … 812 838 */ 813 839 function wp_set_post_cats($blogid = '1', $post_ID = 0, $post_categories = array()) { 814 _deprecated_function( __FUNCTION__, '0.0', 'wp_set_post_categories()');840 _deprecated_function( __FUNCTION__, '2.1', 'wp_set_post_categories()' ); 815 841 return wp_set_post_categories($post_ID, $post_categories); 816 842 } … … 818 844 /** 819 845 * @since 0.71 846 * @deprecated 2.1 820 847 * @deprecated Use wp_get_archives() 821 848 * @see wp_get_archives() … … 830 857 */ 831 858 function get_archives($type='', $limit='', $format='html', $before = '', $after = '', $show_post_count = false) { 832 _deprecated_function( __FUNCTION__, '0.0', 'wp_get_archives()');859 _deprecated_function( __FUNCTION__, '2.1', 'wp_get_archives()' ); 833 860 $args = compact('type', 'limit', 'format', 'before', 'after', 'show_post_count'); 834 861 return wp_get_archives($args); … … 839 866 * 840 867 * @since 1.2 868 * @deprecated 2.1 841 869 * @deprecated Use get_author_posts_url() 842 870 * @see get_author_posts_url() … … 848 876 */ 849 877 function get_author_link($echo = false, $author_id, $author_nicename = '') { 850 _deprecated_function( __FUNCTION__, '0.0', 'get_author_posts_url()');878 _deprecated_function( __FUNCTION__, '2.1', 'get_author_posts_url()' ); 851 879 852 880 $link = get_author_posts_url($author_id, $author_nicename); … … 861 889 * 862 890 * @since 0.71 891 * @deprecated 2.1 863 892 * @deprecated Use wp_link_pages() 864 893 * @see wp_link_pages() … … 875 904 function link_pages($before='<br />', $after='<br />', $next_or_number='number', $nextpagelink='next page', $previouspagelink='previous page', 876 905 $pagelink='%', $more_file='') { 877 _deprecated_function( __FUNCTION__, '0.0', 'wp_link_pages()');906 _deprecated_function( __FUNCTION__, '2.1', 'wp_link_pages()' ); 878 907 879 908 $args = compact('before', 'after', 'next_or_number', 'nextpagelink', 'previouspagelink', 'pagelink', 'more_file'); … … 885 914 * 886 915 * @since 0.71 916 * @deprecated 2.1 887 917 * @deprecated Use get_option() 888 918 * @see get_option() … … 892 922 */ 893 923 function get_settings($option) { 894 _deprecated_function( __FUNCTION__, '0.0', 'get_option()');924 _deprecated_function( __FUNCTION__, '2.1', 'get_option()' ); 895 925 896 926 return get_option($option); … … 901 931 * 902 932 * @since 0.71 933 * @deprecated 1.2 903 934 * @deprecated Use the_permalink() 904 935 * @see the_permalink() 905 936 */ 906 937 function permalink_link() { 907 _deprecated_function( __FUNCTION__, '0.0', 'the_permalink()');938 _deprecated_function( __FUNCTION__, '1.2', 'the_permalink()' ); 908 939 the_permalink(); 909 940 } … … 989 1020 function get_links($category = -1, $before = '', $after = '<br />', $between = ' ', $show_images = true, $orderby = 'name', 990 1021 $show_description = true, $show_rating = false, $limit = -1, $show_updated = 1, $echo = true) { 991 _deprecated_function( __FUNCTION__, '0.0', 'get_bookmarks()');1022 _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' ); 992 1023 993 1024 $order = 'ASC'; … … 1076 1107 * @author Dougal 1077 1108 * @since 1.0.1 1109 * @deprecated 2.1 1078 1110 * @deprecated Use wp_list_bookmarks() 1079 1111 * @see wp_list_bookmarks() 1080 1112 * 1081 1113 * @param string $order Sort link categories by 'name' or 'id' 1082 * @param string $$deprecated Not Used 1083 */ 1084 function get_links_list($order = 'name', $deprecated = '') { 1085 _deprecated_function(__FUNCTION__, '0.0', 'wp_list_bookmarks()'); 1114 */ 1115 function get_links_list($order = 'name') { 1116 _deprecated_function( __FUNCTION__, '2.1', 'wp_list_bookmarks()' ); 1086 1117 1087 1118 $order = strtolower($order); … … 1122 1153 * 1123 1154 * @since 0.71 1155 * @deprecated 2.1 1124 1156 * @deprecated {@internal Use function instead is unknown}} 1125 1157 * … … 1131 1163 */ 1132 1164 function links_popup_script($text = 'Links', $width=400, $height=400, $file='links.all.php', $count = true) { 1133 _deprecated_function( __FUNCTION__, '0.0');1165 _deprecated_function( __FUNCTION__, '2.1' ); 1134 1166 1135 1167 if ( $count ) … … 1148 1180 /** 1149 1181 * @since 1.0.1 1182 * @deprecated 2.1 1150 1183 * @deprecated Use sanitize_bookmark_field() 1151 1184 * @see sanitize_bookmark_field() … … 1155 1188 */ 1156 1189 function get_linkrating($link) { 1157 _deprecated_function( __FUNCTION__, '0.0', 'sanitize_bookmark_field()');1190 _deprecated_function( __FUNCTION__, '2.1', 'sanitize_bookmark_field()' ); 1158 1191 return sanitize_bookmark_field('link_rating', $link->link_rating, $link->link_id, 'display'); 1159 1192 } … … 1163 1196 * 1164 1197 * @since 0.71 1198 * @deprecated 2.1 1165 1199 * @deprecated Use get_category() 1166 1200 * @see get_category() … … 1170 1204 */ 1171 1205 function get_linkcatname($id = 0) { 1172 _deprecated_function( __FUNCTION__, '0.0', 'get_category()');1206 _deprecated_function( __FUNCTION__, '2.1', 'get_category()' ); 1173 1207 1174 1208 $id = (int) $id; … … 1192 1226 * 1193 1227 * @since 1.0.1 1228 * @deprecated 2.5 1194 1229 * @deprecated Use post_comments_feed_link() 1195 1230 * @see post_comments_feed_link() 1196 1231 * 1197 1232 * @param string $link_text 1198 * @param string $deprecated Not used 1199 */ 1200 function comments_rss_link($link_text = 'Comments RSS', $deprecated = '') { 1201 _deprecated_function(__FUNCTION__, '0.0', 'post_comments_feed_link()'); 1233 */ 1234 function comments_rss_link($link_text = 'Comments RSS') { 1235 _deprecated_function( __FUNCTION__, '2.5', 'post_comments_feed_link()' ); 1202 1236 post_comments_feed_link($link_text); 1203 1237 } … … 1207 1241 * 1208 1242 * @since 1.2 1243 * @deprecated 2.5 1209 1244 * @deprecated Use get_category_feed_link() 1210 1245 * @see get_category_feed_link() … … 1212 1247 * @param bool $echo 1213 1248 * @param int $cat_ID 1214 * @param string $deprecated Not used1215 1249 * @return string|null 1216 1250 */ 1217 function get_category_rss_link($echo = false, $cat_ID = 1 , $deprecated = '') {1218 _deprecated_function( __FUNCTION__, '0.0', 'get_category_feed_link()');1251 function get_category_rss_link($echo = false, $cat_ID = 1) { 1252 _deprecated_function( __FUNCTION__, '2.5', 'get_category_feed_link()' ); 1219 1253 1220 1254 $link = get_category_feed_link($cat_ID, 'rss2'); … … 1229 1263 * 1230 1264 * @since 1.2 1265 * @deprecated 2.5 1231 1266 * @deprecated Use get_author_feed_link() 1232 1267 * @see get_author_feed_link() … … 1234 1269 * @param bool $echo 1235 1270 * @param int $author_id 1236 * @param string $deprecated Not used1237 1271 * @return string|null 1238 1272 */ 1239 function get_author_rss_link($echo = false, $author_id = 1 , $deprecated = '') {1240 _deprecated_function( __FUNCTION__, '0.0', 'get_author_feed_link()');1273 function get_author_rss_link($echo = false, $author_id = 1) { 1274 _deprecated_function( __FUNCTION__, '2.5', 'get_author_feed_link()' ); 1241 1275 1242 1276 $link = get_author_feed_link($author_id); … … 1250 1284 * 1251 1285 * @since 1.5 1286 * @deprecated 2.2 1252 1287 * @deprecated Use get_post_comments_feed_link() 1253 1288 * @see get_post_comments_feed_link() 1254 1289 * 1255 * @param string $deprecated Not used1256 1290 * @return string 1257 1291 */ 1258 function comments_rss( $deprecated = '') {1259 _deprecated_function( __FUNCTION__, '2.2', 'get_post_comments_feed_link()');1292 function comments_rss() { 1293 _deprecated_function( __FUNCTION__, '2.2', 'get_post_comments_feed_link()' ); 1260 1294 return get_post_comments_feed_link(); 1261 1295 } … … 1263 1297 /** 1264 1298 * An alias of wp_create_user(). 1299 * 1300 * @since 2.0 1301 * @deprecated 2.0 1302 * @deprecated Use wp_create_user() 1303 * @see wp_create_user() 1265 1304 * 1266 1305 * @param string $username The user's username. … … 1268 1307 * @param string $email The user's email (optional). 1269 1308 * @return int The new user's ID. 1270 * @deprecated Use wp_create_user()1271 * @see wp_create_user()1272 1309 */ 1273 1310 function create_user($username, $password, $email) { … … 1280 1317 * 1281 1318 * @since 2.0 1282 * @param string $deprecated Unknown1283 1319 * @deprecated 2.5 1284 */ 1285 function documentation_link( $deprecated = '' ) { 1320 * 1321 */ 1322 function documentation_link() { 1286 1323 _deprecated_function( __FUNCTION__, '2.5', '' ); 1287 1324 return; … … 1294 1331 */ 1295 1332 function gzip_compression() { 1333 _deprecated_function( __FUNCTION__, '2.5', '' ); 1296 1334 return false; 1297 1335 } … … 1300 1338 * Retrieve an array of comment data about comment $comment_ID. 1301 1339 * 1340 * @since 0.71 1341 * @deprecated 2.7 1302 1342 * @deprecated Use get_comment() 1303 1343 * @see get_comment() 1304 * @since 0.711305 *1306 * @uses $id1307 * @uses $wpdb Database Object1308 1344 * 1309 1345 * @param int $comment_ID The ID of the comment … … 1321 1357 * 1322 1358 * @since 0.71 1359 * @deprecated 2.8 1323 1360 * @deprecated Use get_cat_name() 1324 * @see get_cat_name() get_catname() is deprecated in favor of get_cat_name().1361 * @see get_cat_name() 1325 1362 * 1326 1363 * @param int $cat_ID Category ID … … 1328 1365 */ 1329 1366 function get_catname( $cat_ID ) { 1330 _deprecated_function( __FUNCTION__, '2.8', 'get_cat_name()');1367 _deprecated_function( __FUNCTION__, '2.8', 'get_cat_name()' ); 1331 1368 return get_cat_name( $cat_ID ); 1332 1369 } … … 1336 1373 * 1337 1374 * @since 1.2.0 1375 * @deprecated 2.8 1376 * @deprecated Use get_term_children() 1377 * @see get_term_children() 1338 1378 * 1339 1379 * @param int $id Category ID to retrieve children. … … 1344 1384 */ 1345 1385 function get_category_children( $id, $before = '/', $after = '', $visited = array() ) { 1346 _deprecated_function( __FUNCTION__, '2.8', 'get_term_children()');1386 _deprecated_function( __FUNCTION__, '2.8', 'get_term_children()' ); 1347 1387 if ( 0 == $id ) 1348 1388 return ''; … … 1372 1412 * @since 1.5 1373 1413 * @deprecated 2.8 1374 * @uses $authordata The current author's DB object. 1414 * @deprecated Use the_author_meta('description') 1415 * @see get_the_author_meta() 1416 * 1375 1417 * @return string The author's description. 1418 */ 1419 function get_the_author_description() { 1420 _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'description\')' ); 1421 return get_the_author_meta('description'); 1422 } 1423 1424 /** 1425 * Display the description of the author of the current post. 1426 * 1427 * @since 1.0.0 1428 * @deprecated 2.8 1376 1429 * @deprecated Use the_author_meta('description') 1377 */ 1378 function get_the_author_description() { 1379 _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'description\')' ); 1380 return get_the_author_meta('description'); 1381 } 1382 1383 /** 1384 * Display the description of the author of the current post. 1385 * 1386 * @link http://codex.wordpress.org/Template_Tags/the_author_description 1430 * @see the_author_meta() 1431 */ 1432 function the_author_description() { 1433 _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'description\')' ); 1434 the_author_meta('description'); 1435 } 1436 1437 /** 1438 * Retrieve the login name of the author of the current post. 1439 * 1440 * @since 1.5 1441 * @deprecated 2.8 1442 * @deprecated Use the_author_meta('login') 1443 * @see get_the_author_meta() 1444 * 1445 * @return string The author's login name (username). 1446 */ 1447 function get_the_author_login() { 1448 _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'login\')' ); 1449 return get_the_author_meta('login'); 1450 } 1451 1452 /** 1453 * Display the login name of the author of the current post. 1454 * 1455 * @since 0.71 1456 * @deprecated 2.8 1457 * @deprecated Use the_author_meta('login') 1458 * @see the_author_meta() 1459 */ 1460 function the_author_login() { 1461 _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'login\')' ); 1462 the_author_meta('login'); 1463 } 1464 1465 /** 1466 * Retrieve the first name of the author of the current post. 1467 * 1468 * @since 1.5 1469 * @deprecated 2.8 1470 * @deprecated Use the_author_meta('first_name') 1471 * @see get_the_author_meta() 1472 * 1473 * @return string The author's first name. 1474 */ 1475 function get_the_author_firstname() { 1476 _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'first_name\')' ); 1477 return get_the_author_meta('first_name'); 1478 } 1479 1480 /** 1481 * Display the first name of the author of the current post. 1482 * 1483 * @since 0.71 1484 * @deprecated 2.8 1485 * @deprecated Use the_author_meta('first_name') 1486 * @see the_author_meta() 1487 */ 1488 function the_author_firstname() { 1489 _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'first_name\')' ); 1490 the_author_meta('first_name'); 1491 } 1492 1493 /** 1494 * Retrieve the last name of the author of the current post. 1495 * 1496 * @since 1.5 1497 * @deprecated 2.8 1498 * @deprecated Use get_the_author_meta('last_name') 1499 * @see get_the_author_meta() 1500 * 1501 * @return string The author's last name. 1502 */ 1503 function get_the_author_lastname() { 1504 _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'last_name\')' ); 1505 return get_the_author_meta('last_name'); 1506 } 1507 1508 /** 1509 * Display the last name of the author of the current post. 1510 * 1511 * @since 0.71 1512 * @deprecated 2.8 1513 * @deprecated Use the_author_meta('last_name') 1514 * @see the_author_meta() 1515 */ 1516 function the_author_lastname() { 1517 _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'last_name\')' ); 1518 the_author_meta('last_name'); 1519 } 1520 1521 /** 1522 * Retrieve the nickname of the author of the current post. 1523 * 1524 * @since 1.5 1525 * @deprecated 2.8 1526 * @deprecated Use get_the_author_meta('nickname') 1527 * @see get_the_author_meta() 1528 * 1529 * @return string The author's nickname. 1530 */ 1531 function get_the_author_nickname() { 1532 _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'nickname\')' ); 1533 return get_the_author_meta('nickname'); 1534 } 1535 1536 /** 1537 * Display the nickname of the author of the current post. 1538 * 1539 * @since 0.71 1540 * @deprecated 2.8 1541 * @deprecated Use the_author_meta('nickname') 1542 * @see the_author_meta() 1543 */ 1544 function the_author_nickname() { 1545 _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'nickname\')' ); 1546 the_author_meta('nickname'); 1547 } 1548 1549 /** 1550 * Retrieve the email of the author of the current post. 1551 * 1552 * @since 1.5 1553 * @deprecated 2.8 1554 * @deprecated Use get_the_author_meta('email') 1555 * @see get_the_author_meta() 1556 * 1557 * @return string The author's username. 1558 */ 1559 function get_the_author_email() { 1560 _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'email\')' ); 1561 return get_the_author_meta('email'); 1562 } 1563 1564 /** 1565 * Display the email of the author of the current post. 1566 * 1567 * @since 0.71 1568 * @deprecated 2.8 1569 * @deprecated Use the_author_meta('email') 1570 * @see the_author_meta() 1571 */ 1572 function the_author_email() { 1573 _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'email\')' ); 1574 the_author_meta('email'); 1575 } 1576 1577 /** 1578 * Retrieve the ICQ number of the author of the current post. 1579 * 1580 * @since 1.5 1581 * @deprecated 2.8 1582 * @deprecated Use get_the_author_meta('icq') 1583 * @see get_the_author_meta() 1584 * 1585 * @return string The author's ICQ number. 1586 */ 1587 function get_the_author_icq() { 1588 _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'icq\')' ); 1589 return get_the_author_meta('icq'); 1590 } 1591 1592 /** 1593 * Display the ICQ number of the author of the current post. 1594 * 1595 * @since 0.71 1596 * @deprecated 2.8 1597 * @deprecated Use the_author_meta('icq') 1598 * @see the_author_meta() 1599 */ 1600 function the_author_icq() { 1601 _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'icq\')' ); 1602 the_author_meta('icq'); 1603 } 1604 1605 /** 1606 * Retrieve the Yahoo! IM name of the author of the current post. 1607 * 1608 * @since 1.5 1609 * @deprecated 2.8 1610 * @deprecated Use get_the_author_meta('yim') 1611 * @see get_the_author_meta() 1612 * 1613 * @return string The author's Yahoo! IM name. 1614 */ 1615 function get_the_author_yim() { 1616 _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'yim\')' ); 1617 return get_the_author_meta('yim'); 1618 } 1619 1620 /** 1621 * Display the Yahoo! IM name of the author of the current post. 1622 * 1623 * @since 0.71 1624 * @deprecated 2.8 1625 * @deprecated Use the_author_meta('yim') 1626 * @see the_author_meta() 1627 */ 1628 function the_author_yim() { 1629 _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'yim\')' ); 1630 the_author_meta('yim'); 1631 } 1632 1633 /** 1634 * Retrieve the MSN address of the author of the current post. 1635 * 1636 * @since 1.5 1637 * @deprecated 2.8 1638 * @deprecated Use get_the_author_meta('msn') 1639 * @see get_the_author_meta() 1640 * 1641 * @return string The author's MSN address. 1642 */ 1643 function get_the_author_msn() { 1644 _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'msn\')' ); 1645 return get_the_author_meta('msn'); 1646 } 1647 1648 /** 1649 * Display the MSN address of the author of the current post. 1650 * 1651 * @since 0.71 1652 * @deprecated 2.8 1653 * @deprecated Use the_author_meta('msn') 1654 * @see the_author_meta() 1655 */ 1656 function the_author_msn() { 1657 _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'msn\')' ); 1658 the_author_meta('msn'); 1659 } 1660 1661 /** 1662 * Retrieve the AIM address of the author of the current post. 1663 * 1664 * @since 1.5 1665 * @deprecated 2.8 1666 * @deprecated Use get_the_author_meta('aim') 1667 * @see get_the_author_meta() 1668 * 1669 * @return string The author's AIM address. 1670 */ 1671 function get_the_author_aim() { 1672 _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'aim\')' ); 1673 return get_the_author_meta('aim'); 1674 } 1675 1676 /** 1677 * Display the AIM address of the author of the current post. 1678 * 1679 * @since 0.71 1680 * @see the_author_meta() 1681 * @deprecated 2.8 1682 * @deprecated Use the_author_meta('aim') 1683 */ 1684 function the_author_aim() { 1685 _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'aim\')' ); 1686 the_author_meta('aim'); 1687 } 1688 1689 /** 1690 * Retrieve the specified author's preferred display name. 1691 * 1387 1692 * @since 1.0.0 1388 1693 * @deprecated 2.8 1389 * @deprecated Use the_author_meta('description') 1390 */ 1391 function the_author_description() { 1392 _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'description\')' ); 1393 the_author_meta('description'); 1394 } 1395 1396 /** 1397 * Retrieve the login name of the author of the current post. 1398 * 1399 * @since 1.5 1400 * @deprecated 2.8 1401 * @uses $authordata The current author's DB object. 1402 * @return string The author's login name (username). 1403 * @deprecated Use the_author_meta('login') 1404 */ 1405 function get_the_author_login() { 1406 _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'login\')' ); 1407 return get_the_author_meta('login'); 1408 } 1409 1410 /** 1411 * Display the login name of the author of the current post. 1412 * 1413 * @link http://codex.wordpress.org/Template_Tags/the_author_login 1414 * @since 0.71 1415 * @deprecated 2.8 1416 * @deprecated Use the_author_meta('login') 1417 */ 1418 function the_author_login() { 1419 _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'login\')' ); 1420 the_author_meta('login'); 1421 } 1422 1423 /** 1424 * Retrieve the first name of the author of the current post. 1425 * 1426 * @since 1.5 1427 * @deprecated 2.8 1428 * @uses $authordata The current author's DB object. 1429 * @return string The author's first name. 1430 * @deprecated Use the_author_meta('first_name') 1431 */ 1432 function get_the_author_firstname() { 1433 _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'first_name\')' ); 1434 return get_the_author_meta('first_name'); 1435 } 1436 1437 /** 1438 * Display the first name of the author of the current post. 1439 * 1440 * @link http://codex.wordpress.org/Template_Tags/the_author_firstname 1441 * @since 0.71 1442 * @deprecated 2.8 1443 * @deprecated Use the_author_meta('first_name') 1444 */ 1445 function the_author_firstname() { 1446 _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'first_name\')' ); 1447 the_author_meta('first_name'); 1448 } 1449 1450 /** 1451 * Retrieve the last name of the author of the current post. 1452 * 1453 * @since 1.5 1454 * @deprecated 2.8 1455 * @uses $authordata The current author's DB object. 1456 * @return string The author's last name. 1457 * @deprecated Use the_author_meta('last_name') 1458 */ 1459 function get_the_author_lastname() { 1460 _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'last_name\')' ); 1461 return get_the_author_meta('last_name'); 1462 } 1463 1464 /** 1465 * Display the last name of the author of the current post. 1466 * 1467 * @link http://codex.wordpress.org/Template_Tags/the_author_lastname 1468 * @since 0.71 1469 * @deprecated 2.8 1470 * @deprecated Use the_author_meta('last_name') 1471 */ 1472 function the_author_lastname() { 1473 _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'last_name\')' ); 1474 the_author_meta('last_name'); 1475 } 1476 1477 /** 1478 * Retrieve the nickname of the author of the current post. 1479 * 1480 * @since 1.5 1481 * @deprecated 2.8 1482 * @uses $authordata The current author's DB object. 1483 * @return string The author's nickname. 1484 * @deprecated Use the_author_meta('nickname') 1485 */ 1486 function get_the_author_nickname() { 1487 _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'nickname\')' ); 1488 return get_the_author_meta('nickname'); 1489 } 1490 1491 /** 1492 * Display the nickname of the author of the current post. 1493 * 1494 * @link http://codex.wordpress.org/Template_Tags/the_author_nickname 1495 * @since 0.71 1496 * @deprecated 2.8 1497 * @deprecated Use the_author_meta('nickname') 1498 */ 1499 function the_author_nickname() { 1500 _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'nickname\')' ); 1501 the_author_meta('nickname'); 1502 } 1503 1504 /** 1505 * Retrieve the email of the author of the current post. 1506 * 1507 * @since 1.5 1508 * @deprecated 2.8 1509 * @uses $authordata The current author's DB object. 1510 * @return string The author's username. 1511 * @deprecated Use the_author_meta('email') 1512 */ 1513 function get_the_author_email() { 1514 _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'email\')' ); 1515 return get_the_author_meta('email'); 1516 } 1517 1518 /** 1519 * Display the email of the author of the current post. 1520 * 1521 * @link http://codex.wordpress.org/Template_Tags/the_author_email 1522 * @since 0.71 1523 * @deprecated 2.8 1524 * @deprecated Use the_author_meta('email') 1525 */ 1526 function the_author_email() { 1527 _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'email\')' ); 1528 the_author_meta('email'); 1529 } 1530 1531 /** 1532 * Retrieve the ICQ number of the author of the current post. 1533 * 1534 * @since 1.5 1535 * @deprecated 2.8 1536 * @uses $authordata The current author's DB object. 1537 * @return string The author's ICQ number. 1538 * @deprecated Use the_author_meta('icq') 1539 */ 1540 function get_the_author_icq() { 1541 _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'icq\')' ); 1542 return get_the_author_meta('icq'); 1543 } 1544 1545 /** 1546 * Display the ICQ number of the author of the current post. 1547 * 1548 * @link http://codex.wordpress.org/Template_Tags/the_author_icq 1549 * @since 0.71 1550 * @deprecated 2.8 1551 * @see get_the_author_icq() 1552 * @deprecated Use the_author_meta('icq') 1553 */ 1554 function the_author_icq() { 1555 _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'icq\')' ); 1556 the_author_meta('icq'); 1557 } 1558 1559 /** 1560 * Retrieve the Yahoo! IM name of the author of the current post. 1561 * 1562 * @since 1.5 1563 * @deprecated 2.8 1564 * @uses $authordata The current author's DB object. 1565 * @return string The author's Yahoo! IM name. 1566 * @deprecated Use the_author_meta('yim') 1567 */ 1568 function get_the_author_yim() { 1569 _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'yim\')' ); 1570 return get_the_author_meta('yim'); 1571 } 1572 1573 /** 1574 * Display the Yahoo! IM name of the author of the current post. 1575 * 1576 * @link http://codex.wordpress.org/Template_Tags/the_author_yim 1577 * @since 0.71 1578 * @deprecated 2.8 1579 * @deprecated Use the_author_meta('yim') 1580 */ 1581 function the_author_yim() { 1582 _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'yim\')' ); 1583 the_author_meta('yim'); 1584 } 1585 1586 /** 1587 * Retrieve the MSN address of the author of the current post. 1588 * 1589 * @since 1.5 1590 * @deprecated 2.8 1591 * @uses $authordata The current author's DB object. 1592 * @return string The author's MSN address. 1593 * @deprecated Use the_author_meta('msn') 1594 */ 1595 function get_the_author_msn() { 1596 _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'msn\')' ); 1597 return get_the_author_meta('msn'); 1598 } 1599 1600 /** 1601 * Display the MSN address of the author of the current post. 1602 * 1603 * @link http://codex.wordpress.org/Template_Tags/the_author_msn 1604 * @since 0.71 1605 * @deprecated 2.8 1606 * @see get_the_author_msn() 1607 * @deprecated Use the_author_meta('msn') 1608 */ 1609 function the_author_msn() { 1610 _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'msn\')' ); 1611 the_author_meta('msn'); 1612 } 1613 1614 /** 1615 * Retrieve the AIM address of the author of the current post. 1616 * 1617 * @since 1.5 1618 * @deprecated 2.8 1619 * @uses $authordata The current author's DB object. 1620 * @return string The author's AIM address. 1621 * @deprecated Use the_author_meta('aim') 1622 */ 1623 function get_the_author_aim() { 1624 _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'aim\')' ); 1625 return get_the_author_meta('aim'); 1626 } 1627 1628 /** 1629 * Display the AIM address of the author of the current post. 1630 * 1631 * @link http://codex.wordpress.org/Template_Tags/the_author_aim 1632 * @since 0.71 1633 * @deprecated 2.8 1634 * @see get_the_author_aim() 1635 * @deprecated Use the_author_meta('aim') 1636 */ 1637 function the_author_aim() { 1638 _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'aim\')' ); 1639 the_author_meta('aim'); 1640 } 1641 1642 /** 1643 * Retrieve the specified author's preferred display name. 1644 * 1645 * @since 1.0.0 1646 * @deprecated 2.8 1694 * @deprecated Use get_the_author_meta('display_name') 1695 * @see get_the_author_meta() 1696 * 1647 1697 * @param int $auth_id The ID of the author. 1648 1698 * @return string The author's display name. 1649 * @deprecated Use the_author_meta('display_name')1650 1699 */ 1651 1700 function get_author_name( $auth_id = false ) { 1652 _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'display_name\')');1701 _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'display_name\')' ); 1653 1702 return get_the_author_meta('display_name', $auth_id); 1654 1703 } … … 1659 1708 * @since 1.5 1660 1709 * @deprecated 2.8 1661 * @uses $authordata The current author's DB object. 1710 * @deprecated Use get_the_author_meta('url') 1711 * @see get_the_author_meta() 1712 * 1662 1713 * @return string The URL to the author's page. 1663 1714 */ 1664 1715 function get_the_author_url() { 1665 _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'url\')');1716 _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'url\')' ); 1666 1717 return get_the_author_meta('url'); 1667 1718 } … … 1670 1721 * Display the URL to the home page of the author of the current post. 1671 1722 * 1672 * @link http://codex.wordpress.org/Template_Tags/the_author_url 1673 * @since 0.71 1674 * @deprecated 2.8 1723 * @since 0.71 1724 * @deprecated 2.8 1725 * @deprecated Use the_author_meta('url') 1726 * @see the_author_meta() 1675 1727 */ 1676 1728 function the_author_url() { 1677 _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'url\')');1729 _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'url\')' ); 1678 1730 the_author_meta('url'); 1679 1731 } … … 1684 1736 * @since 1.5 1685 1737 * @deprecated 2.8 1738 * @deprecated Use get_the_author_meta('ID') 1739 * @see get_the_author_meta() 1740 * 1686 1741 * @return int The author's ID. 1687 1742 */ 1688 1743 function get_the_author_ID() { 1689 _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'ID\')');1744 _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'ID\')' ); 1690 1745 return get_the_author_meta('ID'); 1691 1746 } … … 1694 1749 * Display the ID of the author of the current post. 1695 1750 * 1696 * @ link http://codex.wordpress.org/Template_Tags/the_author_ID1697 * @ since 0.711698 * @deprecated 2.81699 * @ uses get_the_author_ID()1751 * @since 0.71 1752 * @deprecated 2.8 1753 * @deprecated Use the_author_meta('ID') 1754 * @see the_author_meta() 1700 1755 */ 1701 1756 function the_author_ID() { 1702 _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'ID\')');1757 _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'ID\')' ); 1703 1758 the_author_meta('ID'); 1704 1759 } … … 1729 1784 * 1730 1785 * @deprecated 2.9.0 1786 * @deprecated Use the_content_feed() 1787 * @see the_content_feed() 1731 1788 * 1732 1789 * @param string $more_link_text Optional. Text to display when more content is available but not displayed. … … 1737 1794 */ 1738 1795 function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) { 1739 _deprecated_function( __FUNCTION__, '2.9', 'the_content_feed');1796 _deprecated_function( __FUNCTION__, '2.9', 'the_content_feed' ); 1740 1797 $content = get_the_content($more_link_text, $stripteaser, $more_file); 1741 1798 $content = apply_filters('the_content_rss', $content); … … 1783 1840 */ 1784 1841 function make_url_footnote( $content ) { 1785 _deprecated_function( __FUNCTION__, '2.9', '');1842 _deprecated_function( __FUNCTION__, '2.9', '' ); 1786 1843 preg_match_all( '/<a(.+?)href=\"(.+?)\"(.*?)>(.+?)<\/a>/', $content, $matches ); 1787 1844 $links_summary = "\n";
Note: See TracChangeset
for help on using the changeset viewer.