Make WordPress Core


Ignore:
Timestamp:
03/10/2011 04:24:48 AM (16 years ago)
Author:
markjaquith
Message:

Correctly handle PATHINFO CPTs and CTs that specify with_front=false. fixes #16807 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/rewrite.php

    r17226 r17518  
    18581858                if ( $with_front )
    18591859                        $struct = $this->front . $struct;
     1860                else
     1861                        $struct = $this->root . $struct;
    18601862                $this->extra_permastructs[$name] = array($struct, $ep_mask);
    18611863        }
Note: See TracChangeset for help on using the changeset viewer.