进行了小优化
This commit is contained in:
1 parent
5916fca54d
commit
129432ae45
12 files changed
+1047
-677
No files matched your search
@@ -340,7 +340,7 @@ test('AJAX pagination can recover, caps auto loading and rehydrates appended med
|
||||
});
|
||||
|
||||
test('front-end carousel CSS is conditional on carousel block content', () => {
|
||||
const hooks = read('inc/core-hooks/part-3.php');
|
||||
const hooks = read('inc/core-hooks.php');
|
||||
assert.match(hooks, /has_block\('aksrt\/carousel', \$post\)/);
|
||||
assert.match(hooks, /if \(!\$has_carousel\) return;[\s\S]*?'aksrt-gutenberg-blocks-front'/);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user