Make WordPress Core


Ignore:
Timestamp:
03/10/2011 04:25:40 AM (14 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/wp-includes/rewrite.php

    r17226 r17519  
    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.