Make WordPress Core


Ignore:
Timestamp:
11/20/2015 07:23:04 AM (9 years ago)
Author:
nacin
Message:

Simplify the include graph after work to split out classes.

see #33413. More details there.

File:
1 moved

Legend:

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

    r35712 r35718  
    66 * @subpackage Rewrite
    77 */
     8
     9/**
     10 * Endpoint Mask for default, which is nothing.
     11 *
     12 * @since 2.1.0
     13 */
     14define('EP_NONE', 0);
     15
     16/**
     17 * Endpoint Mask for Permalink.
     18 *
     19 * @since 2.1.0
     20 */
     21define('EP_PERMALINK', 1);
     22
     23/**
     24 * Endpoint Mask for Attachment.
     25 *
     26 * @since 2.1.0
     27 */
     28define('EP_ATTACHMENT', 2);
     29
     30/**
     31 * Endpoint Mask for date.
     32 *
     33 * @since 2.1.0
     34 */
     35define('EP_DATE', 4);
     36
     37/**
     38 * Endpoint Mask for year
     39 *
     40 * @since 2.1.0
     41 */
     42define('EP_YEAR', 8);
     43
     44/**
     45 * Endpoint Mask for month.
     46 *
     47 * @since 2.1.0
     48 */
     49define('EP_MONTH', 16);
     50
     51/**
     52 * Endpoint Mask for day.
     53 *
     54 * @since 2.1.0
     55 */
     56define('EP_DAY', 32);
     57
     58/**
     59 * Endpoint Mask for root.
     60 *
     61 * @since 2.1.0
     62 */
     63define('EP_ROOT', 64);
     64
     65/**
     66 * Endpoint Mask for comments.
     67 *
     68 * @since 2.1.0
     69 */
     70define('EP_COMMENTS', 128);
     71
     72/**
     73 * Endpoint Mask for searches.
     74 *
     75 * @since 2.1.0
     76 */
     77define('EP_SEARCH', 256);
     78
     79/**
     80 * Endpoint Mask for categories.
     81 *
     82 * @since 2.1.0
     83 */
     84define('EP_CATEGORIES', 512);
     85
     86/**
     87 * Endpoint Mask for tags.
     88 *
     89 * @since 2.3.0
     90 */
     91define('EP_TAGS', 1024);
     92
     93/**
     94 * Endpoint Mask for authors.
     95 *
     96 * @since 2.1.0
     97 */
     98define('EP_AUTHORS', 2048);
     99
     100/**
     101 * Endpoint Mask for pages.
     102 *
     103 * @since 2.1.0
     104 */
     105define('EP_PAGES', 4096);
     106
     107/**
     108 * Endpoint Mask for all archive views.
     109 *
     110 * @since 3.7.0
     111 */
     112define( 'EP_ALL_ARCHIVES', EP_DATE | EP_YEAR | EP_MONTH | EP_DAY | EP_CATEGORIES | EP_TAGS | EP_AUTHORS );
     113
     114/**
     115 * Endpoint Mask for everything.
     116 *
     117 * @since 2.1.0
     118 */
     119define( 'EP_ALL', EP_PERMALINK | EP_ATTACHMENT | EP_ROOT | EP_COMMENTS | EP_SEARCH | EP_PAGES | EP_ALL_ARCHIVES );
    8120
    9121/**
Note: See TracChangeset for help on using the changeset viewer.