[wp-hackers] comment author vs post author
BoBB
rjorgy at gmail.com
Fri Dec 3 09:44:20 UTC 2004
I would have to post my comments with that secret email then? I
suppose that could work although I would like something a bit more on
the code level.
On Fri, 03 Dec 2004 04:26:12 -0500, Mark Jaquith
<mark.wordpress at txfx.net> wrote:
> I just designate a secret e-mail address for my own comments and do this:
>
> > <?php
> > if ($comment->comment_author_email == 'my_secret_email at site.com'){
> > // do stuff
> > } ?>
>
> The secret e-mail address acts as a sort of password. Works for me.
>
>
> BoBB wrote:
>
> >Is there any way to verify if the author of a comment is the author of
> >the post? Something like this within the loop
> >
> >if (comment_author() == the_author) {do_this;}
> >
> >
> >
>
>
> _______________________________________________
> hackers mailing list
> hackers at wordpress.org
> http://wordpress.org/mailman/listinfo/hackers_wordpress.org
>
--
/* BoBB
* AIM: Jodokast49 ICQ: 151495596
* Jabber: BoBB at jabber.com
* http://myeurotrip.org
*/
More information about the hackers
mailing list