[wp-hackers] Adding an output buffer callback

William Canino william.canino at googlemail.com
Mon Nov 2 07:36:44 UTC 2009


Andrew, that is a tough question because I'm afraid my ga_link() is
all ready in PHP.

Is unobtrusive Javascript better, across the board?

W

2009/11/2 Andrew Nacin <anacin at gwhatchet.com>:
>>
>> I want to improve this by preg_match_replace-ing the whole page output.
>>
>
> The solution to your problem isn't using output buffering to generate a lot
> of obtrusive JavaScript. Have you considered unobtrusive JavaScript? That
> would rather clearly make the most sense here.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list