Opened 18 years ago
Closed 18 years ago
#3883 closed defect (bug) (fixed)
PHP Fatal error: Call to undefined function is_wp_error() in /wp-includes/functions.php on line 1299 w/ patch
Reported by: | tacker | Owned by: | |
---|---|---|---|
Milestone: | 2.2 | Priority: | high |
Severity: | normal | Version: | 2.2 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Happens if you access a fresh wp installation.
Fix:
-
wp-includes/functions.php
1 1 <?php 2 2 3 3 require_once(dirname(__FILE__).'/compat.php'); 4 require_once(dirname(__FILE__).'/classes.php'); 4 5 5 6 function mysql2date($dateformatstring, $mysqlstring, $translate = true) { 6 7 global $wp_locale;
Change History (5)
Note: See
TracTickets for help on using
tickets.
My first fix breaks other stuff.
This works:
wp-blog-header.php