[wp-testers] Comments Awaiting Moderation

Mike mck9235 at gmail.com
Fri Dec 9 16:07:36 GMT 2005


Yep, I'm 13. :P

Wow, the hack is beyond simply, they actually already fetched the variable
for you. :P

OK, open up wp-admin/moderation.php

Find line 148:

> <a href="<?php echo get_permalink($comment->comment_post_ID); ?>"><?php
> _e('View Post') ?></a> |


Change it to:

> <a href="<?php echo get_permalink($comment->comment_post_ID); ?>"><?php
> _e('View Post') ?> - <?=$post_title?></a> |


Heh, you're done, unless I've missed something. :P

On 12/8/05, Matt Didcoe <matt at didcoe.id.au> wrote:
>
>  Wow, There's someone else at school here :D (I've just finished the
> school year J(Australia)).
>
>
>
> I'm going to the cricket but that won't take me long. I'll have a look
> too.
>
>
>
> -----Original Message-----
> *From:* Andy Staines [mailto:andy at yellowswordfish.com]
> *Sent:* Thursday, 8 December 2005 8:32 PM
> *To:* wp-testers at lists.automattic.com
> *Subject:* Re: [wp-testers] Comments Awaiting Moderation
>
>
>
> Home from school!!! ? Now I feel old!
>
>
>
> My SQL is fine but my PHP is still behind the curve. This would be great
> added to the core for that page of course. As you say, it is just one other
> field in the SQL string and one other label to display but it would be SO
> helpful. I find it odd that it was ever missed off in the first place.
>
>
>
> Yes my friend. If your school day has not worn you out and you are able to
> put this into the core then I at least would much appreciate it.
>
>
>
> Thanks
>
>
>
> Andy
>
>
>
>
>
> On 12:10  PM |  Thu 8 Dec 05, at 12:10  PM |  8 Dec 05, Mike wrote:
>
>
>
>  I know it does give the title in the E-mail, and there is a link to the
> post in the moderation area, but I'm sure adding the title somewhere
> wouldn't be a terribly hard hack.
>
> I'm sure if you've got a decent knowledge of PHP, and a bit of MySQL you
> could do this, if you want, I'll look into it a little bit when I get home
> from school. :)
>
> On 12/8/05, *Andy Staines* <andy at yellowswordfish.com> wrote:
>
> It's a small thing and I should have raised this months ago but...
> could we have the Post Title on the Comments Awaiting Moderation
> page? If you have quite a few comments to work through it's not
> always obvious to which post they belong. All we need is a label -
> dont need a link or anything.
>
> Please...?
>
> Andy
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>
>
>
>
> --
> -Mike
>
> _______________________________________________
>
> wp-testers mailing list
>
> wp-testers at lists.automattic.com
>
> http://lists.automattic.com/mailman/listinfo/wp-testers
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 7/12/2005
>
>
> --
> No virus found in this outgoing electronic communication.
> Attachments are to all knowledge virus free
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 7/12/2005
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>
>
>


--
-Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-testers/attachments/20051209/042e2684/attachment.htm


More information about the wp-testers mailing list