Changeset 2622546
- Timestamp:
- 10/31/2021 06:40:12 PM (3 years ago)
- Location:
- usgs-stream-flow-data
- Files:
-
- 80 added
- 5 deleted
- 14 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
usgs-stream-flow-data/assets/banner-1544x500.jpg
-
Property
svn:mime-type
changed from
application/octet-stream
toimage/jpeg
-
Property
svn:mime-type
changed from
-
usgs-stream-flow-data/assets/banner-772x250.jpg
-
Property
svn:mime-type
changed from
application/octet-stream
toimage/jpeg
-
Property
svn:mime-type
changed from
-
usgs-stream-flow-data/assets/icon-128x128.jpg
-
Property
svn:mime-type
changed from
application/octet-stream
toimage/jpeg
-
Property
svn:mime-type
changed from
-
usgs-stream-flow-data/assets/icon-256x256.jpg
-
Property
svn:mime-type
changed from
application/octet-stream
toimage/jpeg
-
Property
svn:mime-type
changed from
-
usgs-stream-flow-data/assets/screenshot-1.png
-
Property
svn:mime-type
changed from
application/octet-stream
toimage/png
-
Property
svn:mime-type
changed from
-
usgs-stream-flow-data/assets/screenshot-2.png
-
Property
svn:mime-type
changed from
application/octet-stream
toimage/png
-
Property
svn:mime-type
changed from
-
usgs-stream-flow-data/assets/screenshot-3.png
-
Property
svn:mime-type
changed from
application/octet-stream
toimage/png
-
Property
svn:mime-type
changed from
-
usgs-stream-flow-data/assets/screenshot-4.png
-
Property
svn:mime-type
changed from
application/octet-stream
toimage/png
-
Property
svn:mime-type
changed from
-
usgs-stream-flow-data/tags/21.11.01/README.txt
r2532667 r2622546 3 3 Donate link: //www.kindredwebconsulting.com/wp-plugins/usgs 4 4 Tags: USGS, River Flow, Stream Flow, Fly Fishing, Water Level 5 Requires at least: 3.76 Tested up to: 5. 7.27 Requires PHP: 5.68 Stable tag: 21. 05.015 Requires at least: 5.5 6 Tested up to: 5.8.1 7 Requires PHP: 7.0 8 Stable tag: 21.11.01 9 9 License: GPLv2 or later 10 10 License URI: //www.gnu.org/licenses/gpl-2.0.html … … 68 68 == Changelog == 69 69 70 = 21.05.01 = 70 = 21.11.01 = 71 adds: refactor the majority of the plugin to allow for easier changes in the future. 72 adds: The ability to change the template for the shortcode by includeing a usgs.php file in your theme or plugin. 73 adds: tested up to 5.8.1. 74 removes: WP Support is now 5.5 and up. 75 removes: PHP compatibility is now 7.0 and up. 76 77 = 21.05.01 = 71 78 Tested up to 5.7.2. 72 79 Update transient to limit key length. -
usgs-stream-flow-data/tags/21.11.01/kwcusgs.php
r2532667 r2622546 1 1 <?php 2 2 /** 3 * A plugin for calling USGS Stream Flow Data Shortcodes4 *5 * @package USGS Steam Flow Data6 * @author Chris Kindred <[email protected]>7 * @license GPL-2.0+8 * @link //www.kindredwebconsulting.com9 *10 * @wordpress-plugin11 3 * Plugin Name: USGS Steam Flow Data 12 4 * Plugin URI: //wordpress.org/plugins/usgs-stream-flow-data/ 13 5 * Description: USGS Stream Flow Data 14 * Version: 21. 05.016 * Version: 21.11.01 15 7 * Author: Chris Kindred 16 8 * Author URI: //www.kindredwebconsulting.com 17 * Text Domain: kwc usgs-locale9 * Text Domain: kwc_usgs 18 10 * License: GPL-2.0+ 19 11 * License URI: //www.gnu.org/licenses/gpl-2.0.txt 20 12 * Domain Path: /languages 13 * Requires at least: 5.5 14 * Requires PHP: 7.0 21 15 */ 16 17 use Kindred\USGS\Core; 22 18 23 19 // If this file is called directly, abort. … … 26 22 } 27 23 28 require_once plugin_dir_path( __FILE__ ) . 'public/class-kwc-usgs.php';24 require_once( 'vendor/autoload.php' ); 29 25 30 /* 31 * Register hooks that are fired when the plugin is activated or deactivated. 32 * When the plugin is deleted, the uninstall.php file is loaded. 33 */ 34 register_activation_hook( __FILE__, array( 'kwc_usgs', 'activate' ) ); 35 register_deactivation_hook( __FILE__, array( 'kwc_usgs', 'deactivate' ) ); 26 register_activation_hook( __FILE__, [ Core::class, 'activate' ] ); 27 register_deactivation_hook( __FILE__, [ Core::class, 'deactivate' ] ); 36 28 37 add_action( 'plugins_loaded', array( 'kwc_usgs', 'get_instance' ) ); 38 add_filter( 'widget_text', 'do_shortcode' ); 29 add_action( 'plugins_loaded', static function () { 30 usgs_core()->init( __file__ ); 31 } ); 39 32 40 /* 41 * The code below is intended to to give the lightest footprint possible. 42 */ 43 if ( is_admin() ) { 44 45 require_once plugin_dir_path( __FILE__ ) . 'admin/class-kwc-usgs-admin.php'; 46 add_action( 'plugins_loaded', array( 'kwc_usgs_admin', 'get_instance' ) ); 47 33 function usgs_core() { 34 return Core::instance(); 48 35 } -
usgs-stream-flow-data/tags/21.11.01/languages/kwcusgs.pot
r1622006 r2622546 1 # Copyright (C) 20 13 Kindred Web Consulting2 # This file is distributed under the same license as the USGS Steam Flow package.1 # Copyright (C) 2021 Chris Kindred 2 # This file is distributed under the GPL-2.0+. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: USGS Steam Flow 0.0.1\n" 6 "Report-Msgid-Bugs-To: //wordpress.org/plugins/USGS-Stream-Flow\n" 7 "POT-Creation-Date: 2013-05-10 11:23:19+00:00\n" 8 "PO-Revision-Date: 2013-05-10 10:37-0500\n" 9 "Last-Translator: Chris Kindred <[email protected] >\n" 10 "Language-Team: Kindred Web Consulting <[email protected] >\n" 5 "Project-Id-Version: USGS Steam Flow Data 21.11.01\n" 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/KWC-USGS\n" 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 8 "Language-Team: LANGUAGE <[email protected]>\n" 11 9 "MIME-Version: 1.0\n" 12 10 "Content-Type: text/plain; charset=UTF-8\n" 13 11 "Content-Transfer-Encoding: 8bit\n" 14 "X-Generator: Poedit 1.5.7\n" 15 "X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;" 16 "esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n" 17 "X-Poedit-Basepath: ../\n" 18 "Plural-Forms: nplurals=2; plural=n != 1;\n" 19 "X-Poedit-SearchPath-0: .\n" 12 "POT-Creation-Date: 2021-10-31T17:57:09+00:00\n" 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.5.0\n" 15 "X-Domain: kwc_usgs\n" 20 16 21 #: class-kwcusgs-admin.php:154 17 #. Plugin Name of the plugin 18 msgid "USGS Steam Flow Data" 19 msgstr "" 20 21 #. Plugin URI of the plugin 22 msgid "//wordpress.org/plugins/usgs-stream-flow-data/" 23 msgstr "" 24 25 #. Description of the plugin 26 #: src/Admin/Admin.php:16 22 27 msgid "USGS Stream Flow Data" 23 28 msgstr "" 24 29 25 # : class-kwcusgs-admin.php:15526 msgid " USGS"30 #. Author of the plugin 31 msgid "Chris Kindred" 27 32 msgstr "" 28 33 29 #: class-kwcusgs-admin.php:181 34 #. Author URI of the plugin 35 msgid "//www.kindredwebconsulting.com" 36 msgstr "" 37 38 #: src/Admin/Admin.php:17 39 msgid "Stream Flow Data" 40 msgstr "" 41 42 #: src/Admin/Admin.php:26 30 43 msgid "Settings" 31 44 msgstr "" 32 45 33 #: admin/views/admin.php:104 34 msgid "Get Stations 46 #: src/Admin/Admin.php:62 47 #: src/Shortcode/Shortcode.php:57 48 msgid "Unable to parse USGS's XML" 35 49 msgstr "" 50 51 #: views/admin.php:14 52 msgid "You do not have sufficient permissions to access this page." 53 msgstr "" 54 55 #: views/admin.php:18 56 msgid "Usage" 57 msgstr "" 58 59 #: views/admin.php:19 60 msgid "Search Site Codes" 61 msgstr "" 62 63 #: views/admin.php:117 64 msgid "Get Stations" 65 msgstr "" -
usgs-stream-flow-data/trunk/README.txt
r2532667 r2622546 3 3 Donate link: //www.kindredwebconsulting.com/wp-plugins/usgs 4 4 Tags: USGS, River Flow, Stream Flow, Fly Fishing, Water Level 5 Requires at least: 3.76 Tested up to: 5. 7.27 Requires PHP: 5.68 Stable tag: 21. 05.015 Requires at least: 5.5 6 Tested up to: 5.8.1 7 Requires PHP: 7.0 8 Stable tag: 21.11.01 9 9 License: GPLv2 or later 10 10 License URI: //www.gnu.org/licenses/gpl-2.0.html … … 68 68 == Changelog == 69 69 70 = 21.05.01 = 70 = 21.11.01 = 71 adds: refactor the majority of the plugin to allow for easier changes in the future. 72 adds: The ability to change the template for the shortcode by includeing a usgs.php file in your theme or plugin. 73 adds: tested up to 5.8.1. 74 removes: WP Support is now 5.5 and up. 75 removes: PHP compatibility is now 7.0 and up. 76 77 = 21.05.01 = 71 78 Tested up to 5.7.2. 72 79 Update transient to limit key length. -
usgs-stream-flow-data/trunk/kwcusgs.php
r2532667 r2622546 1 1 <?php 2 2 /** 3 * A plugin for calling USGS Stream Flow Data Shortcodes4 *5 * @package USGS Steam Flow Data6 * @author Chris Kindred <[email protected]>7 * @license GPL-2.0+8 * @link //www.kindredwebconsulting.com9 *10 * @wordpress-plugin11 3 * Plugin Name: USGS Steam Flow Data 12 4 * Plugin URI: //wordpress.org/plugins/usgs-stream-flow-data/ 13 5 * Description: USGS Stream Flow Data 14 * Version: 21. 05.016 * Version: 21.11.01 15 7 * Author: Chris Kindred 16 8 * Author URI: //www.kindredwebconsulting.com 17 * Text Domain: kwc usgs-locale9 * Text Domain: kwc_usgs 18 10 * License: GPL-2.0+ 19 11 * License URI: //www.gnu.org/licenses/gpl-2.0.txt 20 12 * Domain Path: /languages 13 * Requires at least: 5.5 14 * Requires PHP: 7.0 21 15 */ 16 17 use Kindred\USGS\Core; 22 18 23 19 // If this file is called directly, abort. … … 26 22 } 27 23 28 require_once plugin_dir_path( __FILE__ ) . 'public/class-kwc-usgs.php';24 require_once( 'vendor/autoload.php' ); 29 25 30 /* 31 * Register hooks that are fired when the plugin is activated or deactivated. 32 * When the plugin is deleted, the uninstall.php file is loaded. 33 */ 34 register_activation_hook( __FILE__, array( 'kwc_usgs', 'activate' ) ); 35 register_deactivation_hook( __FILE__, array( 'kwc_usgs', 'deactivate' ) ); 26 register_activation_hook( __FILE__, [ Core::class, 'activate' ] ); 27 register_deactivation_hook( __FILE__, [ Core::class, 'deactivate' ] ); 36 28 37 add_action( 'plugins_loaded', array( 'kwc_usgs', 'get_instance' ) ); 38 add_filter( 'widget_text', 'do_shortcode' ); 29 add_action( 'plugins_loaded', static function () { 30 usgs_core()->init( __file__ ); 31 } ); 39 32 40 /* 41 * The code below is intended to to give the lightest footprint possible. 42 */ 43 if ( is_admin() ) { 44 45 require_once plugin_dir_path( __FILE__ ) . 'admin/class-kwc-usgs-admin.php'; 46 add_action( 'plugins_loaded', array( 'kwc_usgs_admin', 'get_instance' ) ); 47 33 function usgs_core() { 34 return Core::instance(); 48 35 } -
usgs-stream-flow-data/trunk/languages/kwcusgs.pot
r1622006 r2622546 1 # Copyright (C) 20 13 Kindred Web Consulting2 # This file is distributed under the same license as the USGS Steam Flow package.1 # Copyright (C) 2021 Chris Kindred 2 # This file is distributed under the GPL-2.0+. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: USGS Steam Flow 0.0.1\n" 6 "Report-Msgid-Bugs-To: //wordpress.org/plugins/USGS-Stream-Flow\n" 7 "POT-Creation-Date: 2013-05-10 11:23:19+00:00\n" 8 "PO-Revision-Date: 2013-05-10 10:37-0500\n" 9 "Last-Translator: Chris Kindred <[email protected] >\n" 10 "Language-Team: Kindred Web Consulting <[email protected] >\n" 5 "Project-Id-Version: USGS Steam Flow Data 21.11.01\n" 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/KWC-USGS\n" 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 8 "Language-Team: LANGUAGE <[email protected]>\n" 11 9 "MIME-Version: 1.0\n" 12 10 "Content-Type: text/plain; charset=UTF-8\n" 13 11 "Content-Transfer-Encoding: 8bit\n" 14 "X-Generator: Poedit 1.5.7\n" 15 "X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;" 16 "esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n" 17 "X-Poedit-Basepath: ../\n" 18 "Plural-Forms: nplurals=2; plural=n != 1;\n" 19 "X-Poedit-SearchPath-0: .\n" 12 "POT-Creation-Date: 2021-10-31T17:57:09+00:00\n" 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.5.0\n" 15 "X-Domain: kwc_usgs\n" 20 16 21 #: class-kwcusgs-admin.php:154 17 #. Plugin Name of the plugin 18 msgid "USGS Steam Flow Data" 19 msgstr "" 20 21 #. Plugin URI of the plugin 22 msgid "//wordpress.org/plugins/usgs-stream-flow-data/" 23 msgstr "" 24 25 #. Description of the plugin 26 #: src/Admin/Admin.php:16 22 27 msgid "USGS Stream Flow Data" 23 28 msgstr "" 24 29 25 # : class-kwcusgs-admin.php:15526 msgid " USGS"30 #. Author of the plugin 31 msgid "Chris Kindred" 27 32 msgstr "" 28 33 29 #: class-kwcusgs-admin.php:181 34 #. Author URI of the plugin 35 msgid "//www.kindredwebconsulting.com" 36 msgstr "" 37 38 #: src/Admin/Admin.php:17 39 msgid "Stream Flow Data" 40 msgstr "" 41 42 #: src/Admin/Admin.php:26 30 43 msgid "Settings" 31 44 msgstr "" 32 45 33 #: admin/views/admin.php:104 34 msgid "Get Stations 46 #: src/Admin/Admin.php:62 47 #: src/Shortcode/Shortcode.php:57 48 msgid "Unable to parse USGS's XML" 35 49 msgstr "" 50 51 #: views/admin.php:14 52 msgid "You do not have sufficient permissions to access this page." 53 msgstr "" 54 55 #: views/admin.php:18 56 msgid "Usage" 57 msgstr "" 58 59 #: views/admin.php:19 60 msgid "Search Site Codes" 61 msgstr "" 62 63 #: views/admin.php:117 64 msgid "Get Stations" 65 msgstr ""
Note: See TracChangeset
for help on using the changeset viewer.