WordPress.org

Support

Support » Requests and Feedback » Snoopy-Class

Snoopy-Class

  • In ./wp-includes/class-snoopy.php
    you guys put the original Snoopy-Class into

    if ( !in_array(‘Snoopy’, get_declared_classes() ) ) :
    class Snoopy() {}
    endif;

    I think putting this “enclosure” directly into the rss-functions.php would be way more convinient, because when you write a plugin and want to use Snoopy-Class, one has to upload a “clean” version of Snoopy-Class additionally, because even though PHP knows that the class is not included yet (checked the if statement), it won’t initialize the class…

    don’t ask me why, it just does not.

    thanks,
    Notame

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Snoopy-Class’ is closed to new replies.
Skip to toolbar