WordPress.org

Make WordPress Core

Ticket #3404: edit2.patch

File edit2.patch, 735 bytes (added by Viper007Bond, 11 years ago)

Center "Comments" too since it's data is centered

  • wp-admin/edit.php

     
    127127<?php
    128128// define the columns to display, the syntax is 'internal name' => 'display name'
    129129$posts_columns = array(
    130         'id'         => __('ID'),
     130        'id'         => '<div style="text-align: center">' . __('ID') . '</div>',
    131131        'date'       => __('When'),
    132132        'title'      => __('Title'),
    133133        'categories' => __('Categories'),
    134         'comments'   => __('Comments'),
     134        'comments'   => '<div style="text-align: center">' . __('Comments') . '</div>',
    135135        'author'     => __('Author')
    136136);
    137137$posts_columns = apply_filters('manage_posts_columns', $posts_columns);