mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -960,7 +960,7 @@ function wp_edit_attachments_query( $q = false ) {
|
||||
function postbox_classes( $id, $page ) {
|
||||
if ( isset( $_GET['edit'] ) && $_GET['edit'] == $id )
|
||||
return '';
|
||||
$current_user = wp_get_current_user();
|
||||
|
||||
if ( $closed = get_user_option('closedpostboxes_'.$page ) ) {
|
||||
if ( !is_array( $closed ) ) {
|
||||
return '';
|
||||
|
||||
Reference in New Issue
Block a user