Commit 3c09dd16f5d for woocommerce
commit 3c09dd16f5d267bdec16ee419c3f0d18f78425fb
Author: Nouman Ijaz <30283331+noumanofficiall@users.noreply.github.com>
Date: Sat Jul 11 22:37:39 2026 +0500
Add translators comment for cron interval placeholder (#65734)
* Adds a translators comment for the %1$d placeholder in the cron interval schedule label to satisfy the WordPress.WP.I18n.MissingTranslatorsComment coding standard.
* Add changelog entry for translators comment
---------
Co-authored-by: Brandon Kraft <public@brandonkraft.com>
diff --git a/plugins/woocommerce/changelog/65734-translators-comment-cron-interval b/plugins/woocommerce/changelog/65734-translators-comment-cron-interval
new file mode 100644
index 00000000000..0c0f0c81144
--- /dev/null
+++ b/plugins/woocommerce/changelog/65734-translators-comment-cron-interval
@@ -0,0 +1,4 @@
+Significance: patch
+Type: tweak
+
+Add a translators comment for the cron interval placeholder to give translators context.
diff --git a/plugins/woocommerce/includes/libraries/wp-background-process.php b/plugins/woocommerce/includes/libraries/wp-background-process.php
index e69471f4d39..d2edd66ef37 100644
--- a/plugins/woocommerce/includes/libraries/wp-background-process.php
+++ b/plugins/woocommerce/includes/libraries/wp-background-process.php
@@ -420,6 +420,7 @@ abstract class WP_Background_Process extends WP_Async_Request {
// Adds every 5 minutes to the existing schedules.
$schedules[ $this->identifier . '_cron_interval' ] = array(
'interval' => MINUTE_IN_SECONDS * $interval,
+ /* translators: %d: Number of minutes between cron runs. */
'display' => sprintf( __( 'Every %d minutes', 'woocommerce' ), $interval ),
);