Commit 44921923 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Rename our post meta for the order number to not contain spaces.

Apparently, sorting by a post meta will not work if the meta contains spaces...
It seems to be a convention to start all post metas with an underscore and separate each word by an underscore, too...
parent 621448ee
......@@ -31,7 +31,7 @@ if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', g
if (!class_exists("OpenToolsOrdernumbers")) {
class OpenToolsOrdernumbers {
public $ordernumber_meta = "Order Number";
public $ordernumber_meta = "_order_number";
* Construct the plugin object
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment