[wp-trac] [WordPress Trac] #19718: display WP Links in the tinymce insert link dialog

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 3 15:26:02 UTC 2012


#19718: display WP Links in the tinymce insert link dialog
--------------------------+-----------------------------
 Reporter:  nohalfpixels  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  3.3
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 after much searching i have come to the conclusion that without hacking
 the core there is no way to allow the tinymce popup dialog for inserting
 links to add support for the internal links managmer wordpress provides.

 the dialog currently does an ajax request that simply lists all posts with
 title/date/format/url json encoded.

 but there are no filters to alter this array of posts.

 what i propose is either:

 1. add the links as part of the core.

 2. add a filter to allow plugins to alter the get posts query for this
 dialog.



 the function is located here:

 wp-includes/js/tinymce/wp-mce-link-includes.php



 and it is wp_link_query($args);

 i propose adding additional args to the function to allow links to be
 included.

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


More information about the wp-trac mailing list