Ticket #28806: 28806.3.diff
File 28806.3.diff, 58.2 KB (added by , 11 years ago) |
---|
-
wp-admin/includes/deprecated.php
14 14 15 15 /** 16 16 * @since 2.1.0 17 * @deprecated 2.1.0 18 * @deprecated Use wp_editor(). 17 * @deprecated 2.1.0 Use wp_editor(). 19 18 * @see wp_editor() 20 19 */ 21 20 function tinymce_include() { … … 40 39 * Calculates the new dimensions for a downsampled image. 41 40 * 42 41 * @since 2.0.0 43 * @deprecated 3.0.0 44 * @deprecated Use wp_constrain_dimensions() 42 * @deprecated 3.0.0 Use wp_constrain_dimensions() 45 43 * @see wp_constrain_dimensions() 46 44 * 47 45 * @param int $width Current width of the image … … 59 57 * Calculated the new dimensions for a downsampled image. 60 58 * 61 59 * @since 2.0.0 62 * @deprecated 3.5.0 63 * @deprecated Use wp_constrain_dimensions() 60 * @deprecated 3.5.0 Use wp_constrain_dimensions() 64 61 * @see wp_constrain_dimensions() 65 62 * 66 63 * @param int $width Current width of the image … … 76 73 * {@internal Missing Short Description}} 77 74 * 78 75 * @since 0.71 79 * @deprecated 2.6.0 80 * @deprecated Use wp_category_checklist() 76 * @deprecated 2.6.0 Use wp_category_checklist() 81 77 * @see wp_category_checklist() 82 78 * 83 79 * @param unknown_type $default … … 94 90 * {@internal Missing Short Description}} 95 91 * 96 92 * @since 2.1.0 97 * @deprecated 2.6.0 98 * @deprecated Use wp_link_category_checklist() 93 * @deprecated 2.6.0 Use wp_link_category_checklist() 99 94 * @see wp_link_category_checklist() 100 95 * 101 96 * @param unknown_type $default … … 126 121 * {@internal Missing Short Description}} 127 122 * 128 123 * @since 1.2.0 129 * @deprecated 3.0.0 130 * @deprecated Use wp_dropdown_categories() 124 * @deprecated 3.0.0 Use wp_dropdown_categories() 131 125 * @see wp_dropdown_categories() 132 126 * 133 127 * @param unknown_type $currentcat … … 163 157 * Register a setting and its sanitization callback 164 158 * 165 159 * @since 2.7.0 166 * @deprecated 3.0.0 167 * @deprecated Use register_setting() 160 * @deprecated 3.0.0 Use register_setting() 168 161 * @see register_setting() 169 162 * 170 163 * @param string $option_group A settings group name. Should correspond to a whitelisted option key name. … … 182 175 * Unregister a setting 183 176 * 184 177 * @since 2.7.0 185 * @deprecated 3.0.0 186 * @deprecated Use unregister_setting() 178 * @deprecated 3.0.0 Use unregister_setting() 187 179 * @see unregister_setting() 188 180 * 189 181 * @param unknown_type $option_group … … 232 224 } 233 225 234 226 /** 235 * @deprecated 3.1.0 227 * @deprecated 3.1.0 Use get_users() 236 228 * 237 229 * @return array List of user IDs. 238 230 */ … … 249 241 } 250 242 251 243 /** 252 * @deprecated 3.1.0 244 * @deprecated 3.1.0 Use get_users() 253 245 * 254 246 * @param int $user_id User ID. 255 247 * @return array|bool List of editable authors. False if no editable users. … … 272 264 } 273 265 274 266 /** 275 * @deprecated 3.1.0 267 * @deprecated 3.1.0 Use get_users() 276 268 * 277 269 * @param int $user_id User ID. 278 270 * @param bool $exclude_zeros Optional, default is true. Whether to exclude zeros. … … 307 299 } 308 300 309 301 /** 310 * @deprecated 3.1.0 302 * @deprecated 3.1.0 Use get_users() 311 303 */ 312 304 function get_nonauthor_user_ids() { 313 305 _deprecated_function( __FUNCTION__, '3.1', 'get_users()' ); … … 327 319 * WordPress User Search class. 328 320 * 329 321 * @since 2.1.0 330 * @deprecated 3.1.0 322 * @deprecated 3.1.0 Use WP_User_Query 331 323 */ 332 324 class WP_User_Search { 333 325 … … 724 716 * Output the QuickPress dashboard widget. 725 717 * 726 718 * @since 3.0.0 727 * @deprecated 3.2.0 728 * @deprecated Use wp_dashboard_quick_press() 719 * @deprecated 3.2.0 Use wp_dashboard_quick_press() 729 720 * @see wp_dashboard_quick_press() 730 721 */ 731 722 function wp_dashboard_quick_press_output() { … … 735 726 736 727 /** 737 728 * @since 2.7.0 738 * @deprecated 3.3.0 739 * @deprecated Use wp_editor() 729 * @deprecated 3.3.0 Use wp_editor() 740 730 * @see wp_editor() 741 731 */ 742 732 function wp_tiny_mce( $teeny = false, $settings = false ) { … … 760 750 } 761 751 762 752 /** 763 * @deprecated 3.3.0 764 * @deprecated Use wp_editor() 753 * @deprecated 3.3.0 Use wp_editor() 765 754 * @see wp_editor() 766 755 */ 767 756 function wp_preload_dialogs() { … … 769 758 } 770 759 771 760 /** 772 * @deprecated 3.3.0 773 * @deprecated Use wp_editor() 761 * @deprecated 3.3.0 Use wp_editor() 774 762 * @see wp_editor() 775 763 */ 776 764 function wp_print_editor_js() { … … 778 766 } 779 767 780 768 /** 781 * @deprecated 3.3.0 782 * @deprecated Use wp_editor() 769 * @deprecated 3.3.0 Use wp_editor() 783 770 * @see wp_editor() 784 771 */ 785 772 function wp_quicktags() { … … 790 777 * Returns the screen layout options. 791 778 * 792 779 * @since 2.8.0 793 * @deprecated 3.3.0 794 * @deprecated Use $current_screen->render_screen_layout() 780 * @deprecated 3.3.0 Use $current_screen->render_screen_layout() 795 781 * @see WP_Screen::render_screen_layout() 796 782 */ 797 783 function screen_layout( $screen ) { … … 811 797 * Returns the screen's per-page options. 812 798 * 813 799 * @since 2.8.0 814 * @deprecated 3.3.0 815 * @deprecated Use $current_screen->render_per_page_options() 800 * @deprecated 3.3.0 Use $current_screen->render_per_page_options() 816 801 * @see WP_Screen::render_per_page_options() 817 802 */ 818 803 function screen_options( $screen ) { … … 832 817 * Renders the screen's help. 833 818 * 834 819 * @since 2.7.0 835 * @deprecated 3.3.0 836 * @deprecated Use $current_screen->render_screen_meta() 820 * @deprecated 3.3.0 Use $current_screen->render_screen_meta() 837 821 * @see WP_Screen::render_screen_meta() 838 822 */ 839 823 function screen_meta( $screen ) { … … 845 829 * Favorite actions were deprecated in version 3.2. Use the admin bar instead. 846 830 * 847 831 * @since 2.7.0 848 * @deprecated 3.2.0 832 * @deprecated 3.2.0 Use WP_Admin_Bar 849 833 */ 850 834 function favorite_actions() { 851 835 _deprecated_function( __FUNCTION__, '3.2', 'WP_Admin_Bar' ); 852 836 } 853 837 838 /** 839 * @deprecated 3.3.0 Use wp_media_upload_handler() 840 * @see wp_media_upload_handler() 841 */ 854 842 function media_upload_image() { 855 843 _deprecated_function( __FUNCTION__, '3.3', 'wp_media_upload_handler()' ); 856 844 return wp_media_upload_handler(); 857 845 } 858 846 847 /** 848 * @deprecated 3.3.0 Use wp_media_upload_handler() 849 * @see wp_media_upload_handler() 850 */ 859 851 function media_upload_audio() { 860 852 _deprecated_function( __FUNCTION__, '3.3', 'wp_media_upload_handler()' ); 861 853 return wp_media_upload_handler(); 862 854 } 863 855 856 /** 857 * @deprecated 3.3.0 Use wp_media_upload_handler() 858 * @see wp_media_upload_handler() 859 */ 864 860 function media_upload_video() { 865 861 _deprecated_function( __FUNCTION__, '3.3', 'wp_media_upload_handler()' ); 866 862 return wp_media_upload_handler(); 867 863 } 868 864 865 /** 866 * @deprecated 3.3.0 Use wp_media_upload_handler() 867 * @see wp_media_upload_handler() 868 */ 869 869 function media_upload_file() { 870 870 _deprecated_function( __FUNCTION__, '3.3', 'wp_media_upload_handler()' ); 871 871 return wp_media_upload_handler(); 872 872 } 873 873 874 /** 875 * @deprecated 3.3.0 Use wp_media_insert_url_form('image') 876 * @see wp_media_insert_url_form('image') 877 */ 874 878 function type_url_form_image() { 875 879 _deprecated_function( __FUNCTION__, '3.3', "wp_media_insert_url_form('image')" ); 876 880 return wp_media_insert_url_form( 'image' ); 877 881 } 878 882 883 /** 884 * @deprecated 3.3.0 Use wp_media_insert_url_form('audio') 885 * @see wp_media_insert_url_form('audio') 886 */ 879 887 function type_url_form_audio() { 880 888 _deprecated_function( __FUNCTION__, '3.3', "wp_media_insert_url_form('audio')" ); 881 889 return wp_media_insert_url_form( 'audio' ); 882 890 } 883 891 892 /** 893 * @deprecated 3.3.0 Use wp_media_insert_url_form('video') 894 * @see wp_media_insert_url_form('video') 895 */ 884 896 function type_url_form_video() { 885 897 _deprecated_function( __FUNCTION__, '3.3', "wp_media_insert_url_form('video')" ); 886 898 return wp_media_insert_url_form( 'video' ); 887 899 } 888 900 901 /** 902 * @deprecated 3.3.0 Use wp_media_insert_url_form('file') 903 * @see wp_media_insert_url_form('file') 904 */ 889 905 function type_url_form_file() { 890 906 _deprecated_function( __FUNCTION__, '3.3', "wp_media_insert_url_form('file')" ); 891 907 return wp_media_insert_url_form( 'file' ); … … 897 913 * Creates an 'Overview' help tab. 898 914 * 899 915 * @since 2.7.0 900 * @deprecated 3.3.0 901 * @deprecated Use get_current_screen()->add_help_tab() 916 * @deprecated 3.3.0 Use get_current_screen()->add_help_tab() 902 917 * @see WP_Screen 903 918 * 904 919 * @param string $screen The handle for the screen to add help to. This is usually the hook name returned by the add_*_page() functions. … … 917 932 * Get the allowed themes for the current blog. 918 933 * 919 934 * @since 3.0.0 920 * @deprecated 3.4.0 921 * @deprecated Use wp_get_themes() 935 * @deprecated 3.4.0 Use wp_get_themes() 922 936 * @see wp_get_themes() 923 937 * 924 938 * @return array $themes Array of allowed themes. … … 940 954 * {@internal Missing Short Description}} 941 955 * 942 956 * @since 1.5.0 943 * @deprecated 3.4.0 957 * @deprecated 3.4.0 Use wp_get_themes( array( 'errors' => true ) 958 * @see wp_get_themes() 944 959 * 945 960 * @return unknown 946 961 */ … … 964 979 * {@internal Missing Short Description}} 965 980 * 966 981 * @since 2.0.0 967 * @deprecated 3.4.0 982 * @deprecated 3.4.0 Use wp_get_theme() 983 * @see wp_get_theme() 968 984 * 969 985 * @return unknown 970 986 */ … … 996 1012 * Get an existing post and format it for editing. 997 1013 * 998 1014 * @since 2.0.0 999 * @deprecated 3.5.0 1015 * @deprecated 3.5.0 Use get_post() 1016 * @see get_post() 1000 1017 * 1001 1018 * @param int $id 1002 1019 * @return object … … 1011 1028 * Get the default page information to use. 1012 1029 * 1013 1030 * @since 2.5.0 1014 * @deprecated 3.5.0 1015 * @ deprecated Use get_default_post_to_edit()1031 * @deprecated 3.5.0 Use get_default_post_to_edit() 1032 * @see get_default_post_to_edit() 1016 1033 * 1017 1034 * @return WP_Post Post object containing all the default post data as attributes 1018 1035 */ … … 1028 1045 * This was once used to create a thumbnail from an Image given a maximum side size. 1029 1046 * 1030 1047 * @since 1.2.0 1031 * @deprecated 3.5.0 1032 * @deprecated Use image_resize() 1048 * @deprecated 3.5.0 Use image_resize() 1033 1049 * @see image_resize() 1034 1050 * 1035 1051 * @param mixed $file Filename of the original image, Or attachment id. … … 1061 1077 * and calling the 'upgrade' method. 1062 1078 * 1063 1079 * @since 2.7.0 1064 * @deprecated 3.7.0 1080 * @deprecated 3.7.0 Use new Core_Upgrader() 1065 1081 * @see Core_Upgrader 1066 1082 */ 1067 1083 function wp_update_core($current, $feedback = '') { … … 1084 1100 * Unused since 2.8.0. 1085 1101 * 1086 1102 * @since 2.5.0 1087 * @deprecated 3.7.0 1103 * @deprecated 3.7.0 Use new Plugin_Upgrader() 1088 1104 * @see Plugin_Upgrader 1089 1105 */ 1090 1106 function wp_update_plugin($plugin, $feedback = '') { … … 1106 1122 * Unused since 2.8.0. 1107 1123 * 1108 1124 * @since 2.7.0 1109 * @deprecated 3.7.0 1125 * @deprecated 3.7.0 Use new Theme_Upgrader() 1110 1126 * @see Theme_Upgrader 1111 1127 */ 1112 1128 function wp_update_theme($theme, $feedback = '') { … … 1135 1151 _deprecated_function( __FUNCTION__, '3.7' ); 1136 1152 } 1137 1153 1138 /** #@+1154 /** 1139 1155 * Displays a screen icon. 1140 1156 * 1141 1157 * @since 2.7.0 1142 1158 * @since 3.8.0 Screen icons are no longer used in WordPress. This function no longer produces output. 1143 * @deprecated 3.8.0 1159 * @deprecated 3.8.0 Screen icons are no longer used in WordPress. This function no longer produces output. 1144 1160 */ 1145 1161 function screen_icon() { 1146 1162 echo get_screen_icon(); 1147 1163 } 1164 1165 /** 1166 * Returns a screen icon. 1167 * 1168 * @since 2.7.0 1169 * @since 3.8.0 Screen icons are no longer used in WordPress. This function no longer returns output. 1170 * @deprecated 3.8.0 Screen icons are no longer used in WordPress. This function no longer returns output. 1171 */ 1148 1172 function get_screen_icon() { 1149 1173 return '<!-- Screen icons are no longer used as of WordPress 3.8. -->'; 1150 1174 } 1151 /**#@-*/1152 1175 1153 1176 /**#@+ 1154 1177 * Deprecated dashboard widget controls. -
wp-admin/includes/ms-deprecated.php
20 20 /** 21 21 * Determines if the available space defined by the admin has been exceeded by the user. 22 22 * 23 * @deprecated 3.0.0 23 * @deprecated 3.0.0 Use is_upload_space_available() 24 24 * @see is_upload_space_available() 25 25 */ 26 26 function wpmu_checkAvailableSpace() { … … 39 39 } 40 40 41 41 /** 42 * @deprecated 3.0.0 42 * @deprecated 3.0.0 Use activate_plugin() 43 43 * @see activate_plugin() 44 44 */ 45 45 function activate_sitewide_plugin() { … … 48 48 } 49 49 50 50 /** 51 * @deprecated 3.0.0 51 * @deprecated 3.0.0 Use deactivate_sitewide_plugin() 52 52 * @see deactivate_sitewide_plugin() 53 53 */ 54 54 function deactivate_sitewide_plugin( $plugin = false ) { 55 _deprecated_function(__FUNCTION__, '3.0', 'deactivate_ plugin()' );55 _deprecated_function(__FUNCTION__, '3.0', 'deactivate_sitewide_plugin()' ); 56 56 return; 57 57 } 58 58 59 59 /** 60 * @deprecated 3.0.0 60 * @deprecated 3.0.0 Use is_network_only_plugin() 61 61 * @see is_network_only_plugin() 62 62 */ 63 63 function is_wpmu_sitewide_plugin( $file ) { … … 65 65 return is_network_only_plugin( $file ); 66 66 } 67 67 68 69 /** 70 * @deprecated 3.4.0 Use WP_Theme::get_allowed_on_network() 71 * @see WP_Theme::get_allowed_on_network() 72 */ 68 73 function get_site_allowed_themes() { 69 74 _deprecated_function( __FUNCTION__, '3.4', 'WP_Theme::get_allowed_on_network()' ); 70 75 return array_map( 'intval', WP_Theme::get_allowed_on_network() ); 71 76 } 72 77 78 79 /** 80 * @deprecated 3.4.0 Use WP_Theme::get_allowed_on_site() 81 * @see WP_Theme::get_allowed_on_site() 82 */ 73 83 function wpmu_get_blog_allowedthemes( $blog_id = 0 ) { 74 84 _deprecated_function( __FUNCTION__, '3.4', 'WP_Theme::get_allowed_on_site()' ); 75 85 return array_map( 'intval', WP_Theme::get_allowed_on_site( $blog_id ) ); 76 86 } 77 87 88 89 /** 90 * @deprecated 3.0.0 91 */ 78 92 function ms_deprecated_blogs_file() {} 93 No newline at end of file -
wp-includes/cache.php
571 571 * Reset keys 572 572 * 573 573 * @since 3.0.0 574 * @deprecated 3.5.0 574 * @deprecated 3.5.0 Use switch_to_blog() 575 * @see switch_to_blog() 575 576 */ 576 577 public function reset() { 577 578 _deprecated_function( __FUNCTION__, '3.5', 'switch_to_blog()' ); -
wp-includes/class-simplepie.php
959 959 /**#@+ 960 960 * Useful when you are overloading or extending SimplePie's default classes. 961 961 * 962 * @deprecated Use {@see get_registry()} instead962 * @deprecated Use get_registry() 963 963 * @link http://php.net/manual/en/language.oop5.basic.php#language.oop5.basic.extends PHP5 extends documentation 964 964 * @param string $class Name of custom class 965 965 * @return boolean True on success, false otherwise -
wp-includes/class-wp-xmlrpc-server.php
243 243 * Check user's credentials. Deprecated. 244 244 * 245 245 * @since 1.5.0 246 * @deprecated 2.8.0 247 * @deprecated use wp_xmlrpc_server::login 246 * @deprecated 2.8.0 Use wp_xmlrpc_server::login 248 247 * @see wp_xmlrpc_server::login 249 248 * 250 249 * @param string $username User's username. -
wp-includes/deprecated.php
16 16 * Entire Post data. 17 17 * 18 18 * @since 0.71 19 * @deprecated 1.5.1 20 * @deprecated Use get_post() 19 * @deprecated 1.5.1 Use get_post() 21 20 * @see get_post() 22 21 * 23 22 * @param int $postid … … 53 52 * Sets up the WordPress Loop. 54 53 * 55 54 * @since 1.0.1 56 * @deprecated 1.5.0 57 * @deprecated Use The Loop - {@link http://codex.wordpress.org/The_Loop Use new WordPress Loop} 55 * @deprecated 1.5.0 Use The Loop - {@link http://codex.wordpress.org/The_Loop Use new WordPress Loop} 58 56 */ 59 57 function start_wp() { 60 58 global $wp_query; … … 71 69 * Return or Print Category ID. 72 70 * 73 71 * @since 0.71 74 * @deprecated 0.71 75 * @deprecated use get_the_category() 72 * @deprecated 0.71 Use get_the_category() 76 73 * @see get_the_category() 77 74 * 78 75 * @param bool $echo … … 95 92 * Print category with optional text before and after. 96 93 * 97 94 * @since 0.71 98 * @deprecated 0.71 99 * @deprecated use get_the_category_by_ID() 95 * @deprecated 0.71 Use get_the_category_by_ID() 100 96 * @see get_the_category_by_ID() 101 97 * 102 98 * @param string $before … … 122 118 * Prints link to the previous post. 123 119 * 124 120 * @since 1.5.0 125 * @deprecated 2.0.0 126 * @deprecated Use previous_post_link() 121 * @deprecated 2.0.0 Use previous_post_link() 127 122 * @see previous_post_link() 128 123 * 129 124 * @param string $format … … 159 154 * Prints link to the next post. 160 155 * 161 156 * @since 0.71 162 * @deprecated 2.0.0 163 * @deprecated Use next_post_link() 157 * @deprecated 2.0.0 Use next_post_link() 164 158 * @see next_post_link() 165 159 * 166 160 * @param string $format … … 195 189 * Whether user can create a post. 196 190 * 197 191 * @since 1.5.0 198 * @deprecated 2.0.0 199 * @deprecated Use current_user_can() 192 * @deprecated 2.0.0 Use current_user_can() 200 193 * @see current_user_can() 201 194 * 202 195 * @param int $user_id … … 215 208 * Whether user can create a post. 216 209 * 217 210 * @since 1.5.0 218 * @deprecated 2.0.0 219 * @deprecated Use current_user_can() 211 * @deprecated 2.0.0 Use current_user_can() 220 212 * @see current_user_can() 221 213 * 222 214 * @param int $user_id … … 235 227 * Whether user can edit a post. 236 228 * 237 229 * @since 1.5.0 238 * @deprecated 2.0.0 239 * @deprecated Use current_user_can() 230 * @deprecated 2.0.0 Use current_user_can() 240 231 * @see current_user_can() 241 232 * 242 233 * @param int $user_id … … 264 255 * Whether user can delete a post. 265 256 * 266 257 * @since 1.5.0 267 * @deprecated 2.0.0 268 * @deprecated Use current_user_can() 258 * @deprecated 2.0.0 Use current_user_can() 269 259 * @see current_user_can() 270 260 * 271 261 * @param int $user_id … … 284 274 * Whether user can set new posts' dates. 285 275 * 286 276 * @since 1.5.0 287 * @deprecated 2.0.0 288 * @deprecated Use current_user_can() 277 * @deprecated 2.0.0 Use current_user_can() 289 278 * @see current_user_can() 290 279 * 291 280 * @param int $user_id … … 304 293 * Whether user can delete a post. 305 294 * 306 295 * @since 1.5.0 307 * @deprecated 2.0.0 308 * @deprecated Use current_user_can() 296 * @deprecated 2.0.0 Use current_user_can() 309 297 * @see current_user_can() 310 298 * 311 299 * @param int $user_id … … 324 312 * Whether user can delete a post. 325 313 * 326 314 * @since 1.5.0 327 * @deprecated 2.0.0 328 * @deprecated Use current_user_can() 315 * @deprecated 2.0.0 Use current_user_can() 329 316 * @see current_user_can() 330 317 * 331 318 * @param int $user_id … … 344 331 * Whether user can delete a post. 345 332 * 346 333 * @since 1.5.0 347 * @deprecated 2.0.0 348 * @deprecated Use current_user_can() 334 * @deprecated 2.0.0 Use current_user_can() 349 335 * @see current_user_can() 350 336 * 351 337 * @param int $user_id … … 364 350 * Can user can edit other user. 365 351 * 366 352 * @since 1.5.0 367 * @deprecated 2.0.0 368 * @deprecated Use current_user_can() 353 * @deprecated 2.0.0 Use current_user_can() 369 354 * @see current_user_can() 370 355 * 371 356 * @param int $user_id … … 387 372 * Gets the links associated with category $cat_name. 388 373 * 389 374 * @since 0.71 390 * @deprecated 2.1.0 391 * @deprecated Use get_bookmarks() 375 * @deprecated 2.1.0 Use get_bookmarks() 392 376 * @see get_bookmarks() 393 377 * 394 378 * @param string $cat_name Optional. The category name to use. If no match is found uses all. … … 421 405 * Gets the links associated with the named category. 422 406 * 423 407 * @since 1.0.1 424 * @deprecated 2.1.0 425 * @deprecated Use wp_list_bookmarks() 408 * @deprecated 2.1.0 Use wp_list_bookmarks() 426 409 * @see wp_list_bookmarks() 427 410 * 428 411 * @param string $category The category to use. … … 459 442 * </code> 460 443 * 461 444 * @since 1.0.1 462 * @deprecated 2.1.0 463 * @deprecated Use get_bookmarks() 445 * @deprecated 2.1.0 Use get_bookmarks() 464 446 * @see get_bookmarks() 465 447 * 466 448 * @param string $cat_name The category name to use. If no match is found uses all. … … 512 494 * </ol> 513 495 * 514 496 * @since 1.0.1 515 * @deprecated 2.1.0 516 * @deprecated Use get_bookmarks() 497 * @deprecated 2.1.0 Use get_bookmarks() 517 498 * @see get_bookmarks() 518 499 * 519 500 * @param int $category The category to use. If no category supplied uses all … … 540 521 * Gets the links associated with category 'cat_name' and display rating stars/chars. 541 522 * 542 523 * @since 0.71 543 * @deprecated 2.1.0 544 * @deprecated Use get_bookmarks() 524 * @deprecated 2.1.0 Use get_bookmarks() 545 525 * @see get_bookmarks() 546 526 * 547 527 * @param string $cat_name The category name to use. If no match is found uses all … … 568 548 * Gets the links associated with category n and display rating stars/chars. 569 549 * 570 550 * @since 0.71 571 * @deprecated 2.1.0 572 * @deprecated Use get_bookmarks() 551 * @deprecated 2.1.0 Use get_bookmarks() 573 552 * @see get_bookmarks() 574 553 * 575 554 * @param int $category The category to use. If no category supplied uses all … … 596 575 * Gets the auto_toggle setting. 597 576 * 598 577 * @since 0.71 599 * @deprecated 2.1.0 600 * @deprecated No alternative function available 578 * @deprecated 2.1.0 No alternative function available 601 579 * 602 580 * @param int $id The category to get. If no category supplied uses 0 603 581 * @return int Only returns 0. … … 609 587 610 588 /** 611 589 * @since 0.71 612 * @deprecated 2.1.0 613 * @deprecated Use wp_list_categories() 590 * @deprecated 2.1.0 Use wp_list_categories() 614 591 * @see wp_list_categories() 615 592 * 616 593 * @param int $optionall … … 645 622 646 623 /** 647 624 * @since 1.2.0 648 * @deprecated 2.1.0 649 * @deprecated Use wp_list_categories() 625 * @deprecated 2.1.0 Use wp_list_categories() 650 626 * @see wp_list_categories() 651 627 * 652 628 * @param string|array $args … … 677 653 678 654 /** 679 655 * @since 0.71 680 * @deprecated 2.1.0 681 * @deprecated Use wp_dropdown_categories() 656 * @deprecated 2.1.0 Use wp_dropdown_categories() 682 657 * @see wp_dropdown_categories() 683 658 * 684 659 * @param int $optionall … … 716 691 * List authors. 717 692 * 718 693 * @since 1.2.0 719 * @deprecated 2.1.0 720 * @deprecated Use wp_list_authors() 694 * @deprecated 2.1.0 Use wp_list_authors() 721 695 * @see wp_list_authors() 722 696 * 723 697 * @param bool $optioncount … … 737 711 738 712 /** 739 713 * @since 1.0.1 740 * @deprecated 2.1.0 741 * @deprecated Use wp_get_post_categories() 714 * @deprecated 2.1.0 Use wp_get_post_categories() 742 715 * @see wp_get_post_categories() 743 716 * 744 717 * @param int $blogid Not Used … … 754 727 * Sets the categories that the post id belongs to. 755 728 * 756 729 * @since 1.0.1 757 * @deprecated 2.1.0 758 * @deprecated Use wp_set_post_categories() 730 * @deprecated 2.1.0 Use wp_set_post_categories() 759 731 * @see wp_set_post_categories() 760 732 * 761 733 * @param int $blogid Not used … … 770 742 771 743 /** 772 744 * @since 0.71 773 * @deprecated 2.1.0 774 * @deprecated Use wp_get_archives() 745 * @deprecated 2.1.0 Use wp_get_archives() 775 746 * @see wp_get_archives() 776 747 * 777 748 * @param string $type … … 792 763 * Returns or Prints link to the author's posts. 793 764 * 794 765 * @since 1.2.0 795 * @deprecated 2.1.0 796 * @deprecated Use get_author_posts_url() 766 * @deprecated 2.1.0 Use get_author_posts_url() 797 767 * @see get_author_posts_url() 798 768 * 799 769 * @param bool $echo … … 815 785 * Print list of pages based on arguments. 816 786 * 817 787 * @since 0.71 818 * @deprecated 2.1.0 819 * @deprecated Use wp_link_pages() 788 * @deprecated 2.1.0 Use wp_link_pages() 820 789 * @see wp_link_pages() 821 790 * 822 791 * @param string $before … … 840 809 * Get value based on option. 841 810 * 842 811 * @since 0.71 843 * @deprecated 2.1.0 844 * @deprecated Use get_option() 812 * @deprecated 2.1.0 Use get_option() 845 813 * @see get_option() 846 814 * 847 815 * @param string $option … … 857 825 * Print the permalink of the current post in the loop. 858 826 * 859 827 * @since 0.71 860 * @deprecated 1.2.0 861 * @deprecated Use the_permalink() 828 * @deprecated 1.2.0 Use the_permalink() 862 829 * @see the_permalink() 863 830 */ 864 831 function permalink_link() { … … 870 837 * Print the permalink to the RSS feed. 871 838 * 872 839 * @since 0.71 873 * @deprecated 2.3.0 874 * @deprecated Use the_permalink_rss() 840 * @deprecated 2.3.0 Use the_permalink_rss() 875 841 * @see the_permalink_rss() 876 842 * 877 843 * @param string $deprecated … … 886 852 * 887 853 * @see get_links() for argument information that can be used in $args 888 854 * @since 1.0.1 889 * @deprecated 2.1.0 890 * @deprecated Use wp_list_bookmarks() 855 * @deprecated 2.1.0 Use wp_list_bookmarks() 891 856 * @see wp_list_bookmarks() 892 857 * 893 858 * @param string $args a query string … … 926 891 * Gets the links associated with category by id. 927 892 * 928 893 * @since 0.71 929 * @deprecated 2.1.0 930 * @deprecated Use get_bookmarks() 894 * @deprecated 2.1.0 Use get_bookmarks() 931 895 * @see get_bookmarks() 932 896 * 933 897 * @param int $category The category to use. If no category supplied uses all … … 1035 999 * $wpdb->linkcategories and output it as a nested HTML unordered list. 1036 1000 * 1037 1001 * @since 1.0.1 1038 * @deprecated 2.1.0 1039 * @deprecated Use wp_list_bookmarks() 1002 * @deprecated 2.1.0 Use wp_list_bookmarks() 1040 1003 * @see wp_list_bookmarks() 1041 1004 * 1042 1005 * @param string $order Sort link categories by 'name' or 'id' … … 1078 1041 * Show the link to the links popup and the number of links. 1079 1042 * 1080 1043 * @since 0.71 1081 * @deprecated 2.1.0 1082 * @deprecated {@internal Use function instead is unknown}} 1044 * @deprecated 2.1.0 {@internal Use function instead is unknown}} 1083 1045 * 1084 1046 * @param string $text the text of the link 1085 1047 * @param int $width the width of the popup window … … 1093 1055 1094 1056 /** 1095 1057 * @since 1.0.1 1096 * @deprecated 2.1.0 1097 * @deprecated Use sanitize_bookmark_field() 1058 * @deprecated 2.1.0 Use sanitize_bookmark_field() 1098 1059 * @see sanitize_bookmark_field() 1099 1060 * 1100 1061 * @param object $link … … 1109 1070 * Gets the name of category by id. 1110 1071 * 1111 1072 * @since 0.71 1112 * @deprecated 2.1.0 1113 * @deprecated Use get_category() 1073 * @deprecated 2.1.0 Use get_category() 1114 1074 * @see get_category() 1115 1075 * 1116 1076 * @param int $id The category to get. If no category supplied uses 0 … … 1139 1099 * Print RSS comment feed link. 1140 1100 * 1141 1101 * @since 1.0.1 1142 * @deprecated 2.5.0 1143 * @deprecated Use post_comments_feed_link() 1102 * @deprecated 2.5.0 Use post_comments_feed_link() 1144 1103 * @see post_comments_feed_link() 1145 1104 * 1146 1105 * @param string $link_text … … 1154 1113 * Print/Return link to category RSS2 feed. 1155 1114 * 1156 1115 * @since 1.2.0 1157 * @deprecated 2.5.0 1158 * @deprecated Use get_category_feed_link() 1116 * @deprecated 2.5.0 Use get_category_feed_link() 1159 1117 * @see get_category_feed_link() 1160 1118 * 1161 1119 * @param bool $echo … … 1176 1134 * Print/Return link to author RSS feed. 1177 1135 * 1178 1136 * @since 1.2.0 1179 * @deprecated 2.5.0 1180 * @deprecated Use get_author_feed_link() 1137 * @deprecated 2.5.0 Use get_author_feed_link() 1181 1138 * @see get_author_feed_link() 1182 1139 * 1183 1140 * @param bool $echo … … 1197 1154 * Return link to the post RSS feed. 1198 1155 * 1199 1156 * @since 1.5.0 1200 * @deprecated 2.2.0 1201 * @deprecated Use get_post_comments_feed_link() 1157 * @deprecated 2.2.0 Use get_post_comments_feed_link() 1202 1158 * @see get_post_comments_feed_link() 1203 1159 * 1204 1160 * @return string … … 1212 1168 * An alias of wp_create_user(). 1213 1169 * 1214 1170 * @since 2.0.0 1215 * @deprecated 2.0.0 1216 * @deprecated Use wp_create_user() 1171 * @deprecated 2.0.0 Use wp_create_user() 1217 1172 * @see wp_create_user() 1218 1173 * 1219 1174 * @param string $username The user's username. … … 1240 1195 * Retrieve an array of comment data about comment $comment_ID. 1241 1196 * 1242 1197 * @since 0.71 1243 * @deprecated 2.7.0 1244 * @deprecated Use get_comment() 1198 * @deprecated 2.7.0 Use get_comment() 1245 1199 * @see get_comment() 1246 1200 * 1247 1201 * @param int $comment_ID The ID of the comment … … 1258 1212 * Retrieve the category name by the category ID. 1259 1213 * 1260 1214 * @since 0.71 1261 * @deprecated 2.8.0 1262 * @deprecated Use get_cat_name() 1215 * @deprecated 2.8.0 Use get_cat_name() 1263 1216 * @see get_cat_name() 1264 1217 * 1265 1218 * @param int $cat_ID Category ID … … 1274 1227 * Retrieve category children list separated before and after the term IDs. 1275 1228 * 1276 1229 * @since 1.2.0 1277 * @deprecated 2.8.0 1278 * @deprecated Use get_term_children() 1230 * @deprecated 2.8.0 Use get_term_children() 1279 1231 * @see get_term_children() 1280 1232 * 1281 1233 * @param int $id Category ID to retrieve children. … … 1333 1285 * Retrieve the description of the author of the current post. 1334 1286 * 1335 1287 * @since 1.5.0 1336 * @deprecated 2.8.0 1337 * @deprecated Use get_the_author_meta('description') 1288 * @deprecated 2.8.0 Use get_the_author_meta('description') 1338 1289 * @see get_the_author_meta() 1339 1290 * 1340 1291 * @return string The author's description. … … 1348 1299 * Display the description of the author of the current post. 1349 1300 * 1350 1301 * @since 1.0.0 1351 * @deprecated 2.8.0 1352 * @deprecated Use the_author_meta('description') 1302 * @deprecated 2.8.0 Use the_author_meta('description') 1353 1303 * @see the_author_meta() 1354 1304 */ 1355 1305 function the_author_description() { … … 1361 1311 * Retrieve the login name of the author of the current post. 1362 1312 * 1363 1313 * @since 1.5.0 1364 * @deprecated 2.8.0 1365 * @deprecated Use get_the_author_meta('login') 1314 * @deprecated 2.8.0 Use get_the_author_meta('login') 1366 1315 * @see get_the_author_meta() 1367 1316 * 1368 1317 * @return string The author's login name (username). … … 1376 1325 * Display the login name of the author of the current post. 1377 1326 * 1378 1327 * @since 0.71 1379 * @deprecated 2.8.0 1380 * @deprecated Use the_author_meta('login') 1328 * @deprecated 2.8.0 Use the_author_meta('login') 1381 1329 * @see the_author_meta() 1382 1330 */ 1383 1331 function the_author_login() { … … 1389 1337 * Retrieve the first name of the author of the current post. 1390 1338 * 1391 1339 * @since 1.5.0 1392 * @deprecated 2.8.0 1393 * @deprecated Use get_the_author_meta('first_name') 1340 * @deprecated 2.8.0 Use get_the_author_meta('first_name') 1394 1341 * @see get_the_author_meta() 1395 1342 * 1396 1343 * @return string The author's first name. … … 1404 1351 * Display the first name of the author of the current post. 1405 1352 * 1406 1353 * @since 0.71 1407 * @deprecated 2.8.0 1408 * @deprecated Use the_author_meta('first_name') 1354 * @deprecated 2.8.0 Use the_author_meta('first_name') 1409 1355 * @see the_author_meta() 1410 1356 */ 1411 1357 function the_author_firstname() { … … 1417 1363 * Retrieve the last name of the author of the current post. 1418 1364 * 1419 1365 * @since 1.5.0 1420 * @deprecated 2.8.0 1421 * @deprecated Use get_the_author_meta('last_name') 1366 * @deprecated 2.8.0 Use get_the_author_meta('last_name') 1422 1367 * @see get_the_author_meta() 1423 1368 * 1424 1369 * @return string The author's last name. … … 1432 1377 * Display the last name of the author of the current post. 1433 1378 * 1434 1379 * @since 0.71 1435 * @deprecated 2.8.0 1436 * @deprecated Use the_author_meta('last_name') 1380 * @deprecated 2.8.0 Use the_author_meta('last_name') 1437 1381 * @see the_author_meta() 1438 1382 */ 1439 1383 function the_author_lastname() { … … 1445 1389 * Retrieve the nickname of the author of the current post. 1446 1390 * 1447 1391 * @since 1.5.0 1448 * @deprecated 2.8.0 1449 * @deprecated Use get_the_author_meta('nickname') 1392 * @deprecated 2.8.0 Use get_the_author_meta('nickname') 1450 1393 * @see get_the_author_meta() 1451 1394 * 1452 1395 * @return string The author's nickname. … … 1460 1403 * Display the nickname of the author of the current post. 1461 1404 * 1462 1405 * @since 0.71 1463 * @deprecated 2.8.0 1464 * @deprecated Use the_author_meta('nickname') 1406 * @deprecated 2.8.0 Use the_author_meta('nickname') 1465 1407 * @see the_author_meta() 1466 1408 */ 1467 1409 function the_author_nickname() { … … 1473 1415 * Retrieve the email of the author of the current post. 1474 1416 * 1475 1417 * @since 1.5.0 1476 * @deprecated 2.8.0 1477 * @deprecated Use get_the_author_meta('email') 1418 * @deprecated 2.8.0 Use get_the_author_meta('email') 1478 1419 * @see get_the_author_meta() 1479 1420 * 1480 1421 * @return string The author's username. … … 1488 1429 * Display the email of the author of the current post. 1489 1430 * 1490 1431 * @since 0.71 1491 * @deprecated 2.8.0 1492 * @deprecated Use the_author_meta('email') 1432 * @deprecated 2.8.0 Use the_author_meta('email') 1493 1433 * @see the_author_meta() 1494 1434 */ 1495 1435 function the_author_email() { … … 1501 1441 * Retrieve the ICQ number of the author of the current post. 1502 1442 * 1503 1443 * @since 1.5.0 1504 * @deprecated 2.8.0 1505 * @deprecated Use get_the_author_meta('icq') 1444 * @deprecated 2.8.0 Use get_the_author_meta('icq') 1506 1445 * @see get_the_author_meta() 1507 1446 * 1508 1447 * @return string The author's ICQ number. … … 1516 1455 * Display the ICQ number of the author of the current post. 1517 1456 * 1518 1457 * @since 0.71 1519 * @deprecated 2.8.0 1520 * @deprecated Use the_author_meta('icq') 1458 * @deprecated 2.8.0 Use the_author_meta('icq') 1521 1459 * @see the_author_meta() 1522 1460 */ 1523 1461 function the_author_icq() { … … 1529 1467 * Retrieve the Yahoo! IM name of the author of the current post. 1530 1468 * 1531 1469 * @since 1.5.0 1532 * @deprecated 2.8.0 1533 * @deprecated Use get_the_author_meta('yim') 1470 * @deprecated 2.8.0 Use get_the_author_meta('yim') 1534 1471 * @see get_the_author_meta() 1535 1472 * 1536 1473 * @return string The author's Yahoo! IM name. … … 1544 1481 * Display the Yahoo! IM name of the author of the current post. 1545 1482 * 1546 1483 * @since 0.71 1547 * @deprecated 2.8.0 1548 * @deprecated Use the_author_meta('yim') 1484 * @deprecated 2.8.0 Use the_author_meta('yim') 1549 1485 * @see the_author_meta() 1550 1486 */ 1551 1487 function the_author_yim() { … … 1557 1493 * Retrieve the MSN address of the author of the current post. 1558 1494 * 1559 1495 * @since 1.5.0 1560 * @deprecated 2.8.0 1561 * @deprecated Use get_the_author_meta('msn') 1496 * @deprecated 2.8.0 Use get_the_author_meta('msn') 1562 1497 * @see get_the_author_meta() 1563 1498 * 1564 1499 * @return string The author's MSN address. … … 1572 1507 * Display the MSN address of the author of the current post. 1573 1508 * 1574 1509 * @since 0.71 1575 * @deprecated 2.8.0 1576 * @deprecated Use the_author_meta('msn') 1510 * @deprecated 2.8.0 Use the_author_meta('msn') 1577 1511 * @see the_author_meta() 1578 1512 */ 1579 1513 function the_author_msn() { … … 1585 1519 * Retrieve the AIM address of the author of the current post. 1586 1520 * 1587 1521 * @since 1.5.0 1588 * @deprecated 2.8.0 1589 * @deprecated Use get_the_author_meta('aim') 1522 * @deprecated 2.8.0 Use get_the_author_meta('aim') 1590 1523 * @see get_the_author_meta() 1591 1524 * 1592 1525 * @return string The author's AIM address. … … 1601 1534 * 1602 1535 * @since 0.71 1603 1536 * @see the_author_meta() 1604 * @deprecated 2.8.0 1605 * @deprecated Use the_author_meta('aim') 1537 * @deprecated 2.8.0 Use the_author_meta('aim') 1606 1538 */ 1607 1539 function the_author_aim() { 1608 1540 _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'aim\')' ); … … 1613 1545 * Retrieve the specified author's preferred display name. 1614 1546 * 1615 1547 * @since 1.0.0 1616 * @deprecated 2.8.0 1617 * @deprecated Use get_the_author_meta('display_name') 1548 * @deprecated 2.8.0 Use get_the_author_meta('display_name') 1618 1549 * @see get_the_author_meta() 1619 1550 * 1620 1551 * @param int $auth_id The ID of the author. … … 1629 1560 * Retrieve the URL to the home page of the author of the current post. 1630 1561 * 1631 1562 * @since 1.5.0 1632 * @deprecated 2.8.0 1633 * @deprecated Use get_the_author_meta('url') 1563 * @deprecated 2.8.0 Use get_the_author_meta('url') 1634 1564 * @see get_the_author_meta() 1635 1565 * 1636 1566 * @return string The URL to the author's page. … … 1644 1574 * Display the URL to the home page of the author of the current post. 1645 1575 * 1646 1576 * @since 0.71 1647 * @deprecated 2.8.0 1648 * @deprecated Use the_author_meta('url') 1577 * @deprecated 2.8.0 Use the_author_meta('url') 1649 1578 * @see the_author_meta() 1650 1579 */ 1651 1580 function the_author_url() { … … 1657 1586 * Retrieve the ID of the author of the current post. 1658 1587 * 1659 1588 * @since 1.5.0 1660 * @deprecated 2.8.0 1661 * @deprecated Use get_the_author_meta('ID') 1589 * @deprecated 2.8.0 Use get_the_author_meta('ID') 1662 1590 * @see get_the_author_meta() 1663 1591 * 1664 1592 * @return int The author's ID. … … 1672 1600 * Display the ID of the author of the current post. 1673 1601 * 1674 1602 * @since 0.71 1675 * @deprecated 2.8.0 1676 * @deprecated Use the_author_meta('ID') 1603 * @deprecated 2.8.0 Use the_author_meta('ID') 1677 1604 * @see the_author_meta() 1678 1605 */ 1679 1606 function the_author_ID() { … … 1701 1628 * @since 0.71 1702 1629 * @uses apply_filters() Calls 'the_content_rss' on the content before processing. 1703 1630 * 1704 * @deprecated 2.9.0 1705 * @deprecated Use the_content_feed() 1631 * @deprecated 2.9.0 Use the_content_feed() 1706 1632 * @see the_content_feed() 1707 1633 * 1708 1634 * @param string $more_link_text Optional. Text to display when more content is available but not displayed. … … 1752 1678 * them at the bottom of the content with numbers. 1753 1679 * 1754 1680 * @since 0.71 1755 * @deprecated 2.9.0 1681 * @deprecated 2.9.0 No alternative function available 1756 1682 * 1757 1683 * @param string $content Content to get links 1758 1684 * @return string HTML stripped out of content with links at the bottom. … … 1789 1715 * everything is returned. 1790 1716 * 1791 1717 * @since 2.2.0 1792 * @deprecated 2.9.0 1793 * @deprecated Use _x() 1718 * @deprecated 2.9.0 Use _x() 1794 1719 * @see _x() 1795 1720 * 1796 1721 * @param string $text Text to translate … … 1808 1733 * 1809 1734 * @since 2.5.0 1810 1735 * @uses translate() 1811 * @deprecated 3.0.0 1812 * @deprecated Use _x() 1736 * @deprecated 3.0.0 Use _x() 1813 1737 * @see _x() 1814 1738 * 1815 1739 * @param string $text Text to translate … … 1826 1750 * Strips everything from the translation after the last bar. 1827 1751 * 1828 1752 * @since 2.7.0 1829 * @deprecated 3.0.0 1830 * @deprecated Use _nx() 1753 * @deprecated 3.0.0 Use _nx() 1831 1754 * @see _nx() 1832 1755 * @see _n() For parameters. 1833 1756 * @see _c() For parameters. _c() is deprecated. … … 1842 1765 * Retrieve the plural or single form based on the amount. 1843 1766 * 1844 1767 * @since 1.2.0 1845 * @deprecated 2.8.0 1846 * @deprecated Use _n() 1768 * @deprecated 2.8.0 Use _n() 1847 1769 * @see _n() 1848 1770 */ 1849 1771 function __ngettext() { … … 1856 1778 * Register plural strings in POT file, but don't translate them. 1857 1779 * 1858 1780 * @since 2.5.0 1859 * @deprecated 2.8.0 1860 * @deprecated Use _n_noop() 1781 * @deprecated 2.8.0 Use _n_noop() 1861 1782 * @see _n_noop() 1862 1783 */ 1863 1784 function __ngettext_noop() { … … 1871 1792 * Retrieve all autoload options, or all options if no autoloaded ones exist. 1872 1793 * 1873 1794 * @since 1.0.0 1874 * @deprecated 3.0.0 1875 * @deprecated Use wp_load_alloptions()) 1795 * @deprecated 3.0.0 Use wp_load_alloptions()) 1876 1796 * @see wp_load_alloptions() 1877 1797 * 1878 1798 * @return array List of all options. … … 1886 1806 * Retrieve HTML content of attachment image with link. 1887 1807 * 1888 1808 * @since 2.0.0 1889 * @deprecated 2.5.0 1890 * @deprecated Use wp_get_attachment_link() 1809 * @deprecated 2.5.0 Use wp_get_attachment_link() 1891 1810 * @see wp_get_attachment_link() 1892 1811 * 1893 1812 * @param int $id Optional. Post ID. … … 1917 1836 * Retrieve icon URL and Path. 1918 1837 * 1919 1838 * @since 2.1.0 1920 * @deprecated 2.5.0 1921 * @deprecated Use wp_get_attachment_image_src() 1839 * @deprecated 2.5.0 Use wp_get_attachment_image_src() 1922 1840 * @see wp_get_attachment_image_src() 1923 1841 * 1924 1842 * @param int $id Optional. Post ID. … … 1959 1877 * Retrieve HTML content of icon attachment image element. 1960 1878 * 1961 1879 * @since 2.0.0 1962 * @deprecated 2.5.0 1963 * @deprecated Use wp_get_attachment_image() 1880 * @deprecated 2.5.0 Use wp_get_attachment_image() 1964 1881 * @see wp_get_attachment_image() 1965 1882 * 1966 1883 * @param int $id Optional. Post ID. … … 2016 1933 * Retrieve HTML content of image element. 2017 1934 * 2018 1935 * @since 2.0.0 2019 * @deprecated 2.5.0 2020 * @deprecated Use wp_get_attachment_image() 1936 * @deprecated 2.5.0 Use wp_get_attachment_image() 2021 1937 * @see wp_get_attachment_image() 2022 1938 * 2023 1939 * @param int $id Optional. Post ID. … … 2043 1959 * Retrieve bookmark data based on ID. 2044 1960 * 2045 1961 * @since 2.0.0 2046 * @deprecated 2.1.0 2047 * @deprecated Use get_bookmark() 1962 * @deprecated 2.1.0 Use get_bookmark() 2048 1963 * @see get_bookmark() 2049 1964 * 2050 1965 * @param int $bookmark_id ID of link … … 2060 1975 * Performs esc_url() for database or redirect usage. 2061 1976 * 2062 1977 * @since 2.3.1 2063 * @deprecated 2.8.0 2064 * @deprecated Use esc_url_raw() 1978 * @deprecated 2.8.0 Use esc_url_raw() 2065 1979 * @see esc_url_raw() 2066 1980 * 2067 1981 * @param string $url The URL to be cleaned. … … 2081 1995 * is applied to the returned cleaned URL. 2082 1996 * 2083 1997 * @since 1.2.0 2084 * @deprecated 3.0.0 2085 * @deprecated Use esc_url() 1998 * @deprecated 3.0.0 Use esc_url() 2086 1999 * @see Alias for esc_url() 2087 2000 * 2088 2001 * @param string $url The URL to be cleaned. … … 2104 2017 * The filter 'js_escape' is also applied by esc_js() 2105 2018 * 2106 2019 * @since 2.0.4 2107 * @deprecated 2.8.0 2108 * @deprecated Use esc_js() 2020 * @deprecated 2.8.0 Use esc_js() 2109 2021 * @see esc_js() 2110 2022 * 2111 2023 * @param string $text The text to be escaped. … … 2119 2031 /** 2120 2032 * Escaping for HTML blocks. 2121 2033 * 2122 * @deprecated 2.8.0 2123 * @deprecated Use esc_html() 2034 * @deprecated 2.8.0 Use esc_html() 2124 2035 * @see esc_html() 2125 2036 */ 2126 2037 function wp_specialchars( $string, $quote_style = ENT_NOQUOTES, $charset = false, $double_encode = false ) { … … 2137 2048 * Escaping for HTML attributes. 2138 2049 * 2139 2050 * @since 2.0.6 2140 * @deprecated 2.8.0 2141 * @deprecated Use esc_attr() 2051 * @deprecated 2.8.0 Use esc_attr() 2142 2052 * @see esc_attr() 2143 2053 * 2144 2054 * @param string $text … … 2160 2070 * backwards compatibility is complete. 2161 2071 * 2162 2072 * @since 2.2.0 2163 * @deprecated 2.8.0 2164 * @deprecated Use wp_register_sidebar_widget() 2073 * @deprecated 2.8.0 Use wp_register_sidebar_widget() 2165 2074 * @see wp_register_sidebar_widget() 2166 2075 * 2167 2076 * @param string|int $name Widget ID. … … 2195 2104 * Alias of {@link wp_unregister_sidebar_widget()}. 2196 2105 * 2197 2106 * @since 2.2.0 2198 * @deprecated 2.8.0 2199 * @deprecated Use wp_unregister_sidebar_widget() 2107 * @deprecated 2.8.0 Use wp_unregister_sidebar_widget() 2200 2108 * @see wp_unregister_sidebar_widget() 2201 2109 * 2202 2110 * @param int|string $id Widget ID. … … 2217 2125 * been compiled. 2218 2126 * 2219 2127 * @since 2.2.0 2220 * @deprecated 2.8.0 2221 * @deprecated Use wp_register_widget_control() 2128 * @deprecated 2.8.0 Use wp_register_widget_control() 2222 2129 * @see wp_register_widget_control() 2223 2130 * 2224 2131 * @param int|string $name Sidebar ID. … … 2254 2161 * Alias of {@link wp_unregister_widget_control()}. 2255 2162 * 2256 2163 * @since 2.2.0 2257 * @deprecated 2.8.0 2258 * @deprecated Use wp_unregister_widget_control() 2164 * @deprecated 2.8.0 Use wp_unregister_widget_control() 2259 2165 * @see wp_unregister_widget_control() 2260 2166 * 2261 2167 * @param int|string $id Widget ID. … … 2269 2175 * Remove user meta data. 2270 2176 * 2271 2177 * @since 2.0.0 2272 * @deprecated 3.0.0 2273 * @deprecated Use delete_user_meta() 2178 * @deprecated 3.0.0 Use delete_user_meta() 2274 2179 * @see delete_user_meta() 2275 2180 * 2276 2181 * @param int $user_id User ID. … … 2317 2222 * than one metadata value, then it will be list of metadata values. 2318 2223 * 2319 2224 * @since 2.0.0 2320 * @deprecated 3.0.0 2321 * @deprecated Use get_user_meta() 2225 * @deprecated 3.0.0 Use get_user_meta() 2322 2226 * @see get_user_meta() 2323 2227 * 2324 2228 * @param int $user_id User ID … … 2370 2274 * Will remove the metadata, if the meta value is empty. 2371 2275 * 2372 2276 * @since 2.0.0 2373 * @deprecated 3.0.0 2374 * @deprecated Use update_user_meta() 2277 * @deprecated 3.0.0 Use update_user_meta() 2375 2278 * @see update_user_meta() 2376 2279 * 2377 2280 * @param int $user_id User ID … … 2425 2328 * multi-blog feature. 2426 2329 * 2427 2330 * @since 2.2.0 2428 * @deprecated 3.1.0 2331 * @deprecated 3.1.0 Use get_users() 2429 2332 * @uses $wpdb WordPress database object for queries 2430 2333 * @uses $blog_id The Blog id of the blog for those that use more than one blog 2431 2334 * … … 2447 2350 * Enable/disable automatic general feed link outputting. 2448 2351 * 2449 2352 * @since 2.8.0 2450 * @deprecated 3.0.0 2451 * @deprecated Use add_theme_support( 'automatic-feed-links' ) 2353 * @deprecated 3.0.0 Use add_theme_support( 'automatic-feed-links' ) 2452 2354 * 2453 2355 * @param boolean $add Optional, default is true. Add or remove links. Defaults to true. 2454 2356 */ … … 2465 2367 * Retrieve user data based on field. 2466 2368 * 2467 2369 * @since 1.5.0 2468 * @deprecated 3.0.0 2469 * @deprecated Use get_the_author_meta() 2370 * @deprecated 3.0.0 Use get_the_author_meta() 2470 2371 * @see get_the_author_meta() 2471 2372 */ 2472 2373 function get_profile( $field, $user = false ) { … … 2482 2383 * Number of posts user has written. 2483 2384 * 2484 2385 * @since 0.71 2485 * @deprecated 3.0.0 2486 * @deprecated Use count_user_posts() 2386 * @deprecated 3.0.0 Use count_user_posts() 2487 2387 * @see count_user_posts() 2488 2388 */ 2489 2389 function get_usernumposts( $userid ) { … … 2535 2435 * Checks that the taxonomy name exists. 2536 2436 * 2537 2437 * @since 2.3.0 2538 * @deprecated 3.0.0 2539 * @deprecated Use taxonomy_exists() 2438 * @deprecated 3.0.0 Use taxonomy_exists() 2540 2439 * @see taxonomy_exists() 2541 2440 * 2542 2441 * @param string $taxonomy Name of taxonomy object … … 2551 2450 * Check if Term exists. 2552 2451 * 2553 2452 * @since 2.3.0 2554 * @deprecated 3.0.0 2555 * @deprecated Use term_exists() 2453 * @deprecated 3.0.0 Use term_exists() 2556 2454 * @see term_exists() 2557 2455 * 2558 2456 * @param int|string $term The term to check … … 2569 2467 * Is the current admin page generated by a plugin? 2570 2468 * 2571 2469 * @since 1.5.0 2572 * @deprecated 3.1.0 2573 * @deprecated Use global $plugin_page and/or get_plugin_page_hookname() hooks. 2470 * @deprecated 3.1.0 Use global $plugin_page and/or get_plugin_page_hookname() hooks. 2574 2471 * 2575 2472 * @global $plugin_page 2576 2473 * … … 2623 2520 * Display editor: TinyMCE, HTML, or both. 2624 2521 * 2625 2522 * @since 2.1.0 2626 * @deprecated 3.3.0 2627 * @deprecated Use wp_editor() 2523 * @deprecated 3.3.0 Use wp_editor() 2628 2524 * @see wp_editor() 2629 2525 * 2630 2526 * @param string $content Textarea content. … … 2861 2757 * Checks if the current user belong to a given blog. 2862 2758 * 2863 2759 * @since MU 2864 * @deprecated 3.3.0 2865 * @deprecated Use is_user_member_of_blog() 2760 * @deprecated 3.3.0 Use is_user_member_of_blog() 2866 2761 * @see is_user_member_of_blog() 2867 2762 * 2868 2763 * @param int $blog_id Blog ID … … 2878 2773 * Open the file handle for debugging. 2879 2774 * 2880 2775 * @since 0.71 2881 * @deprecated Use error_log()2776 * @deprecated 3.4.0 Use error_log() 2882 2777 * @link http://www.php.net/manual/en/function.error-log.php 2883 * @deprecated 3.4.02884 2778 */ 2885 2779 function debug_fopen( $filename, $mode ) { 2886 _deprecated_function( __FUNCTION__, ' error_log()' );2780 _deprecated_function( __FUNCTION__, '3.4', 'error_log()' ); 2887 2781 return false; 2888 2782 } 2889 2783 … … 2891 2785 * Write contents to the file used for debugging. 2892 2786 * 2893 2787 * @since 0.71 2894 * @deprecated Use error_log() instead.2788 * @deprecated 3.4.0 Use error_log() 2895 2789 * @link http://www.php.net/manual/en/function.error-log.php 2896 * @deprecated 3.4.02897 2790 */ 2898 2791 function debug_fwrite( $fp, $string ) { 2899 _deprecated_function( __FUNCTION__, ' error_log()' );2792 _deprecated_function( __FUNCTION__, '3.4', 'error_log()' ); 2900 2793 if ( ! empty( $GLOBALS['debug'] ) ) 2901 2794 error_log( $string ); 2902 2795 } … … 2905 2798 * Close the debugging file handle. 2906 2799 * 2907 2800 * @since 0.71 2908 * @deprecated Use error_log()2801 * @deprecated 3.4.0 Use error_log() 2909 2802 * @link http://www.php.net/manual/en/function.error-log.php 2910 * @deprecated 3.4.02911 2803 */ 2912 2804 function debug_fclose( $fp ) { 2913 _deprecated_function( __FUNCTION__, ' error_log()' );2805 _deprecated_function( __FUNCTION__, '3.4', 'error_log()' ); 2914 2806 } 2915 2807 2916 2808 /** … … 2921 2813 * broken, if it is missing style.css; index.php is optional. 2922 2814 * 2923 2815 * @since 1.5.0 2924 * @deprecated 3.4.0 2925 * @deprecated Use wp_get_themes() 2816 * @deprecated 3.4.0 Use wp_get_themes() 2926 2817 * @see wp_get_themes() 2927 2818 * 2928 2819 * @return array Theme list with theme data. … … 2952 2843 * Retrieve theme data. 2953 2844 * 2954 2845 * @since 1.5.0 2955 * @deprecated 3.4.0 2956 * @deprecated Use wp_get_theme() 2846 * @deprecated 3.4.0 Use wp_get_theme() 2957 2847 * @see wp_get_theme() 2958 2848 * 2959 2849 * @param string $theme Theme name. … … 2972 2862 * Retrieve current theme name. 2973 2863 * 2974 2864 * @since 1.5.0 2975 * @deprecated 3.4.0 2976 * @deprecated Use (string) wp_get_theme() 2865 * @deprecated 3.4.0 Use (string) wp_get_theme() 2977 2866 * @see wp_get_theme() 2978 2867 * 2979 2868 * @return string … … 3019 2908 * Add callbacks for image header display. 3020 2909 * 3021 2910 * @since 2.1.0 3022 * @deprecated 3.4.0 3023 * @deprecated Use add_theme_support('custom-header', $args) 2911 * @deprecated 3.4.0 Use add_theme_support('custom-header', $args) 3024 2912 * @see add_theme_support() 3025 2913 * 3026 2914 * @param callback $wp_head_callback Call on 'wp_head' action. … … 3042 2930 * Remove image header support. 3043 2931 * 3044 2932 * @since 3.1.0 3045 * @deprecated 3.4.0 3046 * @deprecated Use remove_theme_support('custom-header') 2933 * @deprecated 3.4.0 Use remove_theme_support('custom-header') 3047 2934 * @see remove_theme_support() 3048 2935 * 3049 2936 * @return bool Whether support was removed. … … 3057 2944 * Add callbacks for background image display. 3058 2945 * 3059 2946 * @since 3.0.0 3060 * @deprecated 3.4.0 3061 * @deprecated Use add_theme_support('custom-background, $args) 2947 * @deprecated 3.4.0 Use add_theme_support('custom-background', $args) 3062 2948 * @see add_theme_support() 3063 2949 * 3064 2950 * @param callback $wp_head_callback Call on 'wp_head' action. … … 3081 2967 * Remove custom background support. 3082 2968 * 3083 2969 * @since 3.1.0 2970 * @deprecated 3.4.0 Use add_theme_support('custom-background') 3084 2971 * @see add_custom_background() 3085 2972 * 3086 2973 * @return bool Whether support was removed. … … 3094 2981 * Retrieve theme data from parsed theme file. 3095 2982 * 3096 2983 * @since 1.5.0 3097 * @deprecated 3.4.0 3098 * @deprecated Use wp_get_theme() 2984 * @deprecated 3.4.0 Use wp_get_theme() 3099 2985 * @see wp_get_theme() 3100 2986 * 3101 2987 * @param string $theme_file Theme file path. … … 3133 3019 * @see update_post_cache() Posts and pages are the same, alias is intentional 3134 3020 * 3135 3021 * @since 1.5.1 3136 * @deprecated 3.4.0 3022 * @deprecated 3.4.0 Use update_post_cache() 3137 3023 * 3138 3024 * @param array $pages list of page objects 3139 3025 */ … … 3150 3036 * associated with 'all_page_ids' and 'get_pages'. 3151 3037 * 3152 3038 * @since 2.0.0 3153 * @deprecated 3.4.0 3039 * @deprecated 3.4.0 Use clean_post_cache() 3154 3040 * 3155 3041 * @uses do_action() Will call the 'clean_page_cache' hook action. 3156 3042 * … … 3168 3054 * Deprecated in 3.4.1 and 3.5.0. Backported to 3.3.3. 3169 3055 * 3170 3056 * @since 2.0.4 3171 * @deprecated 3.4.1 3172 * @deprecated Use wp_nonce_ays() 3057 * @deprecated 3.4.1 Use wp_nonce_ays() 3173 3058 * @see wp_nonce_ays() 3174 3059 * 3175 3060 * @param string $action Nonce action. … … 3184 3069 * Display "sticky" CSS class, if a post is sticky. 3185 3070 * 3186 3071 * @since 2.7.0 3187 * @deprecated 3.5.0 3188 * @deprecated Use post_class() 3072 * @deprecated 3.5.0 Use post_class() 3189 3073 * @see post_class() 3190 3074 * 3191 3075 * @param int $post_id An optional post ID. … … 3214 3098 * Load an image from a string, if PHP supports it. 3215 3099 * 3216 3100 * @since 2.1.0 3217 * @deprecated 3.5.0 3101 * @deprecated 3.5.0 Use wp_get_image_editor() 3218 3102 * @see wp_get_image_editor() 3219 3103 * 3220 3104 * @param string $file Filename of the image to load. … … 3254 3138 * downgraded, not actual defects), but of your PHP version. 3255 3139 * 3256 3140 * @since 2.5.0 3257 * @deprecated 3.5.0 3141 * @deprecated 3.5.0 Use wp_get_image_editor() 3258 3142 * @see wp_get_image_editor() 3259 3143 * 3260 3144 * @param string $file Image file path. … … 3294 3178 * property or key. 3295 3179 * 3296 3180 * @since 1.0.0 3297 * @deprecated 3.5.0 3181 * @deprecated 3.5.0 Use get_post() 3298 3182 * @see get_post() 3299 3183 * 3300 3184 * @param int $postid Post ID. … … 3310 3194 * Check that the user login name and password is correct. 3311 3195 * 3312 3196 * @since 0.71 3313 * @deprecated 3.5.0 3314 * @deprecated Use wp_authenticate() 3197 * @deprecated 3.5.0 Use wp_authenticate() 3315 3198 * @see wp_authenticate() 3316 3199 * 3317 3200 * @param string $user_login User name. … … 3339 3222 * Check if the installed version of GD supports particular image type 3340 3223 * 3341 3224 * @since 2.9.0 3342 * @deprecated 3.5.0 3225 * @deprecated 3.5.0 Use wp_image_editor_supports() 3343 3226 * @see wp_image_editor_supports() 3344 3227 * 3345 3228 * @param string $mime_type … … 3374 3257 * Converts an integer byte value to a shorthand byte value. 3375 3258 * 3376 3259 * @since 2.3.0 3377 * @deprecated 3.6.0 3378 * @deprecated Use size_format() 3260 * @deprecated 3.6.0 Use size_format() 3379 3261 * 3380 3262 * @param int $bytes An integer byte value. 3381 3263 * @return string A shorthand byte value. … … 3462 3344 * Formerly used to escape strings before searching the DB. It was poorly documented and never worked as described. 3463 3345 * 3464 3346 * @since 2.5.0 3465 * @deprecated 4.0.0 3466 * @deprecated Use wpdb::esc_like() 3347 * @deprecated 4.0.0 Use wpdb::esc_like() 3467 3348 * 3468 3349 * @param string $text The text to be escaped. 3469 3350 * @return string text, safe for inclusion in LIKE query. -
wp-includes/ms-deprecated.php
18 18 * Dashboard blog functionality was removed in WordPress 3.1, replaced by the user admin. 19 19 * 20 20 * @since MU 21 * @deprecated 3.1.0 21 * @deprecated 3.1.0 Use get_blog_details() 22 22 * @see get_blog_details() 23 23 * @return int 24 24 */ … … 32 32 33 33 /** 34 34 * @since MU 35 * @deprecated 3.0.0 36 * @deprecated Use wp_generate_password() 35 * @deprecated 3.0.0 Use wp_generate_password() 37 36 * @see wp_generate_password() 38 37 */ 39 38 function generate_random_password( $len = 8 ) { … … 51 50 * legacy function_exists() checks to determine if multisite is enabled. 52 51 * 53 52 * @since MU 54 * @deprecated 3.0.0 55 * @deprecated Use is_super_admin() 53 * @deprecated 3.0.0 Use is_super_admin() 56 54 * @see is_super_admin() 57 55 * @see is_multisite() 58 56 * … … 77 75 if ( !function_exists( 'graceful_fail' ) ) : 78 76 /** 79 77 * @since MU 80 * @deprecated 3.0.0 81 * @deprecated Use wp_die() 78 * @deprecated 3.0.0 Use wp_die() 82 79 * @see wp_die() 83 80 */ 84 81 function graceful_fail( $message ) { … … 114 111 115 112 /** 116 113 * @since MU 117 * @deprecated 3.0.0 118 * @deprecated Use get_user_by() 114 * @deprecated 3.0.0 Use get_user_by() 119 115 * @see get_user_by() 120 116 */ 121 117 function get_user_details( $username ) { … … 125 121 126 122 /** 127 123 * @since MU 128 * @deprecated 3.0.0 129 * @deprecated Use clean_post_cache() 124 * @deprecated 3.0.0 Use clean_post_cache() 130 125 * @see clean_post_cache() 131 126 */ 132 127 function clear_global_post_cache( $post_id ) { … … 135 130 136 131 /** 137 132 * @since MU 138 * @deprecated 3.0.0 139 * @deprecated Use is_main_site() 133 * @deprecated 3.0.0 Use is_main_site() 140 134 * @see is_main_site() 141 135 */ 142 136 function is_main_blog() { … … 146 140 147 141 /** 148 142 * @since MU 149 * @deprecated 3.0.0 150 * @deprecated Use is_email() 143 * @deprecated 3.0.0 Use is_email() 151 144 * @see is_email() 152 145 */ 153 146 function validate_email( $email, $check_domain = true) { … … 157 150 158 151 /** 159 152 * @since MU 160 * @deprecated 3.0.0 161 * @deprecated No alternative available. For performance reasons this function is not recommended. 153 * @deprecated 3.0.0 No alternative available. For performance reasons this function is not recommended. 162 154 */ 163 155 function get_blog_list( $start = 0, $num = 10, $deprecated = '' ) { 164 156 _deprecated_function( __FUNCTION__, '3.0', 'wp_get_sites()' ); … … 184 176 185 177 /** 186 178 * @since MU 187 * @deprecated 3.0.0 188 * @deprecated No alternative available. For performance reasons this function is not recommended. 179 * @deprecated 3.0.0 No alternative available. For performance reasons this function is not recommended. 189 180 */ 190 181 function get_most_active_blogs( $num = 10, $display = true ) { 191 182 _deprecated_function( __FUNCTION__, '3.0' ); … … 230 221 * 6) $url 231 222 * 232 223 * @since MU 233 * @deprecated 3.3.0 234 * @deprecated Use wp_redirect() 224 * @deprecated 3.3.0 Use wp_redirect() 235 225 * @uses wpmu_admin_redirect_add_updated_param() 236 226 * 237 227 * @param string $url 238 228 */ 239 229 function wpmu_admin_do_redirect( $url = '' ) { 240 _deprecated_function( __FUNCTION__, '3.3' );230 _deprecated_function( __FUNCTION__, '3.3', 'wp_redirect()' ); 241 231 242 232 $ref = ''; 243 233 if ( isset( $_GET['ref'] ) ) … … 270 260 * Adds an 'updated=true' argument to a URL. 271 261 * 272 262 * @since MU 273 * @deprecated 3.3.0 274 * @deprecated Use add_query_arg() 263 * @deprecated 3.3.0 Use add_query_arg() 275 264 * 276 265 * @param string $url 277 266 * @return string 278 267 */ 279 268 function wpmu_admin_redirect_add_updated_param( $url = '' ) { 280 _deprecated_function( __FUNCTION__, '3.3' );269 _deprecated_function( __FUNCTION__, '3.3', 'add_query_arg()' ); 281 270 282 271 if ( strpos( $url, 'updated=true' ) === false ) { 283 272 if ( strpos( $url, '?' ) === false ) … … 295 284 * and is simply returned as such. 296 285 * 297 286 * @since MU 298 * @deprecated 3.6.0 299 * @ deprecated Use get_user_by()287 * @deprecated 3.6.0 Use get_user_by() 288 * @see get_user_by() 300 289 * @uses get_user_by() 301 290 * 302 291 * @param string $string Either an email address or a login. -
wp-includes/pluggable-deprecated.php
23 23 * 24 24 * @since 2.0.1 25 25 * @see wp_set_current_user() An alias of wp_set_current_user() 26 * @deprecated 3.0.0 27 * @deprecated Use wp_set_current_user() 26 * @deprecated 3.0.0 Use wp_set_current_user() 28 27 * 29 28 * @param int|null $id User ID. 30 29 * @param string $name Optional. The user's username … … 41 40 * Retrieve user info by login name. 42 41 * 43 42 * @since 0.71 44 * @deprecated 3.3.0 45 * @deprecated Use get_user_by('login') 43 * @deprecated 3.3.0 Use get_user_by('login') 46 44 * 47 45 * @param string $user_login User's username 48 46 * @return bool|object False on failure, User DB row object … … 58 56 * Retrieve user info by email. 59 57 * 60 58 * @since 2.5.0 61 * @deprecated 3.3.0 62 * @deprecated Use get_user_by('email') 59 * @deprecated 3.3.0 Use get_user_by('email') 63 60 * 64 61 * @param string $email User's email address 65 62 * @return bool|object False on failure, User DB row object … … 75 72 * Sets a cookie for a user who just logged in. This function is deprecated. 76 73 * 77 74 * @since 1.5.0 78 * @deprecated 2.5.0 79 * @deprecated Use wp_set_auth_cookie() 75 * @deprecated 2.5.0 Use wp_set_auth_cookie() 80 76 * @see wp_set_auth_cookie() 81 77 * 82 78 * @param string $username The user's username … … 100 96 * Clears the authentication cookie, logging the user out. This function is deprecated. 101 97 * 102 98 * @since 1.5.0 103 * @deprecated 2.5.0 104 * @deprecated Use wp_clear_auth_cookie() 99 * @deprecated 2.5.0 Use wp_clear_auth_cookie() 105 100 * @see wp_clear_auth_cookie() 106 101 */ 107 102 function wp_clearcookie() { … … 120 115 * used anywhere in WordPress. Also, plugins shouldn't use it either. 121 116 * 122 117 * @since 2.0.3 123 * @deprecated 2.5.0 124 * @deprecated No alternative 118 * @deprecated 2.5.0 No alternative function available 125 119 * 126 120 * @return bool Always returns false 127 121 */ … … 145 139 * failure can utilize it later. 146 140 * 147 141 * @since 1.2.2 148 * @deprecated Use wp_signon()142 * @deprecated 2.5.0 Use wp_signon() 149 143 * @global string $error Error when false is returned 150 144 * 151 145 * @param string $username User's username … … 176 170 * It is kept here in case a plugin directly referred to the class. 177 171 * 178 172 * @since 2.2.0 179 * @deprecated 3.5.0 173 * @deprecated 3.5.0 Use the Atom Publishing Protocol plugin 180 174 * @link https://wordpress.org/plugins/atom-publishing-protocol/ 181 175 */ 182 176 if ( ! class_exists( 'wp_atom_server' ) ) { -
wp-includes/post.php
3980 3980 * Use get_post() instead of get_page(). 3981 3981 * 3982 3982 * @since 1.5.1 3983 * @deprecated 3.5.0 3983 * @deprecated 3.5.0 Use get_post() 3984 * @see get_post() 3984 3985 * 3985 3986 * @param mixed $page Page object or page ID. Passed by reference. 3986 3987 * @param string $output What to output. OBJECT, ARRAY_A, or ARRAY_N. -
wp-includes/wp-db.php
1007 1007 * Use esc_sql() or wpdb::prepare() instead. 1008 1008 * 1009 1009 * @since 2.8.0 1010 * @deprecated 3.6.0 1010 * @deprecated 3.6.0 Use wpdb::prepare() or esc_sql() 1011 1011 * @see wpdb::prepare 1012 1012 * @see esc_sql() 1013 1013 * @access private … … 1077 1077 * Use esc_sql() or wpdb::prepare() instead. 1078 1078 * 1079 1079 * @since 0.71 1080 * @deprecated 3.6.0 1080 * @deprecated 3.6.0 Use wpdb::prepare() or esc_sql() 1081 1081 * @see wpdb::prepare() 1082 1082 * @see esc_sql() 1083 1083 * … … 2101 2101 * Called when WordPress is generating the table scheme. 2102 2102 * 2103 2103 * @since 2.5.0 2104 * @deprecated 3.5.0 2105 * @deprecated Use wpdb::has_cap( 'collation' ) 2104 * @deprecated 3.5.0 Use wpdb::has_cap( 'collation' ) 2106 2105 * 2107 2106 * @return bool True if collation is supported, false if version does not 2108 2107 */ -
xmlrpc.php
88 88 /** 89 89 * logIO() - Writes logging info to a file. 90 90 * 91 * @deprecated 3.4.0 92 * @deprecated Use error_log() 91 * @deprecated 3.4.0 Use error_log() 93 92 * 94 93 * @param string $io Whether input or output 95 94 * @param string $msg Information describing logging reason.