Update the old wp-app.php rule to allow for a trailing slash followed by endpoint data. props wonderboymusic. fixes #22035.
git-svn-id: http://core.svn.wordpress.org/trunk@22441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
033506e18c
commit
a79310d45c
|
@ -1528,7 +1528,7 @@ class WP_Rewrite {
|
||||||
// Old feed and service files
|
// Old feed and service files
|
||||||
$deprecated_files = array(
|
$deprecated_files = array(
|
||||||
'.*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\.php$' => $this->index . '?feed=old',
|
'.*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\.php$' => $this->index . '?feed=old',
|
||||||
'.*wp-app\.php$' => $this->index . '?error=403',
|
'.*wp-app\.php(/.*)?$' => $this->index . '?error=403',
|
||||||
);
|
);
|
||||||
|
|
||||||
// Registration rules
|
// Registration rules
|
||||||
|
|
|
@ -11,7 +11,7 @@ $wp_version = '3.5-beta2-22438';
|
||||||
*
|
*
|
||||||
* @global int $wp_db_version
|
* @global int $wp_db_version
|
||||||
*/
|
*/
|
||||||
$wp_db_version = 22422;
|
$wp_db_version = 22441;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the TinyMCE version
|
* Holds the TinyMCE version
|
||||||
|
|
Loading…
Reference in New Issue