Forums

Trying to fix Disclose-secret plugin for 2.2- Please help! (1 post)

  1. howardgrigg
    Member
    Posted 2 years ago #

    I have been using the Disclose-Secret plugin but that has broken with the upgrade to 2.2.
    When I posted a new post it took ages then ended on a blank screen with address /wp-admin/post-new.php however it did post it on the site but it failed to send out an email to subscribers using the subscribe2 plugin. Once I disabled Disclose-Secret the posting worked fine and so did the emails. This makes me think the problem is at the stage when it ends the Disclose-Secret class because it appears to be inable to continue on to the next stage which I imagine is the Subscribe2 plugin.

    I don't know php well enough to work it out but I found this code in one of the Disclose-Secret files and wondered if this had something to do with it:

    function filter_activation()
    {
    if ($this->m_activation_status == DiscloseSecret_STATUS_UNINITIALIZED
    || $this->m_activation_status == DiscloseSecret_STATUS_PLUGIN_VERSION_MISMATCH)
    return;

    // turn off the overrider for next plugin activation
    $option =& $this->m_cache->get_option();
    $option->set_override_plugin_deactivation(false);
    $option->save();
    }

    ---------------------------------------------------------

    Any help would be very appreciated as the developers site hasn't responded to any requests for an update.

Topic Closed

This topic has been closed to new replies.

About this Topic