Doesn’t delete site transients
-
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)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Doesn’t delete site transients’ is closed to new replies.