Skip to content
Snippets Groups Projects
Commit bed43a48 authored by George Kiagiadakis's avatar George Kiagiadakis
Browse files

wplua: sort properties after transfering them from lua

parent eeccb240
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,10 @@ wplua_table_to_properties (lua_State *L, int idx)
wp_properties_set (p, key, value);
lua_pop (L, 3);
}
/* sort, because the lua table has a random order and it's too messy to read */
wp_properties_sort (p);
return p;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment