Make WordPress Core


Ignore:
Timestamp:
09/20/2015 03:51:55 AM (9 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/mo.php

    r32672 r34348  
    1111require_once dirname(__FILE__) . '/streams.php';
    1212
    13 if ( !class_exists( 'MO' ) ):
     13if ( ! class_exists( 'MO', false ) ):
    1414class MO extends Gettext_Translations {
    1515
Note: See TracChangeset for help on using the changeset viewer.