WordPress.org

Make WordPress Core

Ticket #15943: 1stcustomsave-vs-2ndcustomsave.diff

File 1stcustomsave-vs-2ndcustomsave.diff, 10.3 KB (added by sterlo, 7 years ago)

These are the differences between objects after the second save (not changing values or options).

  • (a) 1stcustomsave vs. (b) 2ndcustomsave

    a b  
    99    [feed_base] => feed
    1010    [comments_feed_structure] =>
    1111    [front] => /
    1212    [root] =>
    1313    [index] => index.php
    1414    [matches] => matches
    1515    [rules] => Array
    1616        (
    1717            [category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
    1818            [category/(.+?)/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
    1919            [category/(.+?)/page/?([0-9]{1,})/?$] => index.php?category_name=$matches[1]&paged=$matches[2]
    2020            [category/(.+?)/?$] => index.php?category_name=$matches[1]
    2121            [tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2]
    2222            [tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2]
    2323            [tag/([^/]+)/page/?([0-9]{1,})/?$] => index.php?tag=$matches[1]&paged=$matches[2]
    2424            [tag/([^/]+)/?$] => index.php?tag=$matches[1]
    2525            [type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?post_format=$matches[1]&feed=$matches[2]
    2626            [type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?post_format=$matches[1]&feed=$matches[2]
    2727            [type/([^/]+)/page/?([0-9]{1,})/?$] => index.php?post_format=$matches[1]&paged=$matches[2]
    2828            [type/([^/]+)/?$] => index.php?post_format=$matches[1]
     29            [staff/.+?/attachment/([^/]+)/?$] => index.php?attachment=$matches[1]
     30            [staff/.+?/attachment/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1
     31            [staff/.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
     32            [staff/.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
     33            [staff/.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$] => index.php?attachment=$matches[1]&cpage=$matches[2]
     34            [staff/(.+?)/trackback/?$] => index.php?staff=$matches[1]&tb=1
     35            [staff/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?staff=$matches[1]&feed=$matches[2]
     36            [staff/(.+?)/(feed|rdf|rss|rss2|atom)/?$] => index.php?staff=$matches[1]&feed=$matches[2]
     37            [staff/(.+?)/page/?([0-9]{1,})/?$] => index.php?staff=$matches[1]&paged=$matches[2]
     38            [staff/(.+?)/comment-page-([0-9]{1,})/?$] => index.php?staff=$matches[1]&cpage=$matches[2]
     39            [staff/(.+?)(/[0-9]+)?/?$] => index.php?staff=$matches[1]&page=$matches[2]
     40            [departments/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?departments=$matches[1]&feed=$matches[2]
     41            [departments/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?departments=$matches[1]&feed=$matches[2]
     42            [departments/([^/]+)/page/?([0-9]{1,})/?$] => index.php?departments=$matches[1]&paged=$matches[2]
     43            [departments/([^/]+)/?$] => index.php?departments=$matches[1]
    2944            [robots\.txt$] => index.php?robots=1
    3045            [.*wp-atom.php$] => index.php?feed=atom
    3146            [.*wp-rdf.php$] => index.php?feed=rdf
    3247            [.*wp-rss.php$] => index.php?feed=rss
    3348            [.*wp-rss2.php$] => index.php?feed=rss2
    3449            [.*wp-feed.php$] => index.php?feed=feed
    3550            [.*wp-commentsrss2.php$] => index.php?feed=rss2&withcomments=1
    3651            [sample-page/attachment/([^/]+)/?$] => index.php?attachment=$matches[1]
    3752            [sample-page/attachment/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1
    3853            [sample-page/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
    3954            [sample-page/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
    4055            [sample-page/attachment/([^/]+)/comment-page-([0-9]{1,})/?$] => index.php?attachment=$matches[1]&cpage=$matches[2]
    4156            [(sample-page)/trackback/?$] => index.php?pagename=$matches[1]&tb=1
    4257            [(sample-page)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?pagename=$matches[1]&feed=$matches[2]
    4358            [(sample-page)/(feed|rdf|rss|rss2|atom)/?$] => index.php?pagename=$matches[1]&feed=$matches[2]
    4459            [(sample-page)/page/?([0-9]{1,})/?$] => index.php?pagename=$matches[1]&paged=$matches[2]
    4560            [(sample-page)/comment-page-([0-9]{1,})/?$] => index.php?pagename=$matches[1]&cpage=$matches[2]
    4661            [(sample-page)(/[0-9]+)?/?$] => index.php?pagename=$matches[1]&page=$matches[2]
    4762            [feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]
    4863            [(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]
     
    94109        )
    95110
    96111    [extra_rules] => Array
    97112        (
    98113        )
    99114
    100115    [extra_rules_top] => Array
    101116        (
    102117            [category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
    103118            [category/(.+?)/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
    104119            [category/(.+?)/page/?([0-9]{1,})/?$] => index.php?category_name=$matches[1]&paged=$matches[2]
    105120            [category/(.+?)/?$] => index.php?category_name=$matches[1]
    106121            [tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2]
    107122            [tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2]
    108123            [tag/([^/]+)/page/?([0-9]{1,})/?$] => index.php?tag=$matches[1]&paged=$matches[2]
    109124            [tag/([^/]+)/?$] => index.php?tag=$matches[1]
    110125            [type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?post_format=$matches[1]&feed=$matches[2]
    111126            [type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?post_format=$matches[1]&feed=$matches[2]
    112127            [type/([^/]+)/page/?([0-9]{1,})/?$] => index.php?post_format=$matches[1]&paged=$matches[2]
    113128            [type/([^/]+)/?$] => index.php?post_format=$matches[1]
     129            [staff/.+?/attachment/([^/]+)/?$] => index.php?attachment=$matches[1]
     130            [staff/.+?/attachment/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1
     131            [staff/.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
     132            [staff/.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
     133            [staff/.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$] => index.php?attachment=$matches[1]&cpage=$matches[2]
     134            [staff/(.+?)/trackback/?$] => index.php?staff=$matches[1]&tb=1
     135            [staff/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?staff=$matches[1]&feed=$matches[2]
     136            [staff/(.+?)/(feed|rdf|rss|rss2|atom)/?$] => index.php?staff=$matches[1]&feed=$matches[2]
     137            [staff/(.+?)/page/?([0-9]{1,})/?$] => index.php?staff=$matches[1]&paged=$matches[2]
     138            [staff/(.+?)/comment-page-([0-9]{1,})/?$] => index.php?staff=$matches[1]&cpage=$matches[2]
     139            [staff/(.+?)(/[0-9]+)?/?$] => index.php?staff=$matches[1]&page=$matches[2]
     140            [departments/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?departments=$matches[1]&feed=$matches[2]
     141            [departments/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?departments=$matches[1]&feed=$matches[2]
     142            [departments/([^/]+)/page/?([0-9]{1,})/?$] => index.php?departments=$matches[1]&paged=$matches[2]
     143            [departments/([^/]+)/?$] => index.php?departments=$matches[1]
    114144        )
    115145
    116146    [non_wp_rules] => Array
    117147        (
    118148        )
    119149
    120150    [extra_permastructs] => Array
    121151        (
    122152            [category] => Array
    123153                (
    124154                    [0] => category/%category%
    125155                    [1] => 0
    126156                )
    127157
    128158            [post_tag] => Array
    129159                (
    130160                    [0] => tag/%post_tag%
    131161                    [1] => 0
    132162                )
    133163
    134164            [post_format] => Array
    135165                (
    136166                    [0] => /type/%post_format%
    137167                    [1] => 0
    138168                )
    139169
     170            [staff_listing] => Array
     171                (
     172                    [0] => /staff/%staff_listing%
     173                    [1] => 1
     174                )
     175
     176            [departments] => Array
     177                (
     178                    [0] => departments/%departments%
     179                    [1] => 0
     180                )
     181
    140182        )
    141183
    142184    [endpoints] => Array
    143185        (
    144186        )
    145187
    146188    [use_verbose_rules] =>
    147189    [use_verbose_page_rules] => 1
    148190    [rewritecode] => Array
    149191        (
    150192            [0] => %year%
    151193            [1] => %monthnum%
    152194            [2] => %day%
    153195            [3] => %hour%
    154196            [4] => %minute%
    155197            [5] => %second%
    156198            [6] => %postname%
    157199            [7] => %post_id%
    158200            [8] => %author%
    159201            [9] => %pagename%
    160202            [10] => %search%
    161203            [11] => %category%
    162204            [12] => %post_tag%
    163205            [13] => %post_format%
     206            [14] => %staff_listing%
     207            [15] => %departments%
    164208        )
    165209
    166210    [rewritereplace] => Array
    167211        (
    168212            [0] => ([0-9]{4})
    169213            [1] => ([0-9]{1,2})
    170214            [2] => ([0-9]{1,2})
    171215            [3] => ([0-9]{1,2})
    172216            [4] => ([0-9]{1,2})
    173217            [5] => ([0-9]{1,2})
    174218            [6] => ([^/]+)
    175219            [7] => ([0-9]+)
    176220            [8] => ([^/]+)
    177221            [9] => (sample-page)
    178222            [10] => (.+)
    179223            [11] => (.+?)
    180224            [12] => ([^/]+)
    181225            [13] => ([^/]+)
     226            [14] => (.+?)
     227            [15] => ([^/]+)
    182228        )
    183229
    184230    [queryreplace] => Array
    185231        (
    186232            [0] => year=
    187233            [1] => monthnum=
    188234            [2] => day=
    189235            [3] => hour=
    190236            [4] => minute=
    191237            [5] => second=
    192238            [6] => name=
    193239            [7] => p=
    194240            [8] => author_name=
    195241            [9] => pagename=
    196242            [10] => s=
    197243            [11] => category_name=
    198244            [12] => tag=
    199245            [13] => post_format=
     246            [14] => staff=
     247            [15] => departments=
    200248        )
    201249
    202250    [feeds] => Array
    203251        (
    204252            [0] => feed
    205253            [1] => rdf
    206254            [2] => rss
    207255            [3] => rss2
    208256            [4] => atom
    209257        )
    210258
    211259    [date_structure] => /%year%/%monthnum%/%day%
    212260    [search_structure] => search/%search%
    213261    [author_structure] => /author/%author%
    214262    [page_structure] => %pagename%
    215263)