Changeset 34938
- Timestamp:
- 10/08/2015 04:40:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-rewrite.php
r34903 r34938 1 1 <?php 2 2 /** 3 * WordPress Rewrite Component. 3 * Rewrite API: WP_Rewrite class 4 * 5 * @package WordPress 6 * @subpackage Rewrite 7 * @since 1.5.0 8 */ 9 10 /** 11 * Core class used to implement a rewrite component API. 4 12 * 5 13 * The WordPress Rewrite class writes the rewrite module rules to the .htaccess … … 14 22 * 15 23 * @since 1.5.0 16 * @package WordPress17 * @subpackage Rewrite18 24 */ 19 25 class WP_Rewrite { … … 1111 1117 if ( ! $page ) { 1112 1118 //require <permalink>/attachment/stuff form for pages because of confusion with subpages 1113 $rewrite = array_merge( $rewrite, array($sub1 => $subquery, $sub1tb => $subtbquery, $sub1feed => $subfeedquery, $sub1feed2 => $subfeedquery, $sub1comment => $subcommentquery, $sub1embed => $subembedquery ) ); 1119 $rewrite = array_merge( $rewrite, array( 1120 $sub1 => $subquery, 1121 $sub1tb => $subtbquery, 1122 $sub1feed => $subfeedquery, 1123 $sub1feed2 => $subfeedquery, 1124 $sub1comment => $subcommentquery, 1125 $sub1embed => $subembedquery 1126 ) ); 1114 1127 } 1115 1128
Note: See TracChangeset
for help on using the changeset viewer.