[wp-trac] [WordPress Trac] #46195: is_block_editor() returns false in the block editor

WordPress Trac noreply at wordpress.org
Fri Apr 5 17:51:17 UTC 2019


#46195: is_block_editor() returns false in the block editor
-------------------------------------------------+-------------------------
 Reporter:  Chouby                               |       Owner:  desrosj
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.1.2
Component:  Editor                               |     Version:  5.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing 2nd-opinion  |     Focuses:
  needs-dev-note has-unit-tests                  |  administration
-------------------------------------------------+-------------------------
Changes (by desrosj):

 * keywords:  has-patch needs-testing 2nd-opinion needs-dev-note needs-unit-
     tests => has-patch needs-testing 2nd-opinion needs-dev-note has-unit-
     tests


Comment:

 [attachment:"46195.7.diff"] adds some unit tests as best we can (I think).
 It also adds filter inline documentation for `replace_editor` in
 `WP_Screen` that I had missed.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46195#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list