[wp-trac] [WordPress Trac] #24173: Unit tests: Support subdirectory multisite installs
WordPress Trac
noreply at wordpress.org
Tue Jun 25 17:05:25 UTC 2013
#24173: Unit tests: Support subdirectory multisite installs
--------------------------+------------------------------
Reporter: r-a-y | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Unit Tests | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by r-a-y):
> Just define ABSPATH directly in wp-tests-config.php.
ABSPATH is already defined in wp-tests-config.php and that doesn't need to
change because it is referencing the correct directory.
> What is the difference between PATH_CURRENT_SITE and WP_TESTS_PATH?
PATH_CURRENT_SITE is defined in `wpmu_current_site()` in ms-load.php. I
don't think there's a difference between the two.
> you could define PATH_CURRENT_SITE in wp-tests-config.php and then check
if it's already defined when handling WP_TESTS_MULTISITE.
I created WP_TESTS_PATH because it is similar to how WP_TESTS_DOMAIN is
used.
Similarly, I could ask why WP_TESTS_DOMAIN is used when we can already
define DOMAIN_CURRENT_SITE.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24173#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list