Introduce a new endpoint mask for all archives, fixes #16303.
git-svn-id: https://develop.svn.wordpress.org/trunk@24812 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fc20fc9ebb
commit
0a7dbdc284
@ -206,12 +206,19 @@ define('EP_AUTHORS', 2048);
|
|||||||
*/
|
*/
|
||||||
define('EP_PAGES', 4096);
|
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.
|
* Endpoint Mask for everything.
|
||||||
*
|
*
|
||||||
* @since 2.1.0
|
* @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/.
|
* Add an endpoint, like /trackback/.
|
||||||
|
Loading…
Reference in New Issue
Block a user