Changeset 10123 for trunk/wp-admin/menu-header.php
- Timestamp:
- 12/08/2008 03:46:26 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu-header.php
r9784 r10123 58 58 $class = $class ? ' class="' . join( ' ', $class ) . '"' : ''; 59 59 $tabindex = ' tabindex="1"'; 60 $id = isset($item[5]) && ! empty($item[5]) ? ' id="' . $item[5]. '"' : '';60 $id = isset($item[5]) && ! empty($item[5]) ? ' id="' . preg_replace( '|[^a-zA-Z0-9_:.]|', '-', $item[5] ) . '"' : ''; 61 61 $img = ''; 62 62 if ( isset($item[6]) && ! empty($item[6]) ) {
Note: See TracChangeset
for help on using the changeset viewer.