Changeset 30982 for trunk/src/wp-includes/rewrite.php
- Timestamp:
- 12/20/2014 10:46:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rewrite.php
r30703 r30982 1289 1289 //build a list from the rewritecode and queryreplace arrays, that will look something like 1290 1290 //tagname=$matches[i] where i is the current $i 1291 $queries = array(); 1291 1292 for ( $i = 0; $i < $num_tokens; ++$i ) { 1292 1293 if ( 0 < $i ) … … 1329 1330 1330 1331 //get the 'tagname=$matches[i]' 1331 $query = ( isset($queries) && is_array($queries) && !empty($num_toks) ) ? $queries[$num_toks - 1] : '';1332 $query = ( ! empty( $num_toks ) && isset( $queries[$num_toks - 1] ) ) ? $queries[$num_toks - 1] : ''; 1332 1333 1333 1334 //set up $ep_mask_specific which is used to match more specific URL types
Note: See TracChangeset
for help on using the changeset viewer.