Switch to site_url() as wp-app base. fixes #11916
git-svn-id: http://svn.automattic.com/wordpress/trunk@14136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f87c42f038
commit
3fc6562444
|
@ -224,7 +224,7 @@ class AtomServer {
|
||||||
function AtomServer() {
|
function AtomServer() {
|
||||||
|
|
||||||
$this->script_name = array_pop(explode('/',$_SERVER['SCRIPT_NAME']));
|
$this->script_name = array_pop(explode('/',$_SERVER['SCRIPT_NAME']));
|
||||||
$this->app_base = home_url( $this->script_name . '/' );
|
$this->app_base = site_url( $this->script_name . '/' );
|
||||||
|
|
||||||
$this->selectors = array(
|
$this->selectors = array(
|
||||||
'@/service$@' =>
|
'@/service$@' =>
|
||||||
|
|
Loading…
Reference in New Issue