Make WordPress Core

Changeset 17262


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

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

Location:
trunk/wp-admin/includes
Files:
3 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;">
  • trunk/wp-admin/includes/class-wp-theme-install-list-table.php

    r17090 r17262  
    127127
    128128    function display() {
     129
     130        wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' );
    129131?>
    130132        <div class="tablenav top">
  • trunk/wp-admin/includes/class-wp-themes-list-table.php

    r17090 r17262  
    8585
    8686    function display() {
     87
     88        wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' );
    8789?>
    8890        <div class="tablenav top">
Note: See TracChangeset for help on using the changeset viewer.