wip
This commit is contained in:
@@ -249,11 +249,11 @@ final class WP_Block_Bindings_Registry {
|
||||
*
|
||||
* @since 6.5.0
|
||||
*
|
||||
* @param string $source_name The name of the source.
|
||||
* @param string|null $source_name The name of the source.
|
||||
* @return bool `true` if the block bindings source is registered, `false` otherwise.
|
||||
*/
|
||||
public function is_registered( $source_name ) {
|
||||
return isset( $this->sources[ $source_name ] );
|
||||
return isset( $source_name, $this->sources[ $source_name ] );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user