Make WordPress Core


Ignore:
Timestamp:
02/29/2008 05:09:44 PM (17 years ago)
Author:
ryan
Message:

Update deprecated attributes. Props hansengel. fixes #6037

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r7098 r7104  
    5757        <td>$edit</td>
    5858        <td>$category->description</td>
    59         <td align='center'>$posts_count</td>\n\t</tr>\n";
     59        <td style='text-align: center;'>$posts_count</td>\n\t</tr>\n";
    6060
    6161    return apply_filters('cat_row', $output);
     
    8585        "<td>$edit</td>
    8686        <td>$category->description</td>
    87         <td align='center'>$count</td></tr>";
     87        <td style='text-align: center;'>$count</td></tr>";
    8888
    8989    return apply_filters( 'link_cat_row', $output );
     
    723723    $r .= "\n\t\t<td valign='top'><input name='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' size='20' value='{$entry['meta_key']}' /></td>";
    724724    $r .= "\n\t\t<td><textarea name='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>";
    725     $r .= "\n\t\t<td align='center'><input name='updatemeta' type='submit' tabindex='6' value='".attribute_escape(__( 'Update' ))."' class='add:the-list:meta-{$entry['meta_id']} updatemeta' /><br />";
     725    $r .= "\n\t\t<td style='text-align: center;'><input name='updatemeta' type='submit' tabindex='6' value='".attribute_escape(__( 'Update' ))."' class='add:the-list:meta-{$entry['meta_id']} updatemeta' /><br />";
    726726    $r .= "\n\t\t<input name='deletemeta[{$entry['meta_id']}]' type='submit' ";
    727727    $r .= "class='delete:the-list:meta-{$entry['meta_id']} deletemeta' tabindex='6' value='".attribute_escape(__( 'Delete' ))."' />";
     
    750750</tr>
    751751    <tr valign="top">
    752         <td align="right" width="18%">
     752        <td style="text-align: right;" style="width: 18%;">
    753753<?php if ( $keys ) : ?>
    754754<select id="metakeyselect" name="metakeyselect" tabindex="7">
Note: See TracChangeset for help on using the changeset viewer.