WordPress.org

Ready to get started?Download WordPress

Forums

Log Deprecated Notices
Disable autoloader when using class_exists() (1 post)

  1. michael.heuberger
    Member
    Posted 1 year ago #

    Can you please disable autoloading when using class_exists()?
    Like this:
    if ( ! class_exists( 'Deprecated_Log') ) :

    It should be:
    if ( ! class_exists( 'Deprecated_Log', false ) ) :

    The second parameter 'false' disables autoloading. This is important
    because I'm integrating some WP functions into another existing website which already comes with an Autoloader for some classes = confusion.

    This should be easy to fix. Thanks

    http://wordpress.org/extend/plugins/log-deprecated-notices/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by michael.heuberger
  • This topic is not resolved
  • WordPress version: 3.3.2