WordPress.org

Make WordPress Core

Ticket #43676: 43676.patch

File 43676.patch, 601 bytes (added by sebastian.pisula, 16 months ago)
  • wp-includes/class-wp-rewrite.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    14841484         * @return string
    14851485         */
    14861486        public function mod_rewrite_rules() {
    1487                 if ( ! $this->using_permalinks() ) {
    1488                         return '';
    1489                 }
    1490 
    14911487                $site_root = parse_url( site_url() );
    14921488                if ( isset( $site_root['path'] ) ) {
    14931489                        $site_root = trailingslashit( $site_root['path'] );