[wp-trac] [WordPress Trac] #25874: Missing parenthesis in get_bookmarks is breaking Links

WordPress Trac noreply at wordpress.org
Thu Nov 7 22:33:10 UTC 2013


#25874: Missing parenthesis in get_bookmarks is breaking Links
--------------------------+-----------------------------
 Reporter:  batmoo        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  blocker       |   Keywords:
--------------------------+-----------------------------
 r25934 introduce a bug in {{{get_bookmarks}}} because it's missing
 paranthesis around the cache check:

 {{{
 if ( is_array($cache) && isset( $cache[ $key ] ) )
 }}}

 We end up doing an early return because the apply_filters call isn't
 contained within the parenthesis.

 This is causing the Links section to break.

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


More information about the wp-trac mailing list