Skip to content

Commit

Permalink
Remove the files already committed in WordPress#5965 and WordPress#5966.
Browse files Browse the repository at this point in the history
  • Loading branch information
michalczaplinski committed Jan 29, 2024
1 parent 15dea88 commit 5893867
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 188 deletions.
56 changes: 0 additions & 56 deletions src/wp-includes/block-bindings/block-bindings.php

This file was deleted.

128 changes: 0 additions & 128 deletions src/wp-includes/block-bindings/class-wp-block-bindings-registry.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/wp-includes/block-bindings/sources/pattern.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function pattern_source_callback( $source_attrs, $block_instance, $attribute_nam
return _wp_array_get( $block_instance->context, array( 'pattern/overrides', $block_id, $attribute_name ), null );
}

wp_block_bindings_register_source(
register_block_bindings_source(
'core/pattern-attributes',
array(
'label' => __( 'Pattern Attributes' ),
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/block-bindings/sources/post-meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function post_meta_source_callback( $source_attrs ) {
return get_post_meta( $post_id, $source_attrs['value'], true );
}

wp_block_bindings_register_source(
register_block_bindings_source(
'core/post-meta',
array(
'label' => _x( 'Post Meta', 'Post metadata to be read and used to substitute block content' ),
Expand Down
2 changes: 0 additions & 2 deletions src/wp-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,6 @@
require ABSPATH . WPINC . '/fonts.php';
require ABSPATH . WPINC . '/class-wp-script-modules.php';
require ABSPATH . WPINC . '/script-modules.php';
require ABSPATH . WPINC . '/block-bindings/block-bindings.php';
require ABSPATH . WPINC . '/block-bindings/class-wp-block-bindings-registry.php';
require ABSPATH . WPINC . '/block-bindings/sources/post-meta.php';
require ABSPATH . WPINC . '/block-bindings/sources/pattern.php';

Expand Down

0 comments on commit 5893867

Please sign in to comment.