Introduce a new endpoint mask for all archives, fixes #16303.
git-svn-id: http://core.svn.wordpress.org/trunk@24812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ec6f40342a
commit
b0f446b5ba
|
@ -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/.
|
||||
|
|
Loading…
Reference in New Issue