Ticket #14975: 14975.diff
| File 14975.diff, 815 bytes (added by nacin, 2 years ago) |
|---|
-
wp-admin/includes/nav-menu.php
233 233 $output .= ' add-to-top'; 234 234 } 235 235 $output .= '" name="menu-item[' . $possible_object_id . '][menu-item-object-id]" value="'. esc_attr( $item->object_id ) .'" /> '; 236 $output .= empty( $item->label ) ? esc_html( $item->title ) : esc_html( $item->label ); 236 if ( isset( $item->post_type ) ) 237 $output .= empty( $item->label ) ? esc_html( apply_filters( 'the_title', $item->title, $item->ID ) ) : esc_html( $item->label ); 238 else 239 $output .= empty( $item->label ) ? esc_html( $item->title ) : esc_html( $item->label ); 237 240 $output .= '</label>'; 238 241 239 242 // Menu item hidden fields
