Make WordPress Core

Changeset 28629


Ignore:
Timestamp:
05/30/2014 04:58:36 PM (11 years ago)
Author:
wonderboymusic
Message:

Remove some dead variable assignments.

See #27882.

Location:
trunk/src/wp-admin/includes
Files:
5 edited

Legend:

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

    r28500 r28629  
    520520    }
    521521
    522     public function column_date( $comment ) {
     522    public function column_date() {
    523523        return get_comment_date( __( 'Y/m/d \a\t g:ia' ) );
    524524    }
    525525
    526     public function column_response( $comment ) {
     526    public function column_response() {
    527527        $post = get_post();
    528528
  • trunk/src/wp-admin/includes/class-wp-importer.php

    r28492 r28629  
    197197     * Bump up the request timeout for http requests
    198198     *
    199      * @param int $val
    200199     * @return int
    201200     */
    202     public function bump_request_timeout( $val ) {
     201    public function bump_request_timeout() {
    203202        return 60;
    204203    }
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r28493 r28629  
    270270        $posts_columns['title'] = _x( 'Title', 'column name' );
    271271
    272         if ( post_type_supports( $post_type, 'author' ) )
     272        if ( post_type_supports( $post_type, 'author' ) ) {
    273273            $posts_columns['author'] = __( 'Author' );
    274 
    275         $taxonomies = array();
     274        }
    276275
    277276        $taxonomies = get_object_taxonomies( $post_type, 'objects' );
  • trunk/src/wp-admin/includes/class-wp-terms-list-table.php

    r28493 r28629  
    190190                $this->single_row( $term );
    191191            }
    192             $count = $number; // Only displaying a single page.
    193192        }
    194193    }
  • trunk/src/wp-admin/includes/class-wp-upgrader.php

    r28537 r28629  
    19201920     */
    19211921    protected function send_core_update_notification_email( $item ) {
    1922         $notify   = true;
    19231922        $notified = get_site_option( 'auto_core_update_notified' );
    19241923
Note: See TracChangeset for help on using the changeset viewer.