deleted file object-cache.php (after deactivation of W3 Total Cache version 2.7.0)

This commit is contained in:
2024-04-19 10:50:30 +00:00
committed by Gitium
parent 8e79281642
commit fd49653431
3041 changed files with 0 additions and 410531 deletions

View File

@ -1,19 +0,0 @@
<?php
// phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
$post = \get_post();
$post_object = \Activitypub\Transformer\Factory::get_transformer( $post )->to_object();
$post_object->set_context( \Activitypub\get_context() );
/*
* Action triggerd prior to the ActivityPub profile being created and sent to the client
*/
\do_action( 'activitypub_json_post_pre' );
\header( 'Content-Type: application/activity+json' );
echo $post_object->to_json(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
/*
* Action triggerd after the ActivityPub profile has been created and sent to the client
*/
\do_action( 'activitypub_json_post_post' );