#23680 closed enhancement (fixed)
Obsolete function previously used in Theme Editor
| Reported by: | SergeyBiryukov | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.7 |
| Component: | Administration | Version: | 2.9 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
get_real_file_to_edit() is unused since [12063] and should probably be deprecated:
http://core.trac.wordpress.org/browser/tags/3.5.1/wp-admin/includes/file.php#L96
Attachments (2)
Change History (9)
#4
@
13 years ago
We should move this function to wp-admin/includes/deprecated.php. We should also remove the first part of the function that supports .htaccess and the root index.php file, and instead just return WP_CONTENT_DIR . $arg;
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Added a patch to place the _deprecated_function() call as well as updated the docblock to indicate the function has been deprecated, too.