[wp-trac] [WordPress Trac] #49927: Editor: Introduce block context

WordPress Trac noreply at wordpress.org
Tue Jun 30 15:56:28 UTC 2020


#49927: Editor: Introduce block context
-------------------------------------------------+-------------------------
 Reporter:  aduth                                |       Owner:  gziolo
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.5
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note                                           |
-------------------------------------------------+-------------------------
Changes (by kraftbj):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 I'm investigating an issue with this changeset where running `the_content`
 filter when there isn't a post set is causing a error during unit testing
 plugins. See https://travis-
 ci.com/github/Automattic/jetpack/jobs/355892149

 I think confirming `$post` is an `WP_Post` would handle it.

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


More information about the wp-trac mailing list