Draggable dash, first cut. Props mdawaffe. see #7552

git-svn-id: https://develop.svn.wordpress.org/trunk@9103 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-10-08 23:32:34 +00:00
parent 8ec0862e2a
commit 638a41bf49
25 changed files with 462 additions and 787 deletions
+2
View File
@@ -819,6 +819,8 @@ function wp_edit_attachments_query( $q = false ) {
* @return unknown
*/
function postbox_classes( $id, $page ) {
if ( isset( $_GET['edit'] ) && $_GET['edit'] == $id )
return '';
$current_user = wp_get_current_user();
if ( $closed = get_usermeta( $current_user->ID, 'closedpostboxes_'.$page ) ) {
if ( !is_array( $closed ) ) return '';