[wp-trac] [WordPress Trac] #17749: Faster and phpunit runner-compatible unit tests

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 18 19:37:11 UTC 2011


#17749: Faster and phpunit runner-compatible unit tests
------------------------------+-------------------------
 Reporter:  nbachiyski        |       Owner:  nbachiyski
     Type:  feature request   |      Status:  closed
 Priority:  normal            |   Milestone:  3.3
Component:  Unit Tests        |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+-------------------------
Changes (by nacin):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [18993]:
 {{{
 #!CommitTicketReference repository="" revision="18993"
 Explicitly globalize $table_prefix in wp-settings.php in case WordPress
 isn't loaded in global scope. Use $_SERVER['PHP_SELF'], not $PHP_SELF. We
 need to keep $PHP_SELF for backwards compatibility reasons (many, many
 plugins rely on it). props mrtorrent, fixes #17749.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17749#comment:27>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list