[wp-trac] [WordPress Trac] #3883: PHP Fatal error: Call to undefined function is_wp_error() in /wp-includes/functions.php on line 1299 w/ patch

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 27 16:32:28 GMT 2007


#3883: PHP Fatal error:  Call to undefined function is_wp_error() in /wp-
includes/functions.php on line 1299 w/ patch
---------------------+------------------------------------------------------
 Reporter:  tacker   |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  high     |   Milestone:           
Component:  General  |     Version:  2.2      
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 Happens if you access a fresh wp installation.

 Fix:
 {{{
 #!diff
 Index: wp-includes/functions.php
 ===================================================================
 --- wp-includes/functions.php   (Revision 4953)
 +++ wp-includes/functions.php   (Arbeitskopie)
 @@ -1,6 +1,7 @@
  <?php

  require_once(dirname(__FILE__).'/compat.php');
 +require_once(dirname(__FILE__).'/classes.php');

  function mysql2date($dateformatstring, $mysqlstring, $translate = true) {
         global $wp_locale;
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3883>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list