Making WordPress.org


Ignore:
Timestamp:
01/28/2019 07:45:42 PM (8 years ago)
Author:
ocean90
Message:

Translate: Use the ts field for timestamps in Slack notifications.

Fixes #4057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-plugin-directory/inc/language-pack/class-build-listener.php

    r4016 r8156  
    4343                }
    4444
    45                 $time = date( 'r' );
    46                 $message = "_Time: {$time}_\nLanguage packs for {$args['plugin']} in process...\n";
     45                $timestamp = time();
     46                $message   = '';
    4747
    4848                // Build in a separate process.
     
    6464                        'color'      => '#c32283',
    6565                        'mrkdwn_in'  => [ 'text' ],
     66                        'ts'         => $timestamp,
    6667                ];
    6768                $this->slack( $attachment );
Note: See TracChangeset for help on using the changeset viewer.