Support » Plugin: Simple Comment Editing » Edit link only appears for admin

  • Hello! Great plugin, but unfortunately, the edit link and time counter only appear for me when I am logged on as admin. When simple subscribers / users log on, they are not able to edit their comments. Is the “edit” link being hooked into another WordPress function? Do you have any idea how to fix this? Thank you, Juliane

    • This topic was modified 2 years, 3 months ago by  germantogo.
Viewing 6 replies - 1 through 6 (of 6 total)
  • JJNW

    (@jjnw)

    Same here. Following.

    Plugin Author Ronald Huereca

    (@ronalfy)

    My apologies. This fell off my radar.

    Can you please provide an appropriate post where I can leave several test comments?

    JJNW

    (@jjnw)

    Hi! Thanks for answering! I am using localhost for development. Sorry. But yeah, my default user role is Author and its not working. Only if I knew of some code in functions php to give the role Author capabilities to edit their own comment. Any suggestions would be very coolio.

    THANKS!

    Plugin Author Ronald Huereca

    (@ronalfy)

    @jjnw

    Weird. This plugin doesn’t care about roles.

    Can you follow me on Twitter so I can DM you? @ronalfy

    JJNW

    (@jjnw)

    So you can Dungeon Master me? Oh, I haven’t played that game in ages LOL I don’t do Twitter, or Facebook, etc. Sorry. It’s okay, maybe in the future I will implement it. But thank you for answering! But yeah, if you are curious, when the user comments, you don’t see Edit button, for example, and instead if you open up source on web page it shows display:none, from ‘//Edit Button
    $sce_content .= ‘<div class=”sce-edit-button” style=”display:none;”>’;
    $ajax_edit_url = add_query_arg( array( ‘cid’ => $comment_id, ‘pid’ => $post_id ) , wp_nonce_url( admin_url( ‘admin-ajax.php’, $this->scheme ), ‘sce-edit-comment’ . $comment_id ) );`

    Hope that is an indicator to help you come to a resolution 😉

    Plugin Author Ronald Huereca

    (@ronalfy)

    Sorry, that’s not very helpful. I need a way to duplicate the problem reliably, otherwise it’s really not worth investigating further.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Edit link only appears for admin’ is closed to new replies.