[wp-trac] Re: [WordPress Trac] #4051: blogroll not functional for internal links

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 26 21:02:08 GMT 2007


#4051: blogroll not functional for internal links
-----------------------+----------------------------------------------------
 Reporter:  thomask    |        Owner:  rob1n      
     Type:  defect     |       Status:  new        
 Priority:  normal     |    Milestone:  2.3 (trunk)
Component:  General    |      Version:  2.2        
 Severity:  normal     |   Resolution:             
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Changes (by Otto42):

  * keywords:  => has-patch
  * priority:  low => normal
  * severity:  trivial => normal

Comment:

 Attached a patch that will replace the clean_url call in _walk_bookmarks
 with a filter. Also added a default filter to hook that to clean_url. By
 itself, this patch changes nothing. However, it allows plugins to disable
 it entirely (my preference) or to just modify that filter and thus replace
 the $protocols parameter of the call to clean_url. Thus a plugin can add
 allowed protocols and such as well as simply disabling it. Allows for both
 choices.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4051#comment:11>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list