WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe2
if wp-content relocated, change line 59 of subscribe2.php (3 posts)

  1. anmari
    Member
    Posted 2 years ago #

    For sites that have WP_CONTENT_DIR relocated, Comment out line 59

    //require( WP_CONTENT_DIR . '/plugins/' . S2DIR . 'include/buttonsnap.php' );

    and replace with this:

    require( S2DIR . 'include/buttonsnap.php' );

    http://wordpress.org/extend/plugins/subscribe2/

  2. mattyrob
    Member
    Plugin Contributor

    Posted 2 years ago #

    @Anmari,

    That fix should also work on sites where WP_CONTENT_DIR has _not_ been relocated. I'll test and make sure and roll this patch into the next release if I'm right. Thanks for the tip.

  3. mattyrob
    Member
    Plugin Contributor

    Posted 2 years ago #

    @Anmari,

    Ah, very nearly right. Use S2PATH instead of S2DIR and it should work on all installs. Can you check that still works when wp-content has been moved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags