WordPress.org

Make WordPress Core

Ticket #22035: 22035.diff

File 22035.diff, 503 bytes (added by markoheijnen, 6 years ago)
  • wp-includes/rewrite.php

     
    15281528                // Old feed and service files
    15291529                $deprecated_files = array(
    15301530                        '.*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\.php$' => $this->index . '?feed=old',
    1531                         '.*wp-app\.php$' => $this->index . '?error=403',
     1531                        '.*wp-app\.php(/.*)?$' => $this->index . '?error=403',
    15321532                );
    15331533
    15341534                // Registration rules