WordPress.org

Make WordPress Core

Ticket #22035: rewrite-whoops.diff

File rewrite-whoops.diff, 504 bytes (added by wonderboymusic, 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