WordPress.org

Ready to get started?Download WordPress

Forums

WP User Frontend
impossible to delete pending posts (1 post)

  1. funworks
    Member
    Posted 2 years ago #

    Hi,

    I experimented an unusual problem : when I wanted to delete a pending post created with wp_userfrontend, WordPress told me that a was cheating because I was not de owner of the post...

    After looking for the source code (file wpuf_dashboard.php, line 231), I saw that $userdata was called but unavailable in the context. I just added "global $userdata;" in the begining of the function an then all was ok.

    Hope it will help,
    Thank you for your great job :)

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic