WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#11807 closed defect (bug) (fixed)

MS Deprecated Functions

Reported by: filosofo Owned by: 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 5 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 @ryan5 years ago

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

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

comment:2 @dd325 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

comment:3 @dd325 years ago

Sorry, That last commit was destined for #11907

comment:4 @jfarthing845 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

comment:5 @nacin5 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.