Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor can’t order posts anymore #139

Open
beatricelucaci opened this issue Oct 14, 2024 · 1 comment
Open

Editor can’t order posts anymore #139

beatricelucaci opened this issue Oct 14, 2024 · 1 comment

Comments

@beatricelucaci
Copy link

Hi, there is an issue with the latest release of the plugin: Editors are currently unable to save the order of items.

https://wordpress.org/support/topic/editor-cant-order-posts-anymore/

@beatricelucaci
Copy link
Author

more info from our users:

it’s line 332 (which is inside the update_menu_order function) that now does a check to see if user can ‘manage_options’. This is really only an administrator capability and should prob be ‘edit_others_posts’ to allow editors to save the menu order. Note that ‘edit_posts’ is probably too wide a capability.

I guess it’s because this is set

current_user_can('manage_options')
So only admin are allowed.
Here in your code: https://plugins.trac.wordpress.org/browser/simple-custom-post-order/tags/2.5.8/simple-custom-post-order.php#L332

In the previous version of 2.5.7 this was not set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant