Changeset 2837777
- Timestamp:
- 12/22/2022 05:24:07 AM (3 years ago)
- Location:
- safety-exit
- Files:
-
- 6 deleted
- 13 edited
- 1 copied
-
assets/icon.svg (modified) (1 prop)
-
assets/screenshot-1.png (modified) (1 prop) (previous)
-
assets/screenshot-2.png (modified) (1 prop) (previous)
-
tags/1.6.2 (copied) (copied from safety-exit/trunk)
-
tags/1.6.2/assets/icon.svg (deleted)
-
tags/1.6.2/assets/screenshot-1.png (deleted)
-
tags/1.6.2/assets/screenshot-2.png (deleted)
-
tags/1.6.2/lib/Safety_Exit_Admin.php (modified) (2 diffs)
-
tags/1.6.2/lib/Safety_Exit_Frontend.php (modified) (4 diffs)
-
tags/1.6.2/lib/views/frontend-button.php (modified) (1 diff)
-
tags/1.6.2/readme.txt (modified) (4 diffs)
-
tags/1.6.2/safety-exit.php (modified) (1 diff)
-
trunk/assets/icon.svg (deleted)
-
trunk/assets/screenshot-1.png (deleted)
-
trunk/assets/screenshot-2.png (deleted)
-
trunk/lib/Safety_Exit_Admin.php (modified) (2 diffs)
-
trunk/lib/Safety_Exit_Frontend.php (modified) (4 diffs)
-
trunk/lib/views/frontend-button.php (modified) (1 diff)
-
trunk/readme.txt (modified) (4 diffs)
-
trunk/safety-exit.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
safety-exit/assets/icon.svg
-
Property
svn:mime-type
set to
image/svg+xml
-
Property
svn:mime-type
set to
-
safety-exit/assets/screenshot-1.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
safety-exit/assets/screenshot-2.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
safety-exit/tags/1.6.2/lib/Safety_Exit_Admin.php
r2798111 r2837777 53 53 // update_option('sftExt_css', $cssString); 54 54 } 55 55 56 public function safety_exit_add_options_page() { 56 57 // echo $this->root;die; … … 292 293 ); 293 294 294 295 295 // End Button Display Options 296 296 } -
safety-exit/tags/1.6.2/lib/Safety_Exit_Frontend.php
r2800325 r2837777 9 9 * Creates the submenu item for the plugin. 10 10 * 11 * Registers a new menu item under 'Tools' and uses the dependency passed into12 * the constructor in order to display the page corresponding to this menu item.13 *14 11 * @package Frontend_stuff 15 12 */ … … 18 15 private $pluginRoot; 19 16 17 private $buttonInitialized = false; 18 20 19 public function __construct($file) { 21 20 $this->pluginRoot = $file; … … 23 22 public function init() { 24 23 add_action('wp_enqueue_scripts', array($this, 'sftExt_enqueue')); 25 add_action( 'wp_body_open', array($this, 'safety_exit_injectTest'), 100 ); 24 add_action( 'wp_body_open', array($this, 'safety_exit_inject'), 100 ); 25 do_action( 'wp_body_open' ); 26 26 } 27 27 public function sftExt_enqueue() { … … 37 37 } 38 38 } 39 public function safety_exit_inject Test() {39 public function safety_exit_inject() { 40 40 include_once( 'views/frontend-button.php' ); 41 41 } -
safety-exit/tags/1.6.2/lib/views/frontend-button.php
r2800325 r2837777 32 32 } 33 33 } 34 $hideOnMobile = false; 34 35 if($sftExtSettings['sftExt_hide_mobile'] == 'yes') { 35 36 $hideOnMobile = true; -
safety-exit/tags/1.6.2/readme.txt
r2800325 r2837777 3 3 Tags: quick exit, safety exit, stop abuse, no domestic violence, safe browsing, exit, fast exit, domestic violence, panic button 4 4 Donate link: https://tomascordero.com 5 Requires at least: 4.0.06 Tested up to: 6. 0.25 Requires at least: 5.2.0 6 Tested up to: 6.1.1 7 7 Requires PHP: 5.2.4 8 Stable tag: 1.6. 18 Stable tag: 1.6.2 9 9 License: GPL-2.0+ 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 15 15 This plugin will insert a safety exit button onto your site. A safety exit button is ideal for websites dealing with sensitive subjects such as domestic violence, rape, child abuse and others. When the user clicks the button they will instantly redirected to a URL of your choosing and a new tab / window will be opened to a URL of your choosing. 16 16 17 The button is customizable with options to change the color of the button and font, pick an icon from fontawesome's free icon library, update font size, change what the button says and more features coming in the future. You can see the roadmap here: [Roadmap](https://trello.com/b/Zp7oBfQz/safety-exit)17 The button is customizable with options to change the color of the button and font, pick an icon from fontawesome's free icon library, update font size, change what the button says and more features coming in the future. 18 18 19 19 … … 34 34 35 35 = Can I request features? = 36 Yes! I love feature ideas and requests to make this thing better. You can submit a feature request under the support tab. Check out the roadmap here: [Roadmap](https://trello.com/b/Zp7oBfQz/safety-exit)36 Yes! I love feature ideas and requests to make this thing better. You can submit a feature request under the support tab. 37 37 38 38 = Can I customize the button more than the options you gave me? = … … 48 48 49 49 == Changelog == 50 1.6.2: 51 - Fix: Instead of depending on the theme to run fire the `wp_body_open` hook, we now run it in the plugin's init method. 50 52 1.6.1: 51 53 - Tweak: Switched from injecting the button in the footer to injecting it to the wp_body_open. This fixes a bug with certain page builders that use a post / page to create the footer. -
safety-exit/tags/1.6.2/safety-exit.php
r2800325 r2837777 12 12 * Plugin URI: 13 13 * Description: This plugin will inject a button on your website that will allow a website user to quickly navigate away from your website. 14 * Version: 1.6. 114 * Version: 1.6.2 15 15 * Author: Tomas Cordero 16 16 * Author URI: https://tomascordero.com -
safety-exit/trunk/lib/Safety_Exit_Admin.php
r2798111 r2837777 53 53 // update_option('sftExt_css', $cssString); 54 54 } 55 55 56 public function safety_exit_add_options_page() { 56 57 // echo $this->root;die; … … 292 293 ); 293 294 294 295 295 // End Button Display Options 296 296 } -
safety-exit/trunk/lib/Safety_Exit_Frontend.php
r2800325 r2837777 9 9 * Creates the submenu item for the plugin. 10 10 * 11 * Registers a new menu item under 'Tools' and uses the dependency passed into12 * the constructor in order to display the page corresponding to this menu item.13 *14 11 * @package Frontend_stuff 15 12 */ … … 18 15 private $pluginRoot; 19 16 17 private $buttonInitialized = false; 18 20 19 public function __construct($file) { 21 20 $this->pluginRoot = $file; … … 23 22 public function init() { 24 23 add_action('wp_enqueue_scripts', array($this, 'sftExt_enqueue')); 25 add_action( 'wp_body_open', array($this, 'safety_exit_injectTest'), 100 ); 24 add_action( 'wp_body_open', array($this, 'safety_exit_inject'), 100 ); 25 do_action( 'wp_body_open' ); 26 26 } 27 27 public function sftExt_enqueue() { … … 37 37 } 38 38 } 39 public function safety_exit_inject Test() {39 public function safety_exit_inject() { 40 40 include_once( 'views/frontend-button.php' ); 41 41 } -
safety-exit/trunk/lib/views/frontend-button.php
r2800325 r2837777 32 32 } 33 33 } 34 $hideOnMobile = false; 34 35 if($sftExtSettings['sftExt_hide_mobile'] == 'yes') { 35 36 $hideOnMobile = true; -
safety-exit/trunk/readme.txt
r2800325 r2837777 3 3 Tags: quick exit, safety exit, stop abuse, no domestic violence, safe browsing, exit, fast exit, domestic violence, panic button 4 4 Donate link: https://tomascordero.com 5 Requires at least: 4.0.06 Tested up to: 6. 0.25 Requires at least: 5.2.0 6 Tested up to: 6.1.1 7 7 Requires PHP: 5.2.4 8 Stable tag: 1.6. 18 Stable tag: 1.6.2 9 9 License: GPL-2.0+ 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 15 15 This plugin will insert a safety exit button onto your site. A safety exit button is ideal for websites dealing with sensitive subjects such as domestic violence, rape, child abuse and others. When the user clicks the button they will instantly redirected to a URL of your choosing and a new tab / window will be opened to a URL of your choosing. 16 16 17 The button is customizable with options to change the color of the button and font, pick an icon from fontawesome's free icon library, update font size, change what the button says and more features coming in the future. You can see the roadmap here: [Roadmap](https://trello.com/b/Zp7oBfQz/safety-exit)17 The button is customizable with options to change the color of the button and font, pick an icon from fontawesome's free icon library, update font size, change what the button says and more features coming in the future. 18 18 19 19 … … 34 34 35 35 = Can I request features? = 36 Yes! I love feature ideas and requests to make this thing better. You can submit a feature request under the support tab. Check out the roadmap here: [Roadmap](https://trello.com/b/Zp7oBfQz/safety-exit)36 Yes! I love feature ideas and requests to make this thing better. You can submit a feature request under the support tab. 37 37 38 38 = Can I customize the button more than the options you gave me? = … … 48 48 49 49 == Changelog == 50 1.6.2: 51 - Fix: Instead of depending on the theme to run fire the `wp_body_open` hook, we now run it in the plugin's init method. 50 52 1.6.1: 51 53 - Tweak: Switched from injecting the button in the footer to injecting it to the wp_body_open. This fixes a bug with certain page builders that use a post / page to create the footer. -
safety-exit/trunk/safety-exit.php
r2800325 r2837777 12 12 * Plugin URI: 13 13 * Description: This plugin will inject a button on your website that will allow a website user to quickly navigate away from your website. 14 * Version: 1.6. 114 * Version: 1.6.2 15 15 * Author: Tomas Cordero 16 16 * Author URI: https://tomascordero.com
Note: See TracChangeset
for help on using the changeset viewer.