PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 28.5
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v28.5
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | src/builders/indexable-link-builder.php +3 -0 27.928.5 View file →
@@ -133,8 +133,11 @@
133 133 $post_backup = $post;
134 134 // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited -- To setup the post we need to do this explicitly.
135 135 $post = $this->post_helper->get_post( $indexable->object_id );
136 136 \setup_postdata( $post );
137 +
138 + // The below hook primes the post and meta caches for all wp-image-<ID> images.
139 + // So the image loop in create_links() hits warm caches — no additional priming is needed there.
137 140 $content = \apply_filters( 'the_content', $content );
138 141 \wp_reset_postdata();
139 142 // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited -- To setup the post we need to do this explicitly.
140 143 $post = $post_backup;