Support » Plugin: Styles » Reset with Styles:TwentyFourteen

Viewing 2 replies - 1 through 2 (of 2 total)
  • I found the (silly) error in the code.
    In styles-admin.php, function delete-settings() it shows:

    $sql = "DELETE from $wpdb->options WHERE option_name LIKE 'storm-styles-%'";
    $sql = " DELETE from $wpdb->options WHERE option_name LIKE '\_transient%storm-styles-%'";
    $wpdb->query( $sql );

    It should be:

    $sql = "DELETE from $wpdb->options WHERE option_name LIKE 'storm-styles-%'";
    $wpdb->query( $sql );
    $sql = " DELETE from $wpdb->options WHERE option_name LIKE '\_transient%storm-styles-%'";
    $wpdb->query( $sql );

    (Same error in MultiSite section)

    Funny that I’m the very first to notice 🙂

    Plugin Author PD.CM

    (@pdclark)

    Thanks for the notice. Fixed in 1.1.8 and credited you in the changelog.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Reset with Styles:TwentyFourteen’ is closed to new replies.