WordPress.org

Forums

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

  1. Aurélien Chirot
    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

  • WP User Frontend
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by Aurélien Chirot
  • This topic is not resolved
  • WordPress version: 3.4.1