Making WordPress.org


Ignore:
Timestamp:
12/04/2017 03:18:15 PM (7 years ago)
Author:
Otto42
Message:

Plugins: revert [6228]. This information is a different format than the previous meta used, and should also not be a hidden value. See #2860

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-status-transitions.php

    r6228 r6229  
    302302     */
    303303    public function clean_closed_date( $post_id ) {
    304         delete_post_meta( $post_id, '_close_date' );
     304        delete_post_meta( $post_id, 'plugin_closed_date' );
    305305        delete_post_meta( $post_id, '_close_reason' );
    306306    }
     
    323323
    324324        update_post_meta( $post_id, '_close_reason', $close_reason );
    325         update_post_meta( $post_id, '_close_date', current_time( 'mysql' ) );
     325        update_post_meta( $post_id, 'plugin_closed_date', current_time( 'mysql' ) );
    326326
    327327        $this->audit_log( sprintf( 'Plugin closed for: %s', $close_reason ), $post_id );
Note: See TracChangeset for help on using the changeset viewer.