• Resolved birchpress

    (@birchpress)


    The plugin doesn’t delete site transients I checked the code and found there’s a bug.

    > line 485
    $site_wide = isset( $_REQUEST['name'] ) && strpos( $_REQUEST['name'], '_site_transient' );

    should be
    $site_wide = isset( $_REQUEST['name'] ) && ( strpos( $_REQUEST['name'], '_site_transient' ) !== false );

    since strpos( $_REQUEST['name'], '_site_transient' ) returns 0 for site transients and then $site_wide will always be false.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Pippin Williamson

    (@mordauk)

    I’ve fixed this finally! A new version is getting uploaded shortly.

    I’m having the same problem – after clicking delete, all transients still show in the backend.

    I uninstalled and reinstalled, and now it shows 14.

    I’m not technical enough to know if they were deleted prior to uninstallation and the interface just didn’t update, or if they truly didn’t update and were somehow deleted when I uninstalled the plugin.

    The only caching plugin we’re using is SiteGround’s “SG Optimizer” and clearing the cache after deleting does not clear the list of transients.

    Still not fixed as of 7/26/2018!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Doesn’t delete site transients’ is closed to new replies.