Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#11807 closed defect (bug) (fixed)

MS Deprecated Functions

Reported by: filosofo's profile filosofo Owned by: ryan's profile ryan
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: General Keywords: deprecated has-patch
Focuses: Cc:

Description

MS brought in a few deprecated functions, and there were a couple others already.

Not including for now all the calls to is_site_admin() until is_super_admin() settles down.

Attachments (1)

ms_deprecated_functions.11807.diff (2.1 KB) - added by filosofo 15 years ago.

Download all attachments as: .zip

Change History (6)

#1 @ryan
15 years ago

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

(In [12878]) Don't use deprecated functions. Props filosofo. fixes #11807

#2 @dd32
15 years ago

(In [13781]) Only allow %category% to be a valid category attached to the current post when using %category% in a permalink structure. Fixes #11807

#3 @dd32
15 years ago

Sorry, That last commit was destined for #11907

#4 @jfarthing84
15 years ago

  • Cc jeff@… added
  • Resolution fixed deleted
  • Status changed from closed to reopened

13781 produces a warning when visiting a post within the "Uncategorized" category (possily others, haven't tested).

Specifically:

Warning: in_array() [function.in-array]: Wrong datatype for first argument in E:\wordpress-trunk\wp-includes\canonical.php on line 170

#5 @nacin
15 years ago

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

See #11907. This was the incorrect ticket.

Note: See TracTickets for help on using tickets.