wp-cli / entity-command

Manage WordPress comments, menus, options, posts, sites, terms, and users.
MIT License
100 stars 90 forks source link

Order in application password listing #476

Closed ernilambar closed 7 months ago

ernilambar commented 8 months ago

Theoretically output of wp user application-password list admin --fields=uuid --format=csv --orderby=created --order=desc and wp user application-password list admin --fields=uuid --format=csv should be same all the time. But not sure why this is not true in all matrix.

@swissspidy @danielbachhuber

ernilambar commented 7 months ago

After some digging I found out that, it is pretty rare edge case. In our test we have created two application passwords sequentially. Both got same value for created column. So, ordering of application passwords became fickle.