WordPress.org

Make WordPress Core

Ticket #15943: base-vs-1stcustomsave.diff

File base-vs-1stcustomsave.diff, 11.9 KB (added by sterlo, 7 years ago)

These are the differences between objects after you save for the first time.

  • (a) base vs. (b) 1stcustomsave

    a b  
    11WP_Rewrite Object
    22(
    3     [permalink_structure] =>
    4     [use_trailing_slashes] =>
     3    [permalink_structure] => /%category%/%postname%/
     4    [use_trailing_slashes] => 1
    55    [author_base] => author
    66    [search_base] => search
    77    [comments_base] => comments
    88    [pagination_base] => page
    99    [feed_base] => feed
    1010    [comments_feed_structure] =>
    11     [front] =>
     11    [front] => /
    1212    [root] =>
    1313    [index] => index.php
    1414    [matches] => matches
    15     [rules] =>
     15    [rules] => Array
     16        (
     17            [category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
     18            [category/(.+?)/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
     19            [category/(.+?)/page/?([0-9]{1,})/?$] => index.php?category_name=$matches[1]&paged=$matches[2]
     20            [category/(.+?)/?$] => index.php?category_name=$matches[1]
     21            [tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2]
     22            [tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2]
     23            [tag/([^/]+)/page/?([0-9]{1,})/?$] => index.php?tag=$matches[1]&paged=$matches[2]
     24            [tag/([^/]+)/?$] => index.php?tag=$matches[1]
     25            [type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?post_format=$matches[1]&feed=$matches[2]
     26            [type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?post_format=$matches[1]&feed=$matches[2]
     27            [type/([^/]+)/page/?([0-9]{1,})/?$] => index.php?post_format=$matches[1]&paged=$matches[2]
     28            [type/([^/]+)/?$] => index.php?post_format=$matches[1]
     29            [robots\.txt$] => index.php?robots=1
     30            [.*wp-atom.php$] => index.php?feed=atom
     31            [.*wp-rdf.php$] => index.php?feed=rdf
     32            [.*wp-rss.php$] => index.php?feed=rss
     33            [.*wp-rss2.php$] => index.php?feed=rss2
     34            [.*wp-feed.php$] => index.php?feed=feed
     35            [.*wp-commentsrss2.php$] => index.php?feed=rss2&withcomments=1
     36            [sample-page/attachment/([^/]+)/?$] => index.php?attachment=$matches[1]
     37            [sample-page/attachment/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1
     38            [sample-page/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
     39            [sample-page/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
     40            [sample-page/attachment/([^/]+)/comment-page-([0-9]{1,})/?$] => index.php?attachment=$matches[1]&cpage=$matches[2]
     41            [(sample-page)/trackback/?$] => index.php?pagename=$matches[1]&tb=1
     42            [(sample-page)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?pagename=$matches[1]&feed=$matches[2]
     43            [(sample-page)/(feed|rdf|rss|rss2|atom)/?$] => index.php?pagename=$matches[1]&feed=$matches[2]
     44            [(sample-page)/page/?([0-9]{1,})/?$] => index.php?pagename=$matches[1]&paged=$matches[2]
     45            [(sample-page)/comment-page-([0-9]{1,})/?$] => index.php?pagename=$matches[1]&cpage=$matches[2]
     46            [(sample-page)(/[0-9]+)?/?$] => index.php?pagename=$matches[1]&page=$matches[2]
     47            [feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]
     48            [(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]
     49            [page/?([0-9]{1,})/?$] => index.php?&paged=$matches[1]
     50            [comments/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]&withcomments=1
     51            [comments/(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]&withcomments=1
     52            [comments/page/?([0-9]{1,})/?$] => index.php?&paged=$matches[1]
     53            [search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?s=$matches[1]&feed=$matches[2]
     54            [search/(.+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?s=$matches[1]&feed=$matches[2]
     55            [search/(.+)/page/?([0-9]{1,})/?$] => index.php?s=$matches[1]&paged=$matches[2]
     56            [search/(.+)/?$] => index.php?s=$matches[1]
     57            [author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?author_name=$matches[1]&feed=$matches[2]
     58            [author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?author_name=$matches[1]&feed=$matches[2]
     59            [author/([^/]+)/page/?([0-9]{1,})/?$] => index.php?author_name=$matches[1]&paged=$matches[2]
     60            [author/([^/]+)/?$] => index.php?author_name=$matches[1]
     61            [([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4]
     62            [([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4]
     63            [([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&paged=$matches[4]
     64            [([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]
     65            [([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]
     66            [([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]
     67            [([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&paged=$matches[3]
     68            [([0-9]{4})/([0-9]{1,2})/?$] => index.php?year=$matches[1]&monthnum=$matches[2]
     69            [([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&feed=$matches[2]
     70            [([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&feed=$matches[2]
     71            [([0-9]{4})/page/?([0-9]{1,})/?$] => index.php?year=$matches[1]&paged=$matches[2]
     72            [([0-9]{4})/?$] => index.php?year=$matches[1]
     73            [.+?/[^/]+/attachment/([^/]+)/?$] => index.php?attachment=$matches[1]
     74            [.+?/[^/]+/attachment/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1
     75            [.+?/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
     76            [.+?/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
     77            [.+?/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$] => index.php?attachment=$matches[1]&cpage=$matches[2]
     78            [(.+?)/([^/]+)/trackback/?$] => index.php?category_name=$matches[1]&name=$matches[2]&tb=1
     79            [(.+?)/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&name=$matches[2]&feed=$matches[3]
     80            [(.+?)/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&name=$matches[2]&feed=$matches[3]
     81            [(.+?)/([^/]+)/page/?([0-9]{1,})/?$] => index.php?category_name=$matches[1]&name=$matches[2]&paged=$matches[3]
     82            [(.+?)/([^/]+)/comment-page-([0-9]{1,})/?$] => index.php?category_name=$matches[1]&name=$matches[2]&cpage=$matches[3]
     83            [(.+?)/([^/]+)(/[0-9]+)?/?$] => index.php?category_name=$matches[1]&name=$matches[2]&page=$matches[3]
     84            [.+?/[^/]+/([^/]+)/?$] => index.php?attachment=$matches[1]
     85            [.+?/[^/]+/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1
     86            [.+?/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
     87            [.+?/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
     88            [.+?/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$] => index.php?attachment=$matches[1]&cpage=$matches[2]
     89            [(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
     90            [(.+?)/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
     91            [(.+?)/page/?([0-9]{1,})/?$] => index.php?category_name=$matches[1]&paged=$matches[2]
     92            [(.+?)/comment-page-([0-9]{1,})/?$] => index.php?category_name=$matches[1]&cpage=$matches[2]
     93            [(.+?)/?$] => index.php?category_name=$matches[1]
     94        )
     95
    1696    [extra_rules] => Array
    1797        (
    1898        )
    1999
    20100    [extra_rules_top] => Array
    21101        (
     102            [category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
     103            [category/(.+?)/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
     104            [category/(.+?)/page/?([0-9]{1,})/?$] => index.php?category_name=$matches[1]&paged=$matches[2]
     105            [category/(.+?)/?$] => index.php?category_name=$matches[1]
     106            [tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2]
     107            [tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2]
     108            [tag/([^/]+)/page/?([0-9]{1,})/?$] => index.php?tag=$matches[1]&paged=$matches[2]
     109            [tag/([^/]+)/?$] => index.php?tag=$matches[1]
     110            [type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?post_format=$matches[1]&feed=$matches[2]
     111            [type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?post_format=$matches[1]&feed=$matches[2]
     112            [type/([^/]+)/page/?([0-9]{1,})/?$] => index.php?post_format=$matches[1]&paged=$matches[2]
     113            [type/([^/]+)/?$] => index.php?post_format=$matches[1]
    22114        )
    23115
    24116    [non_wp_rules] => Array
    25117        (
    26118        )
    27119
    28120    [extra_permastructs] => Array
    29121        (
     122            [category] => Array
     123                (
     124                    [0] => category/%category%
     125                    [1] => 0
     126                )
     127
     128            [post_tag] => Array
     129                (
     130                    [0] => tag/%post_tag%
     131                    [1] => 0
     132                )
     133
     134            [post_format] => Array
     135                (
     136                    [0] => /type/%post_format%
     137                    [1] => 0
     138                )
     139
    30140        )
    31141
    32142    [endpoints] => Array
    33143        (
    34144        )
    35145
    36146    [use_verbose_rules] =>
    37     [use_verbose_page_rules] =>
     147    [use_verbose_page_rules] => 1
    38148    [rewritecode] => Array
    39149        (
    40150            [0] => %year%
    41151            [1] => %monthnum%
    42152            [2] => %day%
    43153            [3] => %hour%
    44154            [4] => %minute%
    45155            [5] => %second%
    46156            [6] => %postname%
    47157            [7] => %post_id%
    48158            [8] => %author%
    49159            [9] => %pagename%
    50160            [10] => %search%
     161            [11] => %category%
     162            [12] => %post_tag%
     163            [13] => %post_format%
    51164        )
    52165
    53166    [rewritereplace] => Array
    54167        (
    55168            [0] => ([0-9]{4})
    56169            [1] => ([0-9]{1,2})
    57170            [2] => ([0-9]{1,2})
    58171            [3] => ([0-9]{1,2})
    59172            [4] => ([0-9]{1,2})
    60173            [5] => ([0-9]{1,2})
    61174            [6] => ([^/]+)
    62175            [7] => ([0-9]+)
    63176            [8] => ([^/]+)
    64             [9] => ([^/]+?)
     177            [9] => (sample-page)
    65178            [10] => (.+)
     179            [11] => (.+?)
     180            [12] => ([^/]+)
     181            [13] => ([^/]+)
    66182        )
    67183
    68184    [queryreplace] => Array
    69185        (
    70186            [0] => year=
    71187            [1] => monthnum=
    72188            [2] => day=
    73189            [3] => hour=
    74190            [4] => minute=
    75191            [5] => second=
    76192            [6] => name=
    77193            [7] => p=
    78194            [8] => author_name=
    79195            [9] => pagename=
    80196            [10] => s=
     197            [11] => category_name=
     198            [12] => tag=
     199            [13] => post_format=
    81200        )
    82201
    83202    [feeds] => Array
    84203        (
    85204            [0] => feed
    86205            [1] => rdf
    87206            [2] => rss
    88207            [3] => rss2
    89208            [4] => atom
    90209        )
    91210
     211    [date_structure] => /%year%/%monthnum%/%day%
     212    [search_structure] => search/%search%
     213    [author_structure] => /author/%author%
     214    [page_structure] => %pagename%
    92215)