[wp-trac] [WordPress Trac] #45108: WordPress is making a request in background

WordPress Trac noreply at wordpress.org
Wed Oct 17 18:06:20 UTC 2018

#45108: WordPress is making a request in background
 Reporter:  iulianflst    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.9.8
 Severity:  critical      |   Keywords:  2nd-opinion needs-testing
  Focuses:                |
 Something very weird is going one, here are the steps to reproduce:

 1. Add a $wpdb->insert into header or footer
 2. refresh the page

 Expected results: A single entry in database

 Actual result: 2 entries

 More details: If you check the http referer you will see is the referer of
 the current page

 So it looks like somehow there is another request that is triggering the
 insert. Weird part is that it does not show up in newtwork xhr request
 when you debug it.

 I marked this as critical, because is doing another request -> this will
 result in slower website due to multiple request!!!

Ticket URL: <https://core.trac.wordpress.org/ticket/45108>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list