Ticket #24840: 24840.patch
| File 24840.patch, 728 bytes (added by , 13 years ago) |
|---|
-
wp-admin/includes/nav-menu.php
264 264 if ( property_exists( $item, 'front_or_home' ) && $item->front_or_home ) { 265 265 $title = sprintf( _x( 'Home: %s', 'nav menu front page title' ), $item->post_title ); 266 266 $output .= ' add-to-top'; 267 } else if ( property_exists( $item, 'label' ) ) { 268 $title = $item->label; 267 269 } 268 270 $output .= '" name="menu-item[' . $possible_object_id . '][menu-item-object-id]" value="'. esc_attr( $item->object_id ) .'" /> '; 269 271 $output .= isset( $title ) ? esc_html( $title ) : esc_html( $item->title );