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

  1. michael.heuberger
    Posted 4 years 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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Log Deprecated Notices
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

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