WordPress.org

Ready to get started?Download WordPress

Forums

WP User Frontend
Users Can't Delete (4 posts)

  1. Profusion
    Member
    Posted 2 years ago #

    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/

  2. Josef Ulander
    Member
    Posted 1 year ago #

    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/

  3. Creator2
    Member
    Posted 1 year ago #

    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" );
    }

  4. superNERD77
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.