Make WordPress Core

Changeset 3619


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

Add referer checks. Props masquerade.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-admin/post.php

    r3473 r3619  
    3131switch($action) {
    3232case 'post':
    33 
     33    check_admin_referer();
     34   
    3435    $post_ID = write_post();
    3536
     
    103104
    104105case 'editpost':
     106    check_admin_referer();
     107   
    105108    $post_ID = edit_post();
    106109
Note: See TracChangeset for help on using the changeset viewer.