WordPress.org

Make WordPress Core

Changeset 21903


Ignore:
Timestamp:
09/18/12 23:06:22 (3 years ago)
Author:
nacin
Message:

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

Location:
trunk/wp-admin/network
Files:
2 edited

Legend:

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

    r21198 r21903  
    173173 
    174174<form method="post" action="site-themes.php?action=update-site"> 
    175     <?php wp_nonce_field( 'edit-site' ); ?> 
    176175    <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 
    177176 
  • 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.