[wp-trac] [WordPress Trac] #48014: Multiple _encloseme entries in postmeta table when disabling pings

WordPress Trac noreply at wordpress.org
Mon Oct 7 22:17:34 UTC 2019


#48014: Multiple _encloseme entries in postmeta table when disabling pings
------------------------------+--------------------------
 Reporter:  rebasaurus        |       Owner:  whyisjake
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.3
Component:  Pings/Trackbacks  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  performance
------------------------------+--------------------------

Comment (by johnbillion):

 In [changeset:"46428" 46428]:
 {{{
 #!CommitTicketReference repository="" revision="46428"
 Pings/Trackbacks: Remove a failing test that won't pass as long as
 `WP_IMPORTING` gets set during tests.

 The `_publish_post_hook()` function checks for `WP_IMPORTING` before
 setting meta fields fir enclosures and pings, which means this test is
 doomed to fail.

 The test can be re-implemented if the `WP_IMPORTING` constant gets moved
 to a function similar to how `wp_installing()` works for the
 `WP_INSTALLING` constant.

 See #48014
 }}}

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


More information about the wp-trac mailing list