Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#25760 closed defect (bug) (fixed)

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

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

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 13 years ago.
One or the other
25760.2.diff​ (1.4 KB ) - added by nacin 13 years ago.

Download all attachments as: .zip

Change History (4)

@nacin
13 years ago

One or the other

@nacin
13 years ago

#1 @nacin
13 years ago

  • Owner set to nacin
  • Resolution → fixed
  • Status new → closed

In 25986:

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

#2 @nacin
13 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.