Code Quality: Remove unused variable in WP_Block_Patterns_Registry.
Follow-up to [56805], [59101]. Props Soean, mukesh27. See #64898. Built from https://develop.svn.wordpress.org/trunk@62201 git-svn-id: http://core.svn.wordpress.org/trunk@61481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -227,10 +227,9 @@ final class WP_Block_Patterns_Registry {
|
||||
* and per style.
|
||||
*/
|
||||
public function get_all_registered( $outside_init_only = false ) {
|
||||
$patterns = $outside_init_only
|
||||
? $this->registered_patterns_outside_init
|
||||
: $this->registered_patterns;
|
||||
$hooked_blocks = get_hooked_blocks();
|
||||
$patterns = $outside_init_only
|
||||
? $this->registered_patterns_outside_init
|
||||
: $this->registered_patterns;
|
||||
|
||||
foreach ( $patterns as $index => $pattern ) {
|
||||
$content = $this->get_content( $pattern['name'], $outside_init_only );
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '7.1-alpha-62200';
|
||||
$wp_version = '7.1-alpha-62201';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user