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