Ticket #16303: 16303.2.diff
File 16303.2.diff, 807 bytes (added by , 13 years ago) |
---|
-
wp-includes/rewrite.php
200 200 define('EP_PAGES', 4096); 201 201 202 202 /** 203 * Endpoint Mask for custom post type archives. 204 * 205 * @since 3.4.0 206 */ 207 define( 'EP_CPT_ARCHIVE', 8192 ); 208 209 /** 210 * Endpoint Mask for all archive views. 211 * 212 * @since 3.4.0 213 */ 214 define( 'EP_ALL_ARCHIVES', EP_DATE | EP_YEAR | EP_MONTH | EP_DAY | EP_CATEGORIES | EP_TAGS | EP_AUTHORS | EP_CPT_ARCHIVE ); 215 216 /** 203 217 * Endpoint Mask for everything. 204 218 * 205 219 * @since 2.1.0 206 220 */ 207 define( 'EP_ALL', 8191);221 define( 'EP_ALL', EP_PERMALINK | EP_ATTACHMENT | EP_ROOT | EP_COMMENTS | EP_SEARCH | EP_PAGES | EP_ALL_ARCHIVES ); 208 222 209 223 /** 210 224 * Add an endpoint, like /trackback/.