Make WordPress Core

Changeset 24812


Ignore:
Timestamp:
07/28/2013 07:18:19 PM (11 years ago)
Author:
duck_
Message:

Introduce a new endpoint mask for all archives, fixes #16303.

File:
1 edited

Legend:

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

    r24809 r24812  
    208208
    209209/**
     210 * Endpoint Mask for all archive views.
     211 *
     212 * @since 3.7.0
     213 */
     214define( 'EP_ALL_ARCHIVES', EP_DATE | EP_YEAR | EP_MONTH | EP_DAY | EP_CATEGORIES | EP_TAGS | EP_AUTHORS );
     215
     216/**
    210217 * Endpoint Mask for everything.
    211218 *
    212219 * @since 2.1.0
    213220 */
    214 define('EP_ALL', 8191);
     221define( 'EP_ALL', EP_PERMALINK | EP_ATTACHMENT | EP_ROOT | EP_COMMENTS | EP_SEARCH | EP_PAGES | EP_ALL_ARCHIVES );
    215222
    216223/**
Note: See TracChangeset for help on using the changeset viewer.