ronalfy / reorder-posts

Reorder Posts
GNU General Public License v2.0
6 stars 0 forks source link

Two posts with menu_order 0 #30

Closed alana314 closed 4 years ago

alana314 commented 7 years ago

In our wordpress install we had two posts that would randomly switch places. I echoed out $post->menu_order and both were set to 0. Dragging the posts in the plugin fixed this, but I'm wondering how this could have happened in the first place? Recently upgraded to 4.7.1.

ronalfy commented 7 years ago

This should only happen if a post is created. By default, the order is zero. On Wed, Feb 15, 2017 at 13:29 jordan314 notifications@github.com wrote:

In our wordpress install we had two posts that would randomly switch places. I echoed out $post->menu_order and both were set to 0. Dragging the posts in the plugin fixed this, but I'm wondering how this could have happened in the first place? Recently upgraded to 4.7.1.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ronalfy/reorder-posts/issues/30, or mute the thread https://github.com/notifications/unsubscribe-auth/AAm2aYMgQ-i_5gJdLOUWkI2ynqXO4pCIks5rc1I3gaJpZM4MCJNN .