Make WordPress Core


Ignore:
Timestamp:
01/11/2011 10:42:22 PM (16 years ago)
Author:
nacin
Message:

Add nonces to instances where the list table display() method is overridden. see #16188.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-comments-list-table.php

    r17228 r17262  
    267267                extract( $this->_args );
    268268
     269                wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' );
     270
    269271                $this->display_tablenav( 'top' );
    270272
    … …  
    534536        function display( $output_empty = false ) {
    535537                extract( $this->_args );
     538
     539                wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' );
    536540?>
    537541<table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0" style="display:none;">
Note: See TracChangeset for help on using the changeset viewer.