WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #32264, comment 5


Ignore:
Timestamp:
05/11/2015 08:46:30 PM (4 years ago)
Author:
rhurling
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32264, comment 5

    initial v1  
    33
    44@philipjohn: In my testing both patches prevent the query from being run more than once, since the transient value is an empty string for me, because I think boolean's get converted.
    5 Did you test it with an object cache? Maybe that's interfering, because the boolean isn't converted to a string or something like that (which would mean that only the 2nd patch would work and I didn't write it for nothing).
     5Did you test it with an object cache? Maybe that's interfering, because the boolean isn't converted to a string or something like that (which would mean that only the 2nd patch would work and I didn't write it for nothing). I'm not too sure about that theory, because I have never used an object cache with WP.