Making WordPress.org


Ignore:
Timestamp:
10/29/2024 02:31:15 AM (16 months ago)
Author:
dd32
Message:

Plugin Directory: Standardise on the data exposed for closed plugins.

See #7057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-plugin.php

    r13645 r14152  
    6262                'description' => $close_text,
    6363                'closed'      => true,
    64                 'closed_date' => $close_data['date'] ?: false,
     64                'closed_date' => $close_data['date'] ? gmdate( 'Y-m-d', strtotime( $close_data['date'] ) ) : false,
    6565                'reason'      => $close_data['public'] ? $close_data['reason'] : false,
    6666                'reason_text' => $close_data['public'] ? $close_data['label'] : false,
Note: See TracChangeset for help on using the changeset viewer.