Fix QE colspan in ie6/7, fixes #8262
git-svn-id: https://develop.svn.wordpress.org/trunk@9969 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8bc6952610
commit
72f4d14f13
@ -302,7 +302,7 @@ if ( $page_links )
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
inline_edit_term_row('category');
|
inline_edit_term_row('categories');
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -234,5 +234,5 @@ if ( $page_links )
|
|||||||
/* ]]> */
|
/* ]]> */
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<?php inline_edit_term_row('link-category'); ?>
|
<?php inline_edit_term_row('edit-link-categories'); ?>
|
||||||
<?php include('admin-footer.php'); ?>
|
<?php include('admin-footer.php'); ?>
|
||||||
|
@ -292,7 +292,7 @@ else
|
|||||||
/* ]]> */
|
/* ]]> */
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<?php inline_edit_term_row('tag'); ?>
|
<?php inline_edit_term_row('edit-tags'); ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
break;
|
break;
|
||||||
|
@ -203,8 +203,8 @@ function inline_edit_term_row($type) {
|
|||||||
if ( ! current_user_can( 'manage_categories' ) )
|
if ( ! current_user_can( 'manage_categories' ) )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
$is_tag = $type == 'tag';
|
$is_tag = $type == 'edit-tags';
|
||||||
$columns = $is_tag ? get_column_headers('tag') : get_column_headers('category');
|
$columns = get_column_headers($type);
|
||||||
$hidden = array_intersect( array_keys( $columns ), array_filter( get_hidden_columns($type) ) );
|
$hidden = array_intersect( array_keys( $columns ), array_filter( get_hidden_columns($type) ) );
|
||||||
$col_count = count($columns) - count($hidden);
|
$col_count = count($columns) - count($hidden);
|
||||||
?>
|
?>
|
||||||
@ -922,13 +922,16 @@ function inline_edit_row( $type ) {
|
|||||||
global $current_user, $mode;
|
global $current_user, $mode;
|
||||||
|
|
||||||
$is_page = 'page' == $type;
|
$is_page = 'page' == $type;
|
||||||
if ( $is_page )
|
if ( $is_page ) {
|
||||||
|
$screen = 'edit';
|
||||||
$post = get_default_page_to_edit();
|
$post = get_default_page_to_edit();
|
||||||
else
|
} else {
|
||||||
|
$screen = 'edit-pages';
|
||||||
$post = get_default_post_to_edit();
|
$post = get_default_post_to_edit();
|
||||||
|
}
|
||||||
|
|
||||||
$columns = $is_page ? wp_manage_pages_columns() : wp_manage_posts_columns();
|
$columns = $is_page ? wp_manage_pages_columns() : wp_manage_posts_columns();
|
||||||
$hidden = array_intersect( array_keys( $columns ), array_filter( get_hidden_columns($type) ) );
|
$hidden = array_intersect( array_keys( $columns ), array_filter( get_hidden_columns($screen) ) );
|
||||||
$col_count = count($columns) - count($hidden);
|
$col_count = count($columns) - count($hidden);
|
||||||
$m = ( isset($mode) && 'excerpt' == $mode ) ? 'excerpt' : 'list';
|
$m = ( isset($mode) && 'excerpt' == $mode ) ? 'excerpt' : 'list';
|
||||||
$can_publish = current_user_can("publish_{$type}s");
|
$can_publish = current_user_can("publish_{$type}s");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user