[wp-meta] [Making WordPress.org] #4237: Rejected plugins show wrong last_updated date

Making WordPress.org noreply at wordpress.org
Wed May 8 23:08:43 UTC 2019


#4237: Rejected plugins show wrong last_updated date
------------------------------+-----------------------
 Reporter:  Ipstenu           |       Owner:  ck3lee
     Type:  defect            |      Status:  assigned
 Priority:  normal            |   Milestone:
Component:  Plugin Directory  |  Resolution:
 Keywords:  has-patch         |
------------------------------+-----------------------

Comment (by Ipstenu):

 What's the reason for having this:

 {{{
 update_post_meta( $post->ID, "last_updated", gmdate( 'Y-m-d H:i:s', time()
 ) );
 }}}

 if you're using time() in this:

 {{{
  update_post_meta( $post->ID, "_{$new_status}", time() );
 }}}

 Seemed odd to have them different?

 Code looks fine to me though.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4237#comment:7>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list