Changeset 2223286
- Timestamp:
- 01/07/2020 06:37:15 AM (6 years ago)
- Location:
- wphindi/trunk
- Files:
-
- 6 edited
-
assets/js/deactivate.js (modified) (2 diffs)
-
assets/js/deactivation-form.js (modified) (1 diff)
-
changelog.md (modified) (1 diff)
-
constant.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
zozuk-translator.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wphindi/trunk/assets/js/deactivate.js
r2222696 r2223286 3 3 this.deactivationButton = WPDeactivationButton; 4 4 this.popUpFormID = `#${popUpFormID}`; 5 5 this.popUpForm = document.querySelector(this.popUpFormID) ; 6 6 this.pluginDeactivationURL = this.getDeactivationURL(); 7 this.prepareForm(); 7 8 this.assignPopUp(); 8 9 this.bindAjaxToForm(); … … 88 89 window.location.href = deactivationURL; 89 90 } 91 92 /** 93 * Returns site URL 94 * @returns {string} 95 */ 96 getSiteURL(){ 97 return window.location.href.split('wp-admin')[0]; 98 } 99 100 /** 101 * Appends required data to form input 102 */ 103 prepareForm(){ 104 // Set site URL 105 this.popUpForm.siteURL.value = this.getSiteURL(); 106 } 90 107 } 91 108 /** -
wphindi/trunk/assets/js/deactivation-form.js
r2222696 r2223286 38 38 </div> 39 39 <div> 40 <label for='wphindi-site'>Site</label> 41 <br> 42 <input type='url' name='siteURL' id='wphindi-site' class='text' readonly> 43 </div> 44 <div> 40 45 <button type='submit' class='button action' id='wphindi-feedback-deactivate'>Submit & Deactivate</button> 41 46 </div> -
wphindi/trunk/changelog.md
r2222696 r2223286 1 1 # Changelog 2 2 All notable changes to this project will be documented in this file. 3 4 ## [2.2.1] - 7-Dec-2020 5 ### Added 6 * Site URL field on feedback screen. 3 7 4 8 ## [2.2.0] - 6-Dec-2020 -
wphindi/trunk/constant.php
r2222696 r2223286 5 5 define('WPHINDI_CORE_URL', plugin_dir_url(__FILE__)); 6 6 7 define('WPHINDI_VERSION', "2.2. 0");7 define('WPHINDI_VERSION', "2.2.1"); -
wphindi/trunk/readme.txt
r2222696 r2223286 58 58 == Changelog == 59 59 60 = 2.2.1 = 61 * Added site url field on feedback screen 62 63 = 2.2.0 = 64 * New feedback interface 65 60 66 = 2.1.0 = 61 67 * Added support for Gutenberg Lists -
wphindi/trunk/zozuk-translator.php
r2222696 r2223286 6 6 Author: Zozuk 7 7 Author URI: https://www.zozuk.com 8 Version: 2.2. 08 Version: 2.2.1 9 9 Requires at least: 5.0 10 10
Note: See TracChangeset
for help on using the changeset viewer.