Plugin Directory

Changeset 2227197


Ignore:
Timestamp:
01/14/2020 03:05:25 PM (6 years ago)
Author:
nicoandrade
Message:

new version

Location:
wpcheckr/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wpcheckr/trunk/inc/rest-api-endpoints.php

    r2224981 r2227197  
    131131        'rest_url'         => $rest_url,
    132132        'wpcheckr_version' => $wpcheckr_version,
     133        'response_date'    => date( 'c' ),
    133134    );
    134135
    135     return $response;
     136    $rest_response = new WP_REST_Response( $response, 200 );
     137
     138    // Set headers.
     139    $rest_response->set_headers( array( 'Cache-Control' => 'no-cache' ) );
     140
     141    return $rest_response;
    136142
    137143}
  • wpcheckr/trunk/readme.txt

    r2224981 r2227197  
    44Requires at least: 4.6
    55Tested up to: 5.3.2
    6 Stable tag: 1.0.0
     6Stable tag: 1.0.1
    77Requires PHP: 5.6
    88License: GPLv2 or later
     
    4040== Changelog ==
    4141
     42= 1.0.1 =
     43* Added: Response date
     44* Added: new Header no-cache
     45
    4246= 1.0.0 =
    4347* Release
  • wpcheckr/trunk/wpcheckr.php

    r2224981 r2227197  
    44 * Plugin URI: https://github.com/iamtimsmith/wp-trigger-netlify-build
    55 * Description: WPCheckr helps you monitor all your WordPress sites in one place, so you can mantain everything up to date.
    6  * Version: 1.0.0
     6 * Version: 1.0.1
    77 * Author: Quema Labs
    88 * Author URI: https://wpcheckr.com
Note: See TracChangeset for help on using the changeset viewer.