Rename app.php to wp-app.php and change references. fixes #4168
git-svn-id: https://develop.svn.wordpress.org/trunk@5286 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
baff4f7040
commit
0eb151d441
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
* app.php - Atom Publishing Protocol support for WordPress
|
* wp-app.php - Atom Publishing Protocol support for WordPress
|
||||||
* Original code by: Elias Torres, http://torrez.us/archives/2006/08/31/491/
|
* Original code by: Elias Torres, http://torrez.us/archives/2006/08/31/491/
|
||||||
* Modified by: Dougal Campbell, http://dougal.gunters.org/
|
* Modified by: Dougal Campbell, http://dougal.gunters.org/
|
||||||
*
|
*
|
||||||
|
@ -28,7 +28,7 @@ if ($use_querystring) {
|
||||||
$_SERVER['PATH_INFO'] .= "/$eid";
|
$_SERVER['PATH_INFO'] .= "/$eid";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$_SERVER['PATH_INFO'] = str_replace( '/app.php', '', $_SERVER['REQUEST_URI'] );
|
$_SERVER['PATH_INFO'] = str_replace( '/wp-app.php', '', $_SERVER['REQUEST_URI'] );
|
||||||
}
|
}
|
||||||
|
|
||||||
$app_logging = 0;
|
$app_logging = 0;
|
||||||
|
@ -270,7 +270,7 @@ class AtomServer {
|
||||||
var $MEDIA_SINGLE_PATH = "attachment";
|
var $MEDIA_SINGLE_PATH = "attachment";
|
||||||
|
|
||||||
var $params = array();
|
var $params = array();
|
||||||
var $script_name = "app.php";
|
var $script_name = "wp-app.php";
|
||||||
var $media_content_types = array('image/*','audio/*','video/*');
|
var $media_content_types = array('image/*','audio/*','video/*');
|
||||||
var $atom_content_types = array('application/atom+xml');
|
var $atom_content_types = array('application/atom+xml');
|
||||||
|
|
Loading…
Reference in New Issue