Support » Plugin: WP User Frontend » [Plugin: WP User Frontend] Users Can't Delete

  • Hi again Tareq

    Seperate issue so I am making a seperate post.

    It appears as if the “Delete” function in the “Dashboard” also does not work properly. It comes up with a message that this user is not the author of the post even though they are,..

    Love that the feature image is now shown in the post list. It makes it so much easier for site users. Thanks for that.

    http://wordpress.org/extend/plugins/wp-user-frontend/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have exactly the same problem. I have enabeld the option to allow users to delete their posts in the dashboard.

    Thanks

    http://wordpress.org/extend/plugins/wp-user-frontend/

    Hi,

    please add global $userdata;
    right under function delete_post() (line 230) in wpuf-dashboard.php. Looks like the function didn’t have access to the info about users.

    e.i.

    function delete_post() {
    global $userdata;

    $nonce = $_REQUEST[‘_wpnonce’];
    if ( !wp_verify_nonce( $nonce, ‘wpuf_del’ ) ) {
    die( “Security check” );
    }

    Awesome catch you all. I just encountered this problem and was wondering. thanks! And, great plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP User Frontend] Users Can't Delete’ is closed to new replies.