Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: WordPress plugin integration tips


_ck_
Participant

@_ck_

I’ve been studying to see if there’s anyway via plugins instead of hacking the code for both WP and BB to consolidate the common javascript routines they both use.

Not only do they load half a dozen scripts at certain times, one of them, prototype.js is 50k in size. But they seem to be common for both.

All we would need is choose a common script path.

I guess it’s possible to

remove_action(‘bb_head’, ‘bb_print_scripts’);

and then plugin your own.

But what kills me is bbPress doesn’t need ANY of those scripts except for thinks like deleting posts to forward correctly and the ajax actions.

I really dislike ajax, especially when it’s used where it’s not needed.

Skip to toolbar