PluginProbe
ActivityPub / 8.0.2
ActivityPub v8.0.2
9.3.1 9.3.0 9.2.2 9.2.1 9.2.0 9.1.0 9.0.2 9.0.1 9.0.0 8.3.0 8.2.1 8.2.0 8.1.1 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.2.0 1.3.0 2.0.0 2.0.1 2.1.0 2.1.1 All 160 releases
← All changes | includes/cache/class-media.php +2 -2 9.2.08.0.2 View file →
@@ -6,9 +6,9 @@
6 6 */
7 7
8 8 namespace Activitypub\Cache;
9 9
10 -use Activitypub\Collection\Remote_Posts;
10 +use Activitypub\Collection\Posts;
11 11
12 12 /**
13 13 * Media cache class.
14 14 *
@@ -168,9 +168,9 @@
168 168 *
169 169 * @param int $post_id The post ID being deleted.
170 170 */
171 171 public static function maybe_cleanup( $post_id ) {
172 - if ( Remote_Posts::POST_TYPE !== \get_post_type( $post_id ) ) {
172 + if ( Posts::POST_TYPE !== \get_post_type( $post_id ) ) {
173 173 return;
174 174 }
175 175
176 176 self::invalidate_entity( $post_id );