Support » Plugin: Shortcodes Pro » No buttons for Authors

Viewing 3 replies - 1 through 3 (of 3 total)
  • it seems like while logged-in as an author WP isn’t able to load shortcode-pro tinyMce plugins … editor looks for them in the wrong place (dafault TinyMce plugins location) giving back a 404 and this breaks everything. But why?
    I’m still inspecting…

    Nikho

    (@nikho)

    Ok solved again!
    In class-shortcodepro-main.php around line 57-59 you’ll find:

    if ( current_user_can( 'edit_posts' ) &&
    current_user_can( 'edit_pages' ) &&
    get_user_option( 'rich_editing' ) == 'true' ) {

    But Authors cannot edit_pages so removing the second line solve the problem:

    if ( current_user_can( 'edit_posts' ) &&
    get_user_option( 'rich_editing' ) == 'true' ) {

    Thanks Nikho this mod work for me!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No buttons for Authors’ is closed to new replies.