WordPress.org

Make WordPress Core

Changeset 15629


Ignore:
Timestamp:
09/18/2010 05:21:32 PM (9 years ago)
Author:
scribu
Message:

Extra single_row_columns() out of single_row() for increased flexibility. See #14579

File:
1 edited

Legend:

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

    r15622 r15629  
    716716
    717717        echo '<tr' . $row_class . '>';
    718 
     718        echo $this->single_row_columns( $item );
     719        echo '</tr>';
     720    }
     721
     722    /**
     723     * Generates the columns for a single row of the table
     724     *
     725     * @since 3.1.0
     726     * @access protected
     727     *
     728     * @param $object $item The current item
     729     */
     730    function single_row_columns( $item ) {
    719731        list( $columns, $hidden ) = $this->get_column_headers();
    720732
     
    744756            }
    745757        }
    746 
    747         echo '</tr>';
    748758    }
    749759
Note: See TracChangeset for help on using the changeset viewer.