Changeset 19935 for trunk/wp-includes/deprecated.php
- Timestamp:
- 02/17/2012 12:02:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/deprecated.php
r19684 r19935 2565 2565 * 2566 2566 * @since 1.5.0 2567 * @deprecated 3.1 2567 * @deprecated 3.1.0 2568 2568 * @deprecated Use global $plugin_page and/or get_plugin_page_hookname() hooks. 2569 2569 * … … 2591 2591 * 2592 2592 * @since 1.5.0 2593 * @deprecated 3.1 2593 * @deprecated 3.1.0 2594 2594 * 2595 2595 * @return bool Always return True … … 2605 2605 * 2606 2606 * @since 2.9.0 2607 * @deprecated 3.2 2607 * @deprecated 3.2.0 2608 2608 * 2609 2609 * @return bool … … 2619 2619 * 2620 2620 * @since 2.1.0 2621 * @deprecated 3.3 2621 * @deprecated 3.3.0 2622 * @deprecated Use wp_editor() 2623 * @see wp_editor() 2622 2624 * 2623 2625 * @param string $content Textarea content. … … 2628 2630 */ 2629 2631 function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true, $tab_index = 2, $extended = true) { 2632 _deprecated_function( __FUNCTION__, '3.3', 'wp_editor()' ); 2630 2633 2631 2634 wp_editor( $content, $id, array( 'media_buttons' => $media_buttons ) ); … … 2637 2640 * 2638 2641 * @since 3.0.0 2642 * @deprecated 3.3.0 2643 * 2639 2644 * @param array $ids User ID numbers list. 2640 2645 * @return array of arrays. The array is indexed by user_id, containing $metavalues object arrays. … … 2669 2674 * @since 2.3.0 2670 2675 * @deprecated 3.3.0 2671 * @uses sanitize_user_field() Used to sanitize the fields.2672 2676 * 2673 2677 * @param object|array $user The User Object or Array … … 2706 2710 * 2707 2711 * @since 2.8.0 2708 * @deprecated 3.3 2712 * @deprecated 3.3.0 2709 2713 * 2710 2714 * @param string $title Optional. Link title format. … … 2746 2750 * 2747 2751 * @since 2.8.0 2748 * @deprecated 3.3 2752 * @deprecated 3.3.0 2749 2753 * 2750 2754 * @param string $title Optional. Link title format. … … 2762 2766 * 2763 2767 * @since 2.8.0 2764 * @deprecated 3.3 2768 * @deprecated 3.3.0 2765 2769 * 2766 2770 * @return string … … 2777 2781 * 2778 2782 * @since 2.8.0 2779 * @deprecated 3.3 2783 * @deprecated 3.3.0 2780 2784 */ 2781 2785 function index_rel_link() { … … 2789 2793 * 2790 2794 * @since 2.8.0 2791 * @deprecated 3.3 2795 * @deprecated 3.3.0 2792 2796 * 2793 2797 * @param string $title Optional. Link title format. … … 2820 2824 * 2821 2825 * @since 2.8.0 2822 * @deprecated 3.3 2826 * @deprecated 3.3.0 2823 2827 */ 2824 2828 function parent_post_rel_link($title = '%title') { … … 2832 2836 * 2833 2837 * @since 3.2.0 2834 * @deprecated 3.3 2838 * @deprecated 3.3.0 2835 2839 */ 2836 2840 function wp_admin_bar_dashboard_view_site_menu( $wp_admin_bar ) { … … 2853 2857 * 2854 2858 * @since MU 2855 * @deprecated 3.3 2859 * @deprecated 3.3.0 2856 2860 * @deprecated Use is_user_member_of_blog() 2857 2861 * @see is_user_member_of_blog() … … 2865 2869 return is_user_member_of_blog( get_current_user_id(), $blog_id ); 2866 2870 } 2871 2872 /** 2873 * Open the file handle for debugging. 2874 * 2875 * @since 0.71 2876 * @deprecated Use error_log() 2877 * @link http://www.php.net/manual/en/function.error-log.php 2878 * @deprecated 3.4.0 2879 */ 2880 function debug_fopen( $filename, $mode ) { 2881 _deprecated_function( __FUNCTION__, 'error_log()' ); 2882 return false; 2883 } 2884 2885 /** 2886 * Write contents to the file used for debugging. 2887 * 2888 * @since 0.71 2889 * @deprecated Use error_log() instead. 2890 * @link http://www.php.net/manual/en/function.error-log.php 2891 * @deprecated 3.4.0 2892 */ 2893 function debug_fwrite( $fp, $string ) { 2894 _deprecated_function( __FUNCTION__, 'error_log()' ); 2895 if ( ! empty( $GLOBALS['debug'] ) ) 2896 error_log( $string ); 2897 } 2898 2899 /** 2900 * Close the debugging file handle. 2901 * 2902 * @since 0.71 2903 * @deprecated Use error_log() 2904 * @link http://www.php.net/manual/en/function.error-log.php 2905 * @deprecated 3.4.0 2906 */ 2907 function debug_fclose( $fp ) { 2908 _deprecated_function( __FUNCTION__, 'error_log()' ); 2909 }
Note: See TracChangeset
for help on using the changeset viewer.