[wp-trac] [WordPress Trac] #40436: Custom taxonomy terms order lost under wp-admin/post.php edit action for a custom post type
WordPress Trac
noreply at wordpress.org
Tue Mar 26 21:01:48 UTC 2019
#40436: Custom taxonomy terms order lost under wp-admin/post.php edit action for a
custom post type
--------------------------------------+------------------------------
Reporter: solo14000 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: administration
--------------------------------------+------------------------------
Comment (by GunGeekATX):
Ran into what's probably the same issue today, setting the term order,
then calling wp_update_post is resetting the order to alphabetical.
Sample code and output:
[https://gist.github.com/petenelson/7feef670cf03d87376620adc3ee31861]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40436#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list