Changeset 2368266
- Timestamp:
- 08/25/2020 03:20:39 AM (5 years ago)
- Location:
- usgs-stream-flow-data
- Files:
-
- 31 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
usgs-stream-flow-data/trunk/README.txt
r2172631 r2368266 4 4 Tags: USGS, River Flow, Stream Flow, Fly Fishing, Water Level 5 5 Requires at least: 3.7 6 Tested up to: 5. 37 Stable tag: 2 .86 Tested up to: 5.5 7 Stable tag: 20.08.01 8 8 License: GPLv2 or later 9 9 License URI: //www.gnu.org/licenses/gpl-2.0.html … … 66 66 67 67 == Changelog == 68 69 = 20.08.01 = 70 Tested plugin up to 5.5. 71 Updated versioning system to CalVer (https://calver.org/). 72 68 73 = 2.8 = 69 74 Tested plugin up to 5.3. -
usgs-stream-flow-data/trunk/admin/class-kwc-usgs-admin.php
r2172631 r2368266 7 7 * @license GPL-2.0+ 8 8 * @link //www.kindredwebconsulting.com 9 * @copyright 2015 Kindred Web Consulting10 9 */ 11 10 … … 161 160 $state = $_POST['state']; 162 161 $url = "https://waterservices.usgs.gov/nwis/iv?stateCd=$state&format=waterml¶meterCd=00060"; 163 $data = wp_ remote_get( $url );164 if ( ! $data) {162 $data = wp_safe_remote_get( $url ); 163 if ( is_wp_error( $data ) ) { 165 164 echo 'Error retrieving: ' . esc_url( $url ); 165 echo 'Error message:' . $data->get_error_message(); 166 166 exit; 167 167 } -
usgs-stream-flow-data/trunk/admin/views/admin.php
r2172631 r2368266 7 7 * @license GPL-2.0+ 8 8 * @link //www.kindredwebconsulting.com 9 * @copyright 2015 Kindred Web Consulting10 9 */ 11 10 -
usgs-stream-flow-data/trunk/kwcusgs.php
r2172631 r2368266 7 7 * @license GPL-2.0+ 8 8 * @link //www.kindredwebconsulting.com 9 * @copyright 2015 Kindred Web Consulting10 9 * 11 10 * @wordpress-plugin … … 13 12 * Plugin URI: //wordpress.org/plugins/usgs-stream-flow-data/ 14 13 * Description: USGS Stream Flow Data 15 * Version: 2 .814 * Version: 20.08.01 16 15 * Author: Chris Kindred 17 16 * Author URI: //www.kindredwebconsulting.com -
usgs-stream-flow-data/trunk/public/class-kwc-usgs.php
r2172631 r2368266 7 7 * @license GPL-2.0+ 8 8 * @link //www.kindredwebconsulting.com 9 * @copyright 2015 Kindred Web Consulting10 9 */ 11 10 … … 13 12 * The main class for the plugin 14 13 * 15 * @package USGS Steam Flow Data14 * @package USGS Steam Flow Data 16 15 * @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 21 19 */ 22 20 class Kwc_Usgs { … … 28 26 * @var string 29 27 */ 30 const VERSION = '2 .7.1';28 const VERSION = '20.08.01'; 31 29 32 30 /** … … 257 255 258 256 if ( is_wp_error( $response ) ) { 259 return get_error_message( $response);257 return $response->get_error_message(); 260 258 } 261 259 … … 347 345 $args = array( 348 346 'sslverify' => false, 347 'timeout' => 45, 349 348 ); 350 $response = wp_ remote_get( $url, $args );349 $response = wp_safe_remote_get( $url, $args ); 351 350 if ( is_wp_error( $response ) ) { 352 351 return $response; -
usgs-stream-flow-data/trunk/public/views/public.php
r1848669 r2368266 7 7 * @license GPL-2.0+ 8 8 * @link //www.kindredwebconsulting.com 9 * @copyright 2015 Kindred Web Consulting10 9 */ 11 10 -
usgs-stream-flow-data/trunk/uninstall.php
r1848669 r2368266 7 7 * @license GPL-2.0+ 8 8 * @link //www.kindredwebconsulting.com 9 * @copyright 2014 Kindred Web Consulting10 9 */ 11 10
Note: See TracChangeset
for help on using the changeset viewer.