[wp-trac] [WordPress Trac] #53458: Incorrect variable name used in `get_block_editor_settings()`

WordPress Trac noreply at wordpress.org
Sun Jun 20 00:50:41 UTC 2021


#53458: Incorrect variable name used in `get_block_editor_settings()`
--------------------------+--------------------
 Reporter:  johnbillion   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  5.8
Component:  Editor        |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+--------------------
 The `get_block_editor_settings()` function attempts to read values from a
 variable called `$settings` which does not exist, meaning these three
 blocks are all dead code: https://github.com/WordPress/wordpress-
 develop/blob/c23452730188cc371effedd19493a8d50d3031dd/src/wp-includes
 /block-editor.php#L313-L339

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53458>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list