WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/29/2011 08:05:12 PM (9 years ago)
Author:
ryan
Message:

Constructor cleanup. Props ocean90. fixes #16768

File:
1 edited

Legend:

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

    r17349 r17771  
    1010class WP_Media_List_Table extends WP_List_Table {
    1111
    12     function WP_Media_List_Table() {
     12    function __construct() {
    1313        $this->detached = isset( $_REQUEST['detached'] ) || isset( $_REQUEST['find_detached'] );
    1414
    15         parent::WP_List_Table( array(
     15        parent::__construct( array(
    1616            'plural' => 'media'
    1717        ) );
Note: See TracChangeset for help on using the changeset viewer.