From 8be60829495fd610c5e078aa3bf7ad1929a9072c Mon Sep 17 00:00:00 2001 From: Caleb Stauffer Date: Thu, 3 Oct 2024 14:13:04 -0400 Subject: [PATCH 1/2] eliminate smells from deprecated/functions.php --- deprecated/functions.php | 58 +++++++++++++++++++++------------------- 1 file changed, 31 insertions(+), 27 deletions(-) diff --git a/deprecated/functions.php b/deprecated/functions.php index f782c4b7f..16cc7c926 100644 --- a/deprecated/functions.php +++ b/deprecated/functions.php @@ -1,20 +1,22 @@ '' - the name of the action that will be triggered * 'args' => NULL - the args array that will be passed with the action * 'date' => NULL - the scheduled date of the action. Expects a DateTime object, a unix timestamp, or a string that can parsed with strtotime(). Used in UTC timezone. @@ -113,8 +117,8 @@ function wc_next_scheduled_action( $hook, $args = NULL, $group = '' ) { * 'per_page' => 5 - Number of results to return * 'offset' => 0 * 'orderby' => 'date' - accepted values are 'hook', 'group', 'modified', or 'date' - * 'order' => 'ASC' - * @param string $return_format OBJECT, ARRAY_A, or ids + * 'order' => 'ASC'. + * @param string $return_format OBJECT, ARRAY_A, or ids. * * @deprecated 2.1.0 * From 9653af194dc86f51b3665e2e2ac137456a47cdd3 Mon Sep 17 00:00:00 2001 From: Caleb Stauffer Date: Thu, 3 Oct 2024 14:14:10 -0400 Subject: [PATCH 2/2] remove directive to disable sniff --- deprecated/functions.php | 1 - 1 file changed, 1 deletion(-) diff --git a/deprecated/functions.php b/deprecated/functions.php index 16cc7c926..76ac01956 100644 --- a/deprecated/functions.php +++ b/deprecated/functions.php @@ -1,5 +1,4 @@