[wp-trac] [WordPress Trac] #20087: Bug in /wp-includes/nav-menu.php

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 20 20:42:39 UTC 2012


#20087: Bug in /wp-includes/nav-menu.php
--------------------------+-----------------------------
 Reporter:  shopandstore  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 hello.
 updated to 3.31
 In my dashboard, while clicking to the Appearence> menus> there appears an
 error, that the function wp_trim_words is unknown;
 the opened the nav-menu.php and saw these:


 {{{
 if ( empty( $menu_item->description ) )
 $menu_item->description = apply_filters( 'nav_menu_description',
 wp_trim_words( $menu_item->post_content, 200 ) );
 }}}


 ### it seemed to me something unknown, then i simply added the following


 ''''''{''''''   $menu_item->description = apply_filte.........content, 200
 ) );   ''''''}''''''

 }}}

 and error was corrected.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20087>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list