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

  1. Aurélien Chirot
    Posted 3 years ago #


    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 :)


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 3 years ago by Aurélien Chirot
  • This topic is not resolved
  • WordPress version: 3.4.1