Making WordPress.org

Changeset 10362


Ignore:
Timestamp:
10/12/2020 04:25:43 AM (5 years ago)
Author:
dd32
Message:

Trac: GitHub PRs: Check the right field when determining that the API response cache time should be lower.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/api.wordpress.org/public_html/dotorg/trac/pr/index.php

    r10300 r10362  
    5555        // or unit tests are running, then 2min.
    5656        (
    57             $data->check_runs
     57            $data->data->check_runs
    5858            &&
    59             in_array( 'in_progress', $data->check_runs )
     59            in_array( 'in_progress', $data->data->check_runs )
    6060            &&
    6161            strtotime( $data->last_checked_at ) <= time() - 2*60
Note: See TracChangeset for help on using the changeset viewer.