[wp-trac] [WordPress Trac] #18042: Need a way to override wp_link_query()

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 28 06:11:27 UTC 2012


#18042: Need a way to override wp_link_query()
-------------------------+------------------------------
 Reporter:  philfreo     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Plugins      |     Version:  3.2
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------
Changes (by bradyvercher):

 * cc: brady@… (added)


Comment:

 A hook would definitely be nice here.

 I developed a plugin a few months ago
 ([http://wordpress.org/extend/plugins/better-internal-link-search/ Better
 Internal Link Search]), without realizing this ticket existed, to modify
 the results and ended up having to filter the AJAX request and recreate a
 bit of `wp_link_query()`. The plugin adds a whole lot of useful features
 and improvements and can be easily extended for anyone that needs this
 functionality right away. If any of it looks useful for core, I'm happy to
 help learn how to contribute.

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


More information about the wp-trac mailing list