Move get_real_file_to_edit() upper in the file for consistency with the existing order of functions. Some phpdoc fixes and additions. see #23680.

Built from https://develop.svn.wordpress.org/trunk@25208


git-svn-id: http://core.svn.wordpress.org/trunk@25180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-09-02 11:19:10 +00:00
parent 02e5cb6f9d
commit 0d0c87041c
1 changed files with 24 additions and 22 deletions

View File

@ -13,8 +13,8 @@
*/
/**
* @since 2.1
* @deprecated 2.1
* @since 2.1.0
* @deprecated 2.1.0
* @deprecated Use wp_editor().
* @see wp_editor()
*/
@ -27,8 +27,8 @@ function tinymce_include() {
/**
* Unused Admin function.
*
* @since 2.0
* @deprecated 2.5
* @since 2.0.0
* @deprecated 2.5.0
*
*/
function documentation_link() {
@ -106,6 +106,22 @@ function dropdown_link_categories( $default = 0 ) {
wp_link_category_checklist( $link_id );
}
/**
* Get the real filesystem path to a file to edit within the admin.
*
* @since 1.5.0
* @deprecated 2.9.0
* @uses WP_CONTENT_DIR Full filesystem path to the wp-content directory.
*
* @param string $file Filesystem path relative to the wp-content directory.
* @return string Full filesystem path to edit.
*/
function get_real_file_to_edit( $file ) {
_deprecated_function( __FUNCTION__, '2.9' );
return WP_CONTENT_DIR . $file;
}
/**
* {@internal Missing Short Description}}
*
@ -207,7 +223,7 @@ function codepress_footer_js() {
/**
* Determine whether to use CodePress.
*
* @since 2.8
* @since 2.8.0
* @deprecated 3.0.0
**/
function use_codepress() {
@ -719,7 +735,7 @@ function wp_dashboard_quick_press_output() {
/**
* @since 2.7.0
* @deprecated 3.3
* @deprecated 3.3.0
* @deprecated Use wp_editor()
* @see wp_editor()
*/
@ -924,6 +940,7 @@ function get_allowed_themes() {
* {@internal Missing Short Description}}
*
* @since 1.5.0
* @deprecated 3.4.0
*
* @return unknown
*/
@ -947,6 +964,7 @@ function get_broken_themes() {
* {@internal Missing Short Description}}
*
* @since 2.0.0
* @deprecated 3.4.0
*
* @return unknown
*/
@ -1023,19 +1041,3 @@ function wp_create_thumbnail( $file, $max_side, $deprecated = '' ) {
_deprecated_function( __FUNCTION__, '3.5', 'image_resize()' );
return apply_filters( 'wp_create_thumbnail', image_resize( $file, $max_side, $max_side ) );
}
/**
* Get the real filesystem path to a file to edit within the admin.
*
* @since 1.5.0
* @deprecated 2.9.0
* @uses WP_CONTENT_DIR Full filesystem path to the wp-content directory.
*
* @param string $file Filesystem path relative to the wp-content directory.
* @return string Full filesystem path to edit.
*/
function get_real_file_to_edit( $file ) {
_deprecated_function( __FUNCTION__, '2.9' );
return WP_CONTENT_DIR . $file;
}