[wp-hackers] recent comments

Ying Zhang meow at regretless.com
Tue Aug 17 20:58:13 UTC 2004


acutally that wasn't the problem. $post is not meant to be global. it
was a stupid syntax error.

instead of doing
'#comment-"'.$post->comment_ID.'>'

i should have done
'#comments-'.$post->comment_ID.'">'


those alternating quotes really confuse the heck out of me. that's why i
always just stick with " and use \.. 
unless i'm hacking someone else's code..... @_@

thanks for the help


On Tue, 17 Aug 2004 14:07:58 -0600, "Alex King" <alex at alexking.org>
said:
> I don't see you declaring $post as global...
> 
> --Alex
> 
> http://www.alexking.org/
> 
> 
> On Aug 17, 2004, at 2:04 PM, Ying Zhang wrote:
> 
> >
> > the funny thing is $post->comment_ID is an empty variable.. why is
> > that??
> 
> 
> _______________________________________________
> hackers mailing list
> hackers at wordpress.org
> http://wordpress.org/mailman/listinfo/hackers_wordpress.org
-- 
http://regretless.com




More information about the hackers mailing list