Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#3186 closed enhancement (fixed)

Core shouldn't use deprecated functions

Reported by: nazgul's profile Nazgul Owned by:
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.1
Component: General Keywords:
Focuses: Cc:


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)

3186-get_author_link.diff (512 bytes) - added by Nazgul 18 years ago.
3186-link_pages.diff (1.8 KB) - added by Nazgul 18 years ago.
3186-wp_set_post_cats.diff (1.0 KB) - added by Nazgul 18 years ago.

Download all attachments as: .zip

Change History (6)

#1 @Nazgul
18 years ago

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?

#2 @ryan
18 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4264]) Don't use deprecated functions. Props Nazgul. fixes #3186

#3 @foolswisdom
18 years ago

Nazgul, I have opened Ticket:3188 for "Shouldn't use deprecated function start_wp"

Note: See TracTickets for help on using tickets.