PluginProbe
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO / 2.7.0
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO v2.7.0
2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.1 2.1.0 2.0.2 2.0.1 2.0.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.10.0 All 48 releases
← All changes | includes/editor/elementor/class-howto-widget.php +9 -0 2.2.02.7.0 View file →
@@ -232,8 +232,17 @@
232 232 * @param array $items Non-empty steps.
233 233 * @return void
234 234 */
235 235 private function maybe_render_schema(array $settings, array $items): void {
236 +
237 + // The Schema master switch and the matrix's per-content-type switch.
238 + // This widget echoes its own <script> rather than registering with
239 + // Schema_Graph, so gating the graph never reached it and it kept
240 + // publishing with Schema switched off (#688).
241 + if (class_exists('ThinkRank\\Frontend\\Schema_Graph')
242 + && !\ThinkRank\Frontend\Schema_Graph::output_allowed()) {
243 + return;
244 + }
236 245 if ('yes' !== ($settings['output_schema'] ?? 'yes')) {
237 246 return;
238 247 }
239 248