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-posts-list-table.php

    r17684 r17771  
    4646    var $sticky_posts_count = 0;
    4747
    48     function WP_Posts_List_Table() {
     48    function __construct() {
    4949        global $post_type_object, $post_type, $wpdb;
    5050
     
    7575        }
    7676
    77         parent::WP_List_Table( array(
     77        parent::__construct( array(
    7878            'plural' => 'posts',
    7979        ) );
Note: See TracChangeset for help on using the changeset viewer.