Skip to content

Commit 11d66d0

Browse files
committed
Fix block registration path
1 parent 561b2b3 commit 11d66d0

File tree

1 file changed

+1
-1
lines changed
  • mu-plugins/blocks/search-results-context

1 file changed

+1
-1
lines changed

mu-plugins/blocks/search-results-context/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function render( $attributes ) {
7272
*/
7373
function init() {
7474
register_block_type(
75-
dirname( dirname( __DIR__ ) ) . '/build',
75+
__DIR__ . '/build',
7676
array(
7777
'render_callback' => __NAMESPACE__ . '\render',
7878
)

0 commit comments

Comments
 (0)