WordPress.org

Make WordPress Core

Ticket #22086: 22086v5.diff

File 22086v5.diff, 7.6 KB (added by MattyRob, 3 years ago)
  • wp-admin/css/wp-admin.css

     
    540540 
    541541/* .widefat - main style for tables */ 
    542542.widefat { 
     543        border-collapse: separate; 
    543544        border-spacing: 0; 
    544545        width: 100%; 
    545546        clear: both; 
     
    573574 
    574575.widefat td, 
    575576.widefat th { 
     577        border-spacing: 0; 
    576578        border-width: 0 0 1px 0; 
    577579        border-style: solid; 
    578580} 
     
    32363238} 
    32373239 
    32383240#post-status-info { 
     3241        border-collapse: separate; 
    32393242        border-width: 0 1px 1px; 
    32403243        border-style: none solid solid; 
    32413244        width: 100%; 
     
    32463249} 
    32473250 
    32483251#post-status-info td { 
     3252        border-spacing:0; 
    32493253        font-size: 12px; 
    32503254} 
    32513255 
  • wp-admin/edit-form-advanced.php

     
    362362 
    363363<?php wp_editor($post->post_content, 'content', array('dfw' => true, 'tabfocus_elements' => 'insert-media-button,save-post', 'editor_height' => 360) ); ?> 
    364364 
    365 <table id="post-status-info" cellspacing="0"><tbody><tr> 
     365<table id="post-status-info"><tbody><tr> 
    366366        <td id="wp-word-count"><?php printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' ); ?></td> 
    367367        <td class="autosave-info"> 
    368368        <span class="autosave-message">&nbsp;</span> 
  • wp-admin/import.php

     
    7777} else { 
    7878        uasort($importers, create_function('$a, $b', 'return strnatcasecmp($a[0], $b[0]);')); 
    7979?> 
    80 <table class="widefat importers" cellspacing="0"> 
     80<table class="widefat importers"> 
    8181 
    8282<?php 
    8383        $alt = ''; 
  • wp-admin/includes/ajax-actions.php

     
    13791379        global $wp_list_table; 
    13801380 
    13811381        check_ajax_referer( 'taxinlineeditnonce', '_inline_edit' ); 
    1382          
     1382 
    13831383        $post_data = wp_unslash( $_POST ); 
    13841384 
    13851385        $taxonomy = sanitize_key( $post_data['taxonomy'] ); 
     
    14451445        if ( ! $posts ) 
    14461446                wp_die( __('No items found.') ); 
    14471447 
    1448         $html = '<table class="widefat" cellspacing="0"><thead><tr><th class="found-radio"><br /></th><th>'.__('Title').'</th><th class="no-break">'.__('Type').'</th><th class="no-break">'.__('Date').'</th><th class="no-break">'.__('Status').'</th></tr></thead><tbody>'; 
     1448        $html = '<table class="widefat"><thead><tr><th class="found-radio"><br /></th><th>'.__('Title').'</th><th class="no-break">'.__('Type').'</th><th class="no-break">'.__('Date').'</th><th class="no-break">'.__('Status').'</th></tr></thead><tbody>'; 
    14491449        foreach ( $posts as $post ) { 
    14501450                $title = trim( $post->post_title ) ? $post->post_title : __( '(no title)' ); 
    14511451 
     
    20862086                $screen_id = sanitize_key($_POST['screenid']); 
    20872087        else 
    20882088                $screen_id = 'site'; 
    2089          
     2089 
    20902090        if ( ! empty($_POST['data']) ) { 
    20912091                $data = wp_unslash( (array) $_POST['data'] ); 
    20922092                // todo: how much to sanitize and preset and what to leave to be accessed from $data or $_POST..? 
  • wp-admin/includes/class-wp-comments-list-table.php

     
    278278                $this->display_tablenav( 'top' ); 
    279279 
    280280?> 
    281 <table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0"> 
     281<table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>"> 
    282282        <thead> 
    283283        <tr> 
    284284                <?php $this->print_column_headers(); ?> 
     
    551551 
    552552                wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' ); 
    553553?> 
    554 <table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0" style="display:none;"> 
     554<table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" style="display:none;"> 
    555555        <tbody id="the-comment-list"<?php if ( $singular ) echo " data-wp-lists='list:$singular'"; ?>> 
    556556                <?php if ( ! $output_empty ) $this->display_rows_or_placeholder(); ?> 
    557557        </tbody> 
  • wp-admin/includes/class-wp-list-table.php

     
    719719                $this->display_tablenav( 'top' ); 
    720720 
    721721?> 
    722 <table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0"> 
     722<table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>"> 
    723723        <thead> 
    724724        <tr> 
    725725                <?php $this->print_column_headers(); ?> 
  • wp-admin/includes/media.php

     
    18221822<form enctype="multipart/form-data" method="post" action="<?php echo esc_attr($form_action_url); ?>" class="<?php echo $form_class; ?>" id="gallery-form"> 
    18231823<?php wp_nonce_field('media-form'); ?> 
    18241824<?php //media_upload_form( $errors ); ?> 
    1825 <table class="widefat" cellspacing="0"> 
     1825<table class="widefat"> 
    18261826<thead><tr> 
    18271827<th><?php _e('Media'); ?></th> 
    18281828<th class="order-head"><?php _e('Order'); ?></th> 
  • wp-admin/includes/meta-boxes.php

     
    823823 */ 
    824824function link_xfn_meta_box($link) { 
    825825?> 
    826 <table class="links-table" cellspacing="0"> 
     826<table class="links-table"> 
    827827        <tr> 
    828828                <th scope="row"><label for="link_rel"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('rel:') ?></label></th> 
    829829                <td><input type="text" name="link_rel" id="link_rel" value="<?php echo ( isset( $link->link_rel ) ? esc_attr($link->link_rel) : ''); ?>" /></td> 
  • wp-admin/update-core.php

     
    191191<form method="post" action="<?php echo $form_action; ?>" name="upgrade-plugins" class="upgrade"> 
    192192<?php wp_nonce_field('upgrade-core'); ?> 
    193193<p><input id="upgrade-plugins" class="button" type="submit" value="<?php esc_attr_e('Update Plugins'); ?>" name="upgrade" /></p> 
    194 <table class="widefat" cellspacing="0" id="update-plugins-table"> 
     194<table class="widefat" id="update-plugins-table"> 
    195195        <thead> 
    196196        <tr> 
    197197                <th scope="col" class="manage-column check-column"><input type="checkbox" id="plugins-select-all" /></th> 
     
    269269<form method="post" action="<?php echo $form_action; ?>" name="upgrade-themes" class="upgrade"> 
    270270<?php wp_nonce_field('upgrade-core'); ?> 
    271271<p><input id="upgrade-themes" class="button" type="submit" value="<?php esc_attr_e('Update Themes'); ?>" name="upgrade" /></p> 
    272 <table class="widefat" cellspacing="0" id="update-themes-table"> 
     272<table class="widefat" id="update-themes-table"> 
    273273        <thead> 
    274274        <tr> 
    275275                <th scope="col" class="manage-column check-column"><input type="checkbox" id="themes-select-all" /></th> 
  • wp-includes/post-template.php

     
    14291429 
    14301430<br class="clear" /> 
    14311431 
    1432 <table class="widefat post-revisions" cellspacing="0" id="post-revisions"> 
     1432<table class="widefat post-revisions" id="post-revisions"> 
    14331433        <col /> 
    14341434        <col /> 
    14351435        <col style="width: 33%" />