Opened 16 years ago
Closed 16 years ago
#12024 closed defect (bug) (fixed)
Move admin-only deprecated functions to wp-admin/includes/deprecated.php
| Reported by: | nacin | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Inline Docs | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
We have a few admin-only functions that were deprecated and moved to wp-includes/deprecated.php without checking for is_admin() before declaring the function.
These should be moved from wp-includes/deprecated.php to wp-admin/includes/deprecated.php.
I'll go through the ones we have there now and figure out which ones ought to be moved.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Apparently, there's only two:
There are a few more that need to be deprecated to begin with, but that can be handled in #11388.
Patch attached.