Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #46195, comment 7


Ignore:
Timestamp:
03/01/2019 09:35:32 PM (5 years ago)
Author:
desrosj
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #46195, comment 7

    initial v1  
    55- The block editor can still be switched with `use_block_editor_for_post` for new posts after the post is created.
    66
    7 The downfall of both these approaches, though, is that the support indicated when `current_screen` is fired and later on in the process that value could be different. This can be avoided by using the blanket `use_block_editor_for_post_type` filter whenever possible (not filtering dependent on data specific to an existing post).
     7The downfall of both these approaches, though, is that the support indicated when `current_screen` is fired and later on in the process that value could be different (which is actually an issue in the current state). This can be avoided by using the blanket `use_block_editor_for_post_type` filter whenever possible (not filtering dependent on data specific to an existing post).