Changeset 25208
- Timestamp:
- 09/02/2013 11:18:35 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/deprecated.php
r25201 r25208 14 14 15 15 /** 16 * @since 2.1 17 * @deprecated 2.1 16 * @since 2.1.0 17 * @deprecated 2.1.0 18 18 * @deprecated Use wp_editor(). 19 19 * @see wp_editor() … … 28 28 * Unused Admin function. 29 29 * 30 * @since 2.0 31 * @deprecated 2.5 30 * @since 2.0.0 31 * @deprecated 2.5.0 32 32 * 33 33 */ … … 105 105 global $link_id; 106 106 wp_link_category_checklist( $link_id ); 107 } 108 109 /** 110 * Get the real filesystem path to a file to edit within the admin. 111 * 112 * @since 1.5.0 113 * @deprecated 2.9.0 114 * @uses WP_CONTENT_DIR Full filesystem path to the wp-content directory. 115 * 116 * @param string $file Filesystem path relative to the wp-content directory. 117 * @return string Full filesystem path to edit. 118 */ 119 function get_real_file_to_edit( $file ) { 120 _deprecated_function( __FUNCTION__, '2.9' ); 121 122 return WP_CONTENT_DIR . $file; 107 123 } 108 124 … … 208 224 * Determine whether to use CodePress. 209 225 * 210 * @since 2.8 226 * @since 2.8.0 211 227 * @deprecated 3.0.0 212 228 **/ … … 720 736 /** 721 737 * @since 2.7.0 722 * @deprecated 3.3 738 * @deprecated 3.3.0 723 739 * @deprecated Use wp_editor() 724 740 * @see wp_editor() … … 925 941 * 926 942 * @since 1.5.0 943 * @deprecated 3.4.0 927 944 * 928 945 * @return unknown … … 948 965 * 949 966 * @since 2.0.0 967 * @deprecated 3.4.0 950 968 * 951 969 * @return unknown … … 1024 1042 return apply_filters( 'wp_create_thumbnail', image_resize( $file, $max_side, $max_side ) ); 1025 1043 } 1026 1027 /**1028 * Get the real filesystem path to a file to edit within the admin.1029 *1030 * @since 1.5.01031 * @deprecated 2.9.01032 * @uses WP_CONTENT_DIR Full filesystem path to the wp-content directory.1033 *1034 * @param string $file Filesystem path relative to the wp-content directory.1035 * @return string Full filesystem path to edit.1036 */1037 function get_real_file_to_edit( $file ) {1038 _deprecated_function( __FUNCTION__, '2.9' );1039 1040 return WP_CONTENT_DIR . $file;1041 }
Note: See TracChangeset
for help on using the changeset viewer.