[wp-trac] [WordPress Trac] #17749: Faster and phpunit runner-compatible unit tests
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 10 12:46:45 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 |
-----------------------------+-------------------------
Comment (by nacin):
Replying to [comment:16 scribu]:
> If it works, it's good enough.
>
> One more thing: why wouldn't $PHP_SELF work? it's explicitly globalized
in wp_fix_server_vars().
Because in vars.php, it's used in global (therefore local) scope.
I'm fine with just no longer using $PHP_SELF. I imagine that's some weird
back compatible thing, but no worries if it's not available when running
WP inside of a function.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17749#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list