Changeset 6228 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-status-transitions.php
- Timestamp:
- 12/04/2017 02:49:44 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-status-transitions.php
r6223 r6228 302 302 */ 303 303 public function clean_closed_date( $post_id ) { 304 delete_post_meta( $post_id, ' plugin_closed_date' );304 delete_post_meta( $post_id, '_close_date' ); 305 305 delete_post_meta( $post_id, '_close_reason' ); 306 306 } … … 323 323 324 324 update_post_meta( $post_id, '_close_reason', $close_reason ); 325 update_post_meta( $post_id, ' plugin_closed_date', current_time( 'mysql' ) );325 update_post_meta( $post_id, '_close_date', current_time( 'mysql' ) ); 326 326 327 327 $this->audit_log( sprintf( 'Plugin closed for: %s', $close_reason ), $post_id );
Note: See TracChangeset
for help on using the changeset viewer.