All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.


Author Topic: Error in wp-admin panel?  (Read 3525 times)

0 Members and 1 Guest are viewing this topic.

Offline Aldo

  • Jr. Member
  • **
  • Posts: 79
  • Ubuntu lover
    • View Profile
Error in wp-admin panel?
« on: 12 December 2008, 09:14 »
Hi there!  :)

In my wp-admin/edit-comments.php I see this:
 
Free Image Hosting by ImageBam.com
"Oggi" means "Today" and "Ieri" means "Yesterday". The underlined words would display the time (hourse, minutes and seconds), instead of the date (today, yesterday).

If I deactivate the plugin, the time is correctly displayed. Why this?
To get the full value of the knowledge we need to share it with someone.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Error in wp-admin panel?
« Reply #1 on: 12 December 2008, 09:36 »
I manage to reproduce this but unfortunately I can't really fix it as WP uses comment_date to display the comment time as well. I have no idea whether can the relative date be disabled in the admin panel.

On wp-relativedate.php,

Find:
Code: [Select]
function relative_comment_date($current_dateformat, $display_ago_only = 0) {Add below if:
Code: [Select]
if(is_admin()) { return; }
It is untested. If it does not work, I will try to solve it next year when I get back from my holidays

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Aldo

  • Jr. Member
  • **
  • Posts: 79
  • Ubuntu lover
    • View Profile
Re: Error in wp-admin panel?
« Reply #2 on: 12 December 2008, 09:40 »
Thank you, Lester... and Happy Holidays!!  :D
To get the full value of the knowledge we need to share it with someone.