[wp-trac] [WordPress Trac] #27231: Tweak wp-db.php so running WordPress on HHVM doesn't require hacking the core
WordPress Trac
noreply at wordpress.org
Mon Mar 3 17:32:30 UTC 2014
#27231: Tweak wp-db.php so running WordPress on HHVM doesn't require hacking the
core
-------------------------+------------------
Reporter: dave1010 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.9
Component: Database | Version: 3.8
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------
Comment (by nacin):
pento pointed out to me that we also accept these constants as arguments
for functions like get_post() and such. So, defining `object` as `OBJECT`
would still be prudent. I am not interested in `Object`. The fallback code
in wp-db.php is sufficient to catch weird stuff for DB queries, along with
letting PHP issue a notice.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27231#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list