[wp-hackers] Re: User-Agent string patch

Otto otto at ottodestruct.com
Wed Sep 26 22:03:38 GMT 2007


I added a patch to your patch to add the filter you were looking for. :)


On 9/26/07, Christian Höltje <docwhat+list.wp.hackers at gerf.org> wrote:
> * Stephen Rider (wp-hackers at striderweb.com) [070926 13:37]:
> > Joe Average isn't going to have any clue what that means.
> >
> > That's why I suggested hooks -- exactly the kind of thing that should
> > be a plugin.  If I want to send it with modified User-Agent, I can
> > install the (most likely soon-to-be-programmed) "Custom User-Agent"
> > plugin, and then turn "Check Updates" back on in WP Options.
>
> I created the start of a patch at:
> http://trac.wordpress.org/ticket/5065
>
> Can you help me out with the hooks?  I pushed all the User-Agent
> strings into a single function, wp_user_agent().
>
> Now I need hooks so that a plugin can modify the User-Agent (empty
> user agents are problematic).
>
> Pointers, examples or suggestions are desired.
>
> Ciao!
>
> --
> "I wonder if other dogs think poodles are members of a weird religious
> cult."
>        -- Rita Rudner
>
> The Doctor What: <fill in the blank>             http://docwhat.gerf.org/
> docwhat *at* gerf *dot* org                                        KF6VNC
> _______________________________________________
> 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