PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.1
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.1
16.3 16.3-beta 16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 All 508 releases
← All changes | modules/memberships/class-jetpack-memberships.php +0 -9 16.3-beta → 16.3-a.1 View file →
@@ -710,17 +710,8 @@
710 710 if ( empty( $post_access_level ) || ! is_string( $post_access_level ) ) {
711 711 $post_access_level = Abstract_Token_Subscription_Service::POST_ACCESS_LEVEL_EVERYBODY;
712 712 }
713 713
714 - // Only the editor switches a Paywall post to subscribers; REST, WP-CLI and importer saves don't.
715 - // The block's name constant isn't loaded everywhere this runs, hence the literal.
716 - if (
717 - Abstract_Token_Subscription_Service::POST_ACCESS_LEVEL_EVERYBODY === $post_access_level
718 - && has_block( 'jetpack/paywall', $post_id )
719 - ) {
720 - $post_access_level = Abstract_Token_Subscription_Service::POST_ACCESS_LEVEL_SUBSCRIBERS;
721 - }
722 -
723 714 self::$post_access_level_cache[ $cache_key ] = $post_access_level;
724 715
725 716 return $post_access_level;
726 717 }