[wp-trac] [WordPress Trac] #17749: Faster and phpunit runner-compatible unit tests
WordPress Trac
wp-trac at lists.automattic.com
Sun Oct 9 19:03:16 UTC 2011
#17749: Faster and phpunit runner-compatible unit tests
-----------------------------+-------------------------
Reporter: nbachiyski | Owner: nbachiyski
Type: feature request | Status: reopened
Priority: normal | Milestone: 3.3
Component: Unit Tests | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-----------------------------+-------------------------
Changes (by mrtorrent):
* cc: mrtorrent (added)
* status: closed => reopened
* resolution: fixed =>
Comment:
A couple other issues that cause breakages when including Wordpress a
scope other than global:
* $table_prefix in wp-config.php is not explicitly globalised, resulting
in queries on non-existent tables if a prefix is used
* $PHP_SELF is used as a global in load.php and vars.php, but not
explicitly globalised, resulting in errors
I am attaching a patch to fix these.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17749#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list