[wp-trac] [WordPress Trac] #24057: wp_list_bookmarks links target=""

WordPress Trac noreply at wordpress.org
Mon Apr 15 23:41:23 UTC 2013


#24057: wp_list_bookmarks links target=""
-------------------------------+------------------------------
 Reporter:  moscar09           |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  3.5.1
 Severity:  minor              |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => reporter-feedback


Comment:

 Could not reproduce neither in 3.5.1 nor in 3.6-beta1.

 This is what I see in HTML with the default Links widget:
 {{{
 <li><a href="http://wordpress.org/development/">Development Blog</a></li>
 <li><a href="http://codex.wordpress.org/">Documentation</a></li>
 <li><a href="http://wordpress.org/extend/plugins/">Plugins</a></li>
 <li><a href="http://wordpress.org/extend/ideas/">Suggest Ideas</a></li>
 <li><a href="http://wordpress.org/support/">Support Forum</a></li>
 <li><a href="http://wordpress.org/extend/themes/">Themes</a></li>
 <li><a href="http://planet.wordpress.org/">WordPress Planet</a></li>
 }}}

 In the Target meta box, `_none` option corresponds to an empty value:
 [[BR]]
 http://core.trac.wordpress.org/browser/tags/3.5.1/wp-admin/includes/meta-
 boxes.php#L779

 In `_walk_bookmarks()`, `target` attribute is only added if it's not
 empty: [[BR]]
 http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/bookmark-
 template.php#L94

 Your theme or some plugin is probably hooking into `wp_list_bookmarks`
 filter to change the output.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24057#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list