[wp-trac] [WordPress Trac] #4881: get_bookmark calls undefined function

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 31 22:23:43 GMT 2007


#4881: get_bookmark calls undefined function
----------------------+-----------------------------------------------------
 Reporter:  filosofo  |       Owner:  anonymous                              
     Type:  defect    |      Status:  new                                    
 Priority:  normal    |   Milestone:  2.3                                    
Component:  General   |     Version:  2.3                                    
 Severity:  normal    |    Keywords:  get_bookmark wp_get_link_cats has-patch
----------------------+-----------------------------------------------------
 get_bookmark, which is defined in wp-includes/bookmarks.php and is
 therefore presumably available to be used outside the admin area, calls
 wp_get_link_cats, which is defined only within the admin area, creating a
 fatal error if called elsewhere.

 My patch just does on one line what wp_get_link_cats does anyways, using
 the taxonomy api.

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


More information about the wp-trac mailing list