#3186 closed enhancement (fixed)
Core shouldn't use deprecated functions
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | normal | Version: | 2.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
If I look at deprecated.php I see a lot of functions still being used in the core. Isn't the point of deprecating them that we shouldn't be using them anymore?
Here's a list of the functions (and between brackets the files that use them).
start_wp (wp-atom.php, wp-rss.php, wp-rss2.php, wp-admin/edit.php, wp-admin/export.php, wp-content/themes/clasdic/comment-popup.php and wp-content/themes/default/comment-popup.php)
wp_set_post_cats (wp-admin/import/dotclear.php and wp-admin/import/textpattern.php)
get_author_link (wp-includes/feed.php)
link_pages (wp-content/themes/default/attachment.php, wp-content/themes/default/page.php and wp-content/themes/default/single.php)
Attachments (3)
Note: See
TracTickets for help on using
tickets.
I've created patches for get_author_link, link_pages and wp_set_post_cats, but I'm afraid that fixing the calls to start_wp is a little too advanced for my PHP skills.
Anybody want to help me with that, so we can close this issue?