Make WordPress Core


Ignore:
Timestamp:
09/18/2012 11:06:22 PM (12 years ago)
Author:
nacin
Message:

Remove unused edit-site nonce fields from site-users and site-themes. props jeremyfelt, fixes #21277.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/site-users.php

    r21854 r21903  
    239239<?php $wp_list_table->views(); ?>
    240240
    241 <form method="post" action="site-users.php?action=update-site" class="site-users">
    242     <?php wp_nonce_field( 'edit-site' ); ?>
     241<form method="post" action="site-users.php?action=update-site">
    243242    <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />
    244243
     
    252251<h3 id="add-existing-user"><?php _e( 'Add Existing User' ); ?></h3>
    253252<form action="site-users.php?action=adduser" id="adduser" method="post">
    254     <?php wp_nonce_field( 'edit-site' ); ?>
    255253    <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />
    256254    <table class="form-table">
     
    280278<h3 id="add-new-user"><?php _e( 'Add New User' ); ?></h3>
    281279<form action="<?php echo network_admin_url('site-users.php?action=newuser'); ?>" id="newuser" method="post">
    282     <?php wp_nonce_field( 'edit-site' ); ?>
    283280    <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />
    284281    <table class="form-table">
Note: See TracChangeset for help on using the changeset viewer.