[wp-meta] [Making WordPress.org] #3051: phpunit-test-reporter: Properly avoid a conflict with P2's welcome_box()

Making WordPress.org noreply at wordpress.org
Thu Aug 17 22:37:35 UTC 2017


#3051: phpunit-test-reporter: Properly avoid a conflict with P2's welcome_box()
--------------------------------------+------------------
 Reporter:  SergeyBiryukov            |       Owner:
     Type:  defect                    |      Status:  new
 Priority:  normal                    |   Milestone:
Component:  Make (Get Involved) / P2  |  Resolution:
 Keywords:  has-patch                 |
--------------------------------------+------------------

Comment (by SergeyBiryukov):

 Replying to [comment:1 danielbachhuber]:
 > `phpunit-test-reporter` is a [https://github.com/wordpress/phpunit-test-
 runner generic WordPress plugin], so I'd prefer to not include any WPorg-
 specific code in it.

 Makes sense, thanks for the clarification.

 However, I've seen some themes applying `the_content` filter before the WP
 loop starts, e.g. to display Open Graph tags, meta description, etc. So
 the same issue can occur in other themes, not just in Breathe.

 [attachment:3051.2.patch] uses a generic `loop_start` action to make sure
 the plugin only filters content once the loop has started.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3051#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list