PluginProbe
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO / 2.13.0
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO v2.13.0
2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.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 All 54 releases
← All changes | includes/seo/class-sitemap-generator.php +4 -3 2.12.0 → 2.13.0 View file →
@@ -2408,12 +2408,13 @@
2408 2408 if ($usage > $limit - $headroom) {
2409 2409 throw new \Error(
2410 2410 sprintf(
2411 2411 /* translators: 1: memory in use, 2: PHP memory limit. */
2412 - __('The sitemap rebuild was stopped at %1$s of the %2$s PHP memory limit, before PHP would have run out of memory. It will be retried by a process with more memory (WP-CLI or a system cron). To let it finish in the admin, raise the PHP memory_limit.', 'thinkrank'),
2413 - size_format($usage),
2414 - size_format($limit)
2412 + esc_html__('The sitemap rebuild was stopped at %1$s of the %2$s PHP memory limit, before PHP would have run out of memory. It will be retried by a process with more memory (WP-CLI or a system cron). To let it finish in the admin, raise the PHP memory_limit.', 'thinkrank'),
2413 + esc_html((string) size_format($usage)),
2414 + esc_html((string) size_format($limit))
2415 2415 ),
2416 + // phpcs:ignore WordPress.Security.EscapeOutput.ExceptionNotEscaped -- an integer class constant, not output.
2416 2417 self::MEMORY_ABORT_CODE
2417 2418 );
2418 2419 }
2419 2420 }