Wrong sorting
-
The sorting provided by the plugin is wrong if “menu_order” is choosen.
Main reason: the sorting is provided by an (ugly??) create_function() call where string/number conversion wrongly evaluates numeric fields.The usage of create_function is discouraged since PHP version 5.3
Why the the default WP get_posts() is not used? it already supports sorting!
My edits are visible in the following Github-Gist:
https://gist.github.com/thePanz/7827158/revisions
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Wrong sorting’ is closed to new replies.