Changeset 36859 for trunk/src/wp-includes/nav-menu.php
- Timestamp:
- 03/05/2016 10:56:31 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/nav-menu.php
r36709 r36859 768 768 769 769 $menu_item->type_label = __( 'Post Type Archive' ); 770 $menu_item->description = ''; 770 $post_content = wp_trim_words( $menu_item->post_content, 200 ); 771 $post_type_description = '' == $post_content ? $object->description : $post_content; 771 772 $menu_item->url = get_post_type_archive_link( $menu_item->object ); 772 773 } elseif ( 'taxonomy' == $menu_item->type ) {
Note: See TracChangeset
for help on using the changeset viewer.