We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3dfe61 commit e9d7fb0Copy full SHA for e9d7fb0
src/php/class-db.php
@@ -326,7 +326,7 @@ public function fetch_active_snippets( array $scopes ): array {
326
foreach ( $ms_snippets as $snippet ) {
327
$id = intval( $snippet['id'] );
328
329
- if ( ! $snippet['active'] && ! in_array( $id, $active_shared_ids, true ) ) {
+ if ( ( ! $snippet['active'] || '-1' === $snippet['active'] ) && ! in_array( $id, $active_shared_ids, true ) ) {
330
continue;
331
}
332
0 commit comments