Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#9287 closed task (blessed) (invalid)

Need API function to verify authorization/intention of post/page saves for plugin use.

Reported by: markjaquith Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.8
Component: Plugins Keywords:
Focuses: Cc:


We should have an API function to do this:


Something like post_was_saved_from_admin(). Lot of redundant code to do that in every plugin.

Change History (2)

#1 @Denis-de-Bernardy
11 years ago

  • Resolution set to invalid
  • Status changed from new to closed

ues save_post, rather than edit_post. edit_post means just that: post was edited... it gets fired when a comment is added or removed, among other things.

#2 @Denis-de-Bernardy
11 years ago

  • Milestone 2.8 deleted
Note: See TracTickets for help on using tickets.