Make WordPress Core

Changeset 34938


Ignore:
Timestamp:
10/08/2015 04:40:11 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Add a file header to wp-includes/class-wp-rewrite.php.

See #34218.

File:
1 edited

Legend:

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

    r34903 r34938  
    11<?php
    22/**
    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.
    412 *
    513 * The WordPress Rewrite class writes the rewrite module rules to the .htaccess
     
    1422 *
    1523 * @since 1.5.0
    16  * @package WordPress
    17  * @subpackage Rewrite
    1824 */
    1925class WP_Rewrite {
     
    11111117                    if ( ! $page ) {
    11121118                        //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                        ) );
    11141127                    }
    11151128
Note: See TracChangeset for help on using the changeset viewer.