mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-24 17:21:34 +01:00
Markup fixes for plugins page from DD32. fixes #6383
git-svn-id: http://svn.automattic.com/wordpress/trunk@7515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d25d202e72
commit
7971f0a536
@ -109,7 +109,7 @@ if (empty($plugins)) {
|
|||||||
<th><?php _e('Plugin'); ?></th>
|
<th><?php _e('Plugin'); ?></th>
|
||||||
<th class="num"><?php _e('Version'); ?></th>
|
<th class="num"><?php _e('Version'); ?></th>
|
||||||
<th><?php _e('Description'); ?></th>
|
<th><?php _e('Description'); ?></th>
|
||||||
<th class="action-links" <?php if ( current_user_can('edit_plugins') ) echo ' colspan="2"'; ?>><?php _e('Action'); ?></th>
|
<th class="action-links"><?php _e('Action'); ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody id="plugins">
|
<tbody id="plugins">
|
||||||
@ -149,8 +149,9 @@ if (empty($plugins)) {
|
|||||||
<td class='name'>{$plugin_data['Title']}</td>
|
<td class='name'>{$plugin_data['Title']}</td>
|
||||||
<td class='vers'>{$plugin_data['Version']}</td>
|
<td class='vers'>{$plugin_data['Version']}</td>
|
||||||
<td class='desc'><p>{$plugin_data['Description']}$author</p></td>
|
<td class='desc'><p>{$plugin_data['Description']}$author</p></td>
|
||||||
<td class='togl action-links'>$toggle"; if ( current_user_can('edit_plugins') ) echo "$edit</td>";
|
<td class='togl action-links'>$toggle";
|
||||||
echo"
|
if ( current_user_can('edit_plugins') ) echo $edit;
|
||||||
|
echo "</td>
|
||||||
</tr>";
|
</tr>";
|
||||||
do_action( 'after_plugin_row', $plugin_file );
|
do_action( 'after_plugin_row', $plugin_file );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user