[wp-trac] [WordPress Trac] #52920: Editor: Abstract block editor configuration

WordPress Trac noreply at wordpress.org
Fri May 7 05:28:13 UTC 2021


#52920: Editor: Abstract block editor configuration
-------------------------------------------------+-------------------------
 Reporter:  gziolo                               |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  5.8
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:
  feedback needs-dev-note                        |
-------------------------------------------------+-------------------------

Comment (by gziolo):

 @chrisvanpatten, in the discussion you started in
 https://github.com/WordPress/wordpress-
 develop/pull/1118#discussion_r627396445, @TimothyBlynJacobs suggested we
 introduce a context class instance instead of the `$post` that would
 provide access to the `$post`. I'm curious what other thing about going
 that route and providing access to the post properties as if they were
 present in the context object through overloading. This way we could avoid
 all the dance with deprecations of existing filters.

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


More information about the wp-trac mailing list