Changeset 13770 for trunk/wp-admin/menu-header.php
- Timestamp:
- 03/19/2010 09:29:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu-header.php
r13579 r13770 55 55 } 56 56 57 if ( isset($item[4]) &&! empty($item[4]) )57 if ( ! empty($item[4]) ) 58 58 $class[] = $item[4]; 59 59 60 60 $class = $class ? ' class="' . join( ' ', $class ) . '"' : ''; 61 61 $tabindex = ' tabindex="1"'; 62 $id = isset($item[5]) &&! empty($item[5]) ? ' id="' . preg_replace( '|[^a-zA-Z0-9_:.]|', '-', $item[5] ) . '"' : '';62 $id = ! empty($item[5]) ? ' id="' . preg_replace( '|[^a-zA-Z0-9_:.]|', '-', $item[5] ) . '"' : ''; 63 63 $img = ''; 64 if ( isset($item[6]) &&! empty($item[6]) ) {64 if ( ! empty($item[6]) ) { 65 65 if ( 'div' === $item[6] ) 66 66 $img = '<br />';
Note: See TracChangeset
for help on using the changeset viewer.