Make WordPress Core

Ticket #51839: class-wp-rewrite.php.patch

File class-wp-rewrite.php.patch, 556 bytes (added by hauvong, 4 years ago)
  • src/wp-includes/class-wp-rewrite.php

     
    746746
    747747                if ( empty( $this->permalink_structure ) ) {
    748748                        $this->feed_structure = '';
    749                         return false;
     749                } else {
     750                        $this->feed_structure = $this->root . $this->feed_base . '/%feed%';
    750751                }
    751752
    752                 $this->feed_structure = $this->root . $this->feed_base . '/%feed%';
    753 
    754753                return $this->feed_structure;
    755754        }
    756755