110
* Get the real filesystem path to a file to edit within the admin.
114
* @uses WP_CONTENT_DIR Full filesystem path to the wp-content directory.
116
* @param string $file Filesystem path relative to the wp-content directory.
117
* @return string Full filesystem path to edit.
119
function get_real_file_to_edit( $file ) {
120
_deprecated_function( __FUNCTION__, '2.9' );
122
return WP_CONTENT_DIR . $file;
110
126
* {@internal Missing Short Description}}
1023
1041
_deprecated_function( __FUNCTION__, '3.5', 'image_resize()' );
1024
1042
return apply_filters( 'wp_create_thumbnail', image_resize( $file, $max_side, $max_side ) );
1046
* This was once used to display a metabox for the nav menu theme locations.
1048
* Deprecated in favor of a 'Manage Locations' tab added to nav menus management screen.
1053
function wp_nav_menu_locations_meta_box() {
1054
_deprecated_function( __FUNCTION__, '3.6' );
1058
* This was once used to kick-off the Core Updater.
1060
* Deprecated in favor of instantating a Core_Upgrader instance directly,
1061
* and calling the 'upgrade' method.
1066
function wp_update_core($current, $feedback = '') {
1067
_deprecated_function( __FUNCTION__, '3.7', 'new Core_Upgrader();' );
1069
if ( !empty($feedback) )
1070
add_filter('update_feedback', $feedback);
1072
include ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
1073
$upgrader = new Core_Upgrader();
1074
return $upgrader->upgrade($current);
1079
* This was once used to kick-off the Plugin Updater.
1081
* Deprecated in favor of instantating a Plugin_Upgrader instance directly,
1082
* and calling the 'upgrade' method.
1083
* Unused since 2.8.0.
1088
function wp_update_plugin($plugin, $feedback = '') {
1089
_deprecated_function( __FUNCTION__, '3.7', 'new Plugin_Upgrader();' );
1091
if ( !empty($feedback) )
1092
add_filter('update_feedback', $feedback);
1094
include ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
1095
$upgrader = new Plugin_Upgrader();
1096
return $upgrader->upgrade($plugin);
1100
* This was once used to kick-off the Plugin Updater.
1102
* Deprecated in favor of instantating a Plugin_Upgrader instance directly,
1103
* and calling the 'upgrade' method.
1104
* Unused since 2.8.0.
1109
function wp_update_theme($theme, $feedback = '') {
1110
_deprecated_function( __FUNCTION__, '3.7', 'new Theme_Upgrader();' );
1112
if ( !empty($feedback) )
1113
add_filter('update_feedback', $feedback);
1115
include ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
1116
$upgrader = new Theme_Upgrader();
1117
return $upgrader->upgrade($theme);
1121
* This was once used to display attachment links. Now it is deprecated and stubbed.
1123
* {@internal Missing Short Description}}
1128
* @param unknown_type $id
1131
function the_attachment_links( $id = false ) {
1132
_deprecated_function( __FUNCTION__, '3.7' );