Skip to:
Content

bbPress.org


Ignore:
Timestamp:
04/01/2008 08:24:36 AM (18 years ago)
Author:
mdawaffe
Message:

bb_check_ajax_referer() should check nonce, not cookies. Hack JS to make it happen for branches/0.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.8/bb-admin/admin-functions.php

    r1386 r1396  
    581581        <input type="hidden" name="forum_id" value="<?php echo $forum_id; ?>" />
    582582<?php endif; ?>
     583        <?php bb_nonce_field( 'order-forums', 'order-nonce' ); ?>
    583584        <?php bb_nonce_field( "$action-forum" ); ?>
    584 
    585585        <input type="hidden" name="action" value="<?php echo $action; ?>" />
    586586        <input name="Submit" type="submit" value="<?php if ( $forum_id ) _e('Update Forum &#187;'); else _e('Add Forum &#187;'); ?>" tabindex="13" />
Note: See TracChangeset for help on using the changeset viewer.