WordPress.org

Ready to get started?Download WordPress

Forums

AskApache Google 404
It displays "y" in the CSS, JS and HTML editor... (3 posts)

  1. Max Pen
    Member
    Posted 2 years ago #

    Hello,

    this plugin stopped working today it has no code to edit in its editors.

    Please fix,

    Regards,
    Matt

    http://wordpress.org/extend/plugins/askapache-google-404/

  2. askapache
    Member
    Plugin Contributor

    Posted 2 years ago #

    I just noticed this today too... I bet it is being caused by 1 of 2 things.

    1. Updates to WP that add filters that corrupt the options
    2. An errant key in the last update? Improbable.

    It works fine in 3.4-alpha, does not work correctly in 3.3.2 or apparently 3.3.1?

    I'll release a fix this weekend.

  3. askapache
    Member
    Plugin Contributor

    Posted 2 years ago #

    Fixed in version 4.2.8.5

    The problem was #2, bad code on my part that was only unserializing the code for version 4.2.8.3

    Here is the fixed code:

    function LoadOptions($opts=array('options','plugin'))
    {
    	foreach ($opts as $pn) $this->{$pn} = get_option("askapache_google_404_{$pn}");
    	$this->code=(  (version_compare($this->plugin['version'], '4.8.2.3', 'gte') )
    						? unserialize(base64_decode(get_option("askapache_google_404_code")))
    						: get_option("askapache_google_404_code")
    					);
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic