diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index 116538203a..e2dbc802a4 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -206,12 +206,19 @@ define('EP_AUTHORS', 2048); */ define('EP_PAGES', 4096); +/** + * Endpoint Mask for all archive views. + * + * @since 3.7.0 + */ +define( 'EP_ALL_ARCHIVES', EP_DATE | EP_YEAR | EP_MONTH | EP_DAY | EP_CATEGORIES | EP_TAGS | EP_AUTHORS ); + /** * Endpoint Mask for everything. * * @since 2.1.0 */ -define('EP_ALL', 8191); +define( 'EP_ALL', EP_PERMALINK | EP_ATTACHMENT | EP_ROOT | EP_COMMENTS | EP_SEARCH | EP_PAGES | EP_ALL_ARCHIVES ); /** * Add an endpoint, like /trackback/.