Plugin Directory

Changeset 2368266


Ignore:
Timestamp:
08/25/2020 03:20:39 AM (5 years ago)
Author:
ChrisMKindred
Message:

Deploy version 20.08.01

Location:
usgs-stream-flow-data
Files:
31 added
7 edited

Legend:

Unmodified
Added
Removed
  • usgs-stream-flow-data/trunk/README.txt

    r2172631 r2368266  
    44Tags: USGS, River Flow, Stream Flow, Fly Fishing, Water Level
    55Requires at least: 3.7
    6 Tested up to: 5.3
    7 Stable tag: 2.8
     6Tested up to: 5.5
     7Stable tag: 20.08.01
    88License: GPLv2 or later
    99License URI: //www.gnu.org/licenses/gpl-2.0.html
     
    6666
    6767== Changelog ==
     68
     69= 20.08.01 =
     70Tested plugin up to 5.5.
     71Updated versioning system to CalVer (https://calver.org/).
     72
    6873= 2.8 =
    6974Tested plugin up to 5.3.
  • usgs-stream-flow-data/trunk/admin/class-kwc-usgs-admin.php

    r2172631 r2368266  
    77 * @license    GPL-2.0+
    88 * @link       //www.kindredwebconsulting.com
    9  * @copyright  2015 Kindred Web Consulting
    109 */
    1110
     
    161160        $state = $_POST['state'];
    162161        $url   = "https://waterservices.usgs.gov/nwis/iv?stateCd=$state&format=waterml&parameterCd=00060";
    163         $data  = wp_remote_get( $url );
    164         if ( ! $data ) {
     162        $data  = wp_safe_remote_get( $url );
     163        if ( is_wp_error( $data ) ) {
    165164            echo 'Error retrieving: ' . esc_url( $url );
     165            echo 'Error message:' . $data->get_error_message();
    166166            exit;
    167167        }
  • usgs-stream-flow-data/trunk/admin/views/admin.php

    r2172631 r2368266  
    77 * @license   GPL-2.0+
    88 * @link      //www.kindredwebconsulting.com
    9  * @copyright 2015 Kindred Web Consulting
    109 */
    1110
  • usgs-stream-flow-data/trunk/kwcusgs.php

    r2172631 r2368266  
    77 * @license   GPL-2.0+
    88 * @link      //www.kindredwebconsulting.com
    9  * @copyright 2015 Kindred Web Consulting
    109 *
    1110 * @wordpress-plugin
     
    1312 * Plugin URI:        //wordpress.org/plugins/usgs-stream-flow-data/
    1413 * Description:       USGS Stream Flow Data
    15  * Version:           2.8
     14 * Version:           20.08.01
    1615 * Author:            Chris Kindred
    1716 * Author URI:        //www.kindredwebconsulting.com
  • usgs-stream-flow-data/trunk/public/class-kwc-usgs.php

    r2172631 r2368266  
    77 * @license    GPL-2.0+
    88 * @link       //www.kindredwebconsulting.com
    9  * @copyright  2015 Kindred Web Consulting
    109 */
    1110
     
    1312 * The main class for the plugin
    1413 *
    15  * @package   USGS Steam Flow Data
     14 * @package    USGS Steam Flow Data
    1615 * @subpackage public
    17  * @author    Chris Kindred <[email protected]>
    18  * @license   GPL-2.0+
    19  * @link      //www.kindredwebconsulting.com
    20  * @copyright 2015 Kindred Web Consulting
     16 * @author     Chris Kindred <[email protected]>
     17 * @license    GPL-2.0+
     18 * @link       //www.kindredwebconsulting.com
    2119 */
    2220class Kwc_Usgs {
     
    2826     * @var     string
    2927     */
    30     const VERSION = '2.7.1';
     28    const VERSION = '20.08.01';
    3129
    3230    /**
     
    257255
    258256            if ( is_wp_error( $response ) ) {
    259                 return get_error_message( $response );
     257                return $response->get_error_message();
    260258            }
    261259
     
    347345        $args     = array(
    348346            'sslverify' => false,
     347            'timeout'   => 45,
    349348        );
    350         $response = wp_remote_get( $url, $args );
     349        $response = wp_safe_remote_get( $url, $args );
    351350        if ( is_wp_error( $response ) ) {
    352351            return $response;
  • usgs-stream-flow-data/trunk/public/views/public.php

    r1848669 r2368266  
    77 * @license   GPL-2.0+
    88 * @link      //www.kindredwebconsulting.com
    9  * @copyright 2015 Kindred Web Consulting
    109 */
    1110
  • usgs-stream-flow-data/trunk/uninstall.php

    r1848669 r2368266  
    77 * @license   GPL-2.0+
    88 * @link      //www.kindredwebconsulting.com
    9  * @copyright 2014 Kindred Web Consulting
    109 */
    1110
Note: See TracChangeset for help on using the changeset viewer.