Skip to content

Commit

Permalink
Site transients can be used on single sites too.
Browse files Browse the repository at this point in the history
  • Loading branch information
faisal-alvi committed Sep 16, 2024
1 parent 2aa68df commit 8444087
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion uninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ function delete_site_options() {
'_transient_timeout_dt_',
);

if ( is_multisite() ) {
// Site transients can be used on single sites too.
// See https://github.com/10up/distributor/pull/540#discussion_r1759587692
if ( ! is_multisite() ) {
$option_prefixes = array_merge(
$option_prefixes,
array(
Expand Down

0 comments on commit 8444087

Please sign in to comment.