Make WordPress Core


Ignore:
Timestamp:
09/20/2015 03:51:55 AM (11 years ago)
Author:
wonderboymusic
Message:

Pass false as the 2nd argument to class_exists() to disable autoloading and to not cause problems for those who define __autoload().

Fixes #20523.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pomo/po.php

    r32650 r34348  
    1717 * Routines for working with PO files
    1818 */
    19 if ( !class_exists( 'PO' ) ):
     19if ( ! class_exists( 'PO', false ) ):
    2020class PO extends Gettext_Translations {
    2121
     
    356356         * @staticvar string   $last_line
    357357         * @staticvar boolean  $use_last_line
    358          * 
     358         *
    359359         * @param     resource $f
    360360         * @param     string   $action
Note: See TracChangeset for help on using the changeset viewer.