[wp-trac] [WordPress Trac] #21465: Wrong operator in wp-includes/bookmark.php

WordPress Trac wp-trac at lists.automattic.com
Sat Aug 4 07:43:12 UTC 2012


#21465: Wrong operator in wp-includes/bookmark.php
---------------------------+-----------------------------
 Reporter:  carmenDi0xide  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:  3.4.1
 Severity:  minor          |   Keywords:  needs-patch
---------------------------+-----------------------------
 On line 174 wp-includes/bookmark.php

 "if ( $category = get_term_by('name', $category_name,
 ''''link_category'''') ) {"

 should be:

 "if ( $category == get_term_by("

 It would be nice if the reference to 'link_category' (bolded) was not
 there. I'd like to get links that belong to regular category terms without
 having to create duplicates. This was how I accidentally found the error.
 I'm new here so maybe I'm just missing something....but....

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


More information about the wp-trac mailing list