mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-15 23:25:50 +01:00
Rename app.php to wp-app.php and change references. fixes #4168
git-svn-id: http://svn.automattic.com/wordpress/trunk@5286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ceb60d8af8
commit
83093ef0ab
@ -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
Block a user