From a79310d45c54c53555a25ec0be09245beb3484af Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 7 Nov 2012 21:27:02 +0000 Subject: [PATCH] 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 --- wp-includes/rewrite.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index 5193c3861d..486922a3d1 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -1528,7 +1528,7 @@ class WP_Rewrite { // Old feed and service files $deprecated_files = array( '.*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 diff --git a/wp-includes/version.php b/wp-includes/version.php index b7b83225eb..34f6f56b53 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -11,7 +11,7 @@ $wp_version = '3.5-beta2-22438'; * * @global int $wp_db_version */ -$wp_db_version = 22422; +$wp_db_version = 22441; /** * Holds the TinyMCE version