Commit 330b3caa4d for woocommerce
commit 330b3caa4d4ef986c345df4d256b5d384137cc28
Author: Matt Harrison <matt@hallme.com>
Date: Thu Jan 15 10:04:37 2026 -0500
Move Add note for orders to the top of the note box. (#61375)
The notes display with the newest first, so when adding a note you would
usually be looking a the newest note which is also at the top.
This locates the add note box close to the most recent note.
Otherwise if you have a long list of notes you would be looking at the most recent note at the top and then have to scroll all the way to the bottom to add the new note.
diff --git a/plugins/woocommerce/changelog/pr-61375 b/plugins/woocommerce/changelog/pr-61375
new file mode 100644
index 0000000000..8f75cd1a6b
--- /dev/null
+++ b/plugins/woocommerce/changelog/pr-61375
@@ -0,0 +1,4 @@
+Significance: minor
+Type: update
+
+Move add note on the order details to the top to be close to the most recent note
diff --git a/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-notes.php b/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-notes.php
index 3809962801..b10ffbeffd 100644
--- a/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-notes.php
+++ b/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-notes.php
@@ -33,8 +33,6 @@ class WC_Meta_Box_Order_Notes {
} else {
$notes = array();
}
-
- include __DIR__ . '/views/html-order-notes.php';
?>
<div class="add_note">
<p>
@@ -51,5 +49,6 @@ class WC_Meta_Box_Order_Notes {
</p>
</div>
<?php
+ include __DIR__ . '/views/html-order-notes.php';
}
}