Make WordPress Core


Ignore:
Timestamp:
03/06/2006 08:19:41 AM (18 years ago)
Author:
ryan
Message:

Add referer checks. Props masquerade.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/post.php

    r3571 r3618  
    2424switch($action) {
    2525case 'post':
    26 
     26    check_admin_referer();
     27   
    2728    $post_ID = write_post();
    2829
     
    9394
    9495case 'editpost':
     96    check_admin_referer();
     97   
    9598    $post_ID = edit_post();
    9699
Note: See TracChangeset for help on using the changeset viewer.