Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#25760 closed defect (bug) (fixed)

Provide some PHP 4 compatibility for stripos() in wp_initial_constants()

Reported by: ocean90's profile ocean90 Owned by: nacin's profile nacin
Milestone: 3.7.1 Priority: highest omg bbq
Severity: normal Version: 3.7
Component: General Keywords: needs-patch
Focuses: Cc:

Description

stripos() was introduced in [25685] which ends on a PHP 4 environment in a fatal error, because wp_initial_constants() runs before wp_check_php_mysql_versions().

Attachments (2)

25760.diff (1.4 KB) - added by nacin 10 years ago.
One or the other
25760.2.diff (1.4 KB) - added by nacin 10 years ago.

Download all attachments as: .zip

Change History (4)

@nacin
10 years ago

One or the other

@nacin
10 years ago

#1 @nacin
10 years ago

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

In 25986:

PHP4 compatibility for files loaded before we bail. fixes #25760.

#2 @nacin
10 years ago

In 25987:

PHP4 compatibility for files loaded before we bail. fixes #25760.

Merges [25986] to the 3.7 branch.

Note: See TracTickets for help on using tickets.