Archived
Fixes promo period permissions
This commit is contained in:
1 parent
52602a7e7c
commit
2f995e5ee2
1 file changed
+1
-1
@@ -104,7 +104,7 @@ function neuf_event_details() {
|
||||
<div class="misc-pub-section misc-pub-section-last">
|
||||
<?php
|
||||
/* Only editor or superior can set the promo period */
|
||||
if ( current_user_can('editor') ) {
|
||||
if ( current_user_can('edit_others_posts') ) {
|
||||
neuf_event_promoperiod();
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in new issue
Block a user