display WP Links in the tinymce insert link dialog
|Reported by:||nohalfpixels||Owned by:|
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:
- add the links as part of the core.
- add a filter to allow plugins to alter the get posts query for this dialog.
the function is located here:
and it is wp_link_query($args);
i propose adding additional args to the function to allow links to be included.