Commit 828493a4e9 for woocommerce

commit 828493a4e91f80416dda392a59d520337b60ba31
Author: Michael Pretty <prettyboymp@users.noreply.github.com>
Date:   Wed Dec 3 10:24:08 2025 -0500

    Add deprecated doc tag to wc_enqueue_js(). (#62219)

    * Add deprecated doc tag to wc_enqueue_js().

    * Update wc-core-functions.php

    Expand on deprecation.

diff --git a/plugins/woocommerce/changelog/tweak-deprecated-tag-wc_enqueue_script b/plugins/woocommerce/changelog/tweak-deprecated-tag-wc_enqueue_script
new file mode 100644
index 0000000000..76e7157b87
--- /dev/null
+++ b/plugins/woocommerce/changelog/tweak-deprecated-tag-wc_enqueue_script
@@ -0,0 +1,4 @@
+Significance: patch
+Type: tweak
+
+Add deprecated tag to wc_enqueue_js().
diff --git a/plugins/woocommerce/includes/wc-core-functions.php b/plugins/woocommerce/includes/wc-core-functions.php
index 7fd5ff5211..256ab1a7d0 100644
--- a/plugins/woocommerce/includes/wc-core-functions.php
+++ b/plugins/woocommerce/includes/wc-core-functions.php
@@ -1016,6 +1016,8 @@ function wc_get_image_size( $image_size ) {
  * Queue some JavaScript code to be output in the footer.
  *
  * @param string $code Code.
+ *
+ * @deprecated 10.4.0 Use wp_add_inline_script() instead.
  */
 function wc_enqueue_js( $code ) {
 	global $wc_queued_js;