[wp-hackers] AJAX in plugins and public pages
scribu
scribu at gmail.com
Sun Feb 22 03:07:18 GMT 2009
On Sun, Feb 22, 2009 at 4:52 AM, Heiko Rabe <heiko.rabe at code-styling.de>wrote:
> Yes, there is a lack of supporting ajax calls out of frontend pages without
> calling plugin folder hosted files.
> But i think, it should not be done by patching admin-ajax.php !
> In my opinion this should be handled like comments are, provide a file
> wp-ajax-post.php that handles such public ajax requests.
> This would also required new actions to be designed the plugin writers can
> hook onto.
> In summary this is a reasonable idea and should definitely be introduced to
> avoid tons of plugins having their own php pages therefor.
> With a standard way processing frontend ajax calls based on an action
> related interface this would improve also safety of WordPress a bit.
>
> regards
>
+1 on that. A lot of themes could also benefit from this.
--
http://scribu.net
More information about the wp-hackers
mailing list