fix is_activitypub_request
function
This commit is contained in:
parent
19d60d8fec
commit
c1da689d66
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ function is_activitypub_request() {
|
||||||
* ActivityPub requests are currently only made for
|
* ActivityPub requests are currently only made for
|
||||||
* author archives, singular posts, and the homepage.
|
* author archives, singular posts, and the homepage.
|
||||||
*/
|
*/
|
||||||
if ( ! \is_author() && ! \is_singular() && ! \is_home() && ! defined( '\REST_REQUEST' ) && ! \REST_REQUEST ) {
|
if ( ! \is_author() && ! \is_singular() && ! \is_home() && ! defined( '\REST_REQUEST' ) ) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue