Changeset 3407235
- Timestamp:
- 12/01/2025 09:14:30 PM (3 months ago)
- Location:
- apprenticeship-connect/trunk
- Files:
-
- 8 edited
-
README.md (modified) (3 diffs)
-
apprenticeship-connect.php (modified) (3 diffs)
-
assets/js/admin.js (modified) (2 diffs)
-
includes/class-apprco-admin.php (modified) (1 diff)
-
includes/class-apprco-core.php (modified) (1 diff)
-
includes/class-apprco-setup-wizard.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
uninstall.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
apprenticeship-connect/trunk/README.md
r3395422 r3407235 73 73 ## Changelog 74 74 75 ### 1.1.3 76 - Fix: Prevent "Leave site?" browser confirmation from appearing incorrectly on the first step of the setup wizard. 77 - Fix: Corrected an issue where the setup wizard would loop between Step 3 and Step 2 due to a JavaScript error. 78 75 79 ### 1.1.2 76 80 - Fix: Plugin review feedback changes. … … 88 92 ## Upgrade Notice 89 93 94 ### 1.1.3 95 - This update fixes two bugs in the setup wizard to improve the user onboarding experience. 96 90 97 ### 1.1.2 91 98 - This version addresses feedback from the WordPress plugin review team. … … 93 100 ### 1.1.1 94 101 - This version addresses feedback from the WordPress plugin review team. 95 96 This is the initial release of Apprenticeship Connect. No upgrade notice needed.97 102 98 103 ## Requirements -
apprenticeship-connect/trunk/apprenticeship-connect.php
r3395420 r3407235 4 4 * Plugin URI: https://wordpress.org/plugins/apprenticeship-connect 5 5 * Description: Apprenticeship Connect is a WordPress plugin that seamlessly integrates with the official UK Government's Find an Apprenticeship service. Easily display the latest apprenticeship vacancies on your website, keeping your audience informed and engaged with up-to-date opportunities. 6 * Version: 1.1. 26 * Version: 1.1.3 7 7 * Author: ePark Team 8 8 * Author URI: https://e-park.uk … … 12 12 * Domain Path: /languages 13 13 * Requires at least: 5.0 14 * Tested up to: 6. 414 * Tested up to: 6.8 15 15 * Requires PHP: 7.4 16 16 * 17 17 * @package ApprenticeshipConnect 18 * @version 1.1. 218 * @version 1.1.3 19 19 * @author ePark Team 20 20 */ … … 23 23 24 24 // Define plugin constants 25 define( 'APPRCO_PLUGIN_VERSION', '1.1. 2' );25 define( 'APPRCO_PLUGIN_VERSION', '1.1.3' ); 26 26 define( 'APPRCO_PLUGIN_FILE', __FILE__ ); 27 27 define( 'APPRCO_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); -
apprenticeship-connect/trunk/assets/js/admin.js
r3395425 r3407235 171 171 172 172 params.forEach(function(value, key) { 173 // Do not restore the step, nonce, or referer fields 174 if (key === 'step' || key === 'apprco_setup_nonce' || key === '_wp_http_referer') { 175 return; 176 } 177 173 178 var $field = $form.find('[name="' + key + '"]'); 174 179 if ($field.length) { … … 254 259 } 255 260 256 // Confirm before leaving setup wizard 257 if ($('.apprco-setup- progress').length) {261 // Confirm before leaving setup wizard if a form is present 262 if ($('.apprco-setup-step form').length) { 258 263 window.onbeforeunload = function() { 259 264 return 'Are you sure you want to leave? Your progress will be saved.'; 260 265 }; 261 266 262 267 // Remove warning when submitting form 263 268 $('form').on('submit', function() { 269 window.onbeforeunload = null; 270 }); 271 272 // Also remove when clicking previous link 273 $('.apprco-setup-actions a').on('click', function() { 264 274 window.onbeforeunload = null; 265 275 }); -
apprenticeship-connect/trunk/includes/class-apprco-admin.php
r3395426 r3407235 4 4 * 5 5 * @package ApprenticeshipConnect 6 * @version 1.1. 26 * @version 1.1.3 7 7 */ 8 8 -
apprenticeship-connect/trunk/includes/class-apprco-core.php
r3395426 r3407235 4 4 * 5 5 * @package ApprenticeshipConnect 6 * @version 1.1. 26 * @version 1.1.3 7 7 */ 8 8 -
apprenticeship-connect/trunk/includes/class-apprco-setup-wizard.php
r3395426 r3407235 4 4 * 5 5 * @package ApprenticeshipConnect 6 * @version 1.1. 26 * @version 1.1.3 7 7 */ 8 8 -
apprenticeship-connect/trunk/readme.txt
r3395423 r3407235 6 6 Tested up to: 6.8 7 7 Requires PHP: 7.4 8 Stable tag: 1.1. 28 Stable tag: 1.1.3 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 54 54 55 55 == Changelog == 56 = 1.1.3 = 57 - Fix: Prevent "Leave site?" browser confirmation from appearing incorrectly on the first step of the setup wizard. 58 - Fix: Corrected an issue where the setup wizard would loop between Step 3 and Step 2 due to a JavaScript error. 59 56 60 = 1.1.2 = 57 61 - Fix: Plugin review feedback changes. … … 66 70 67 71 == Upgrade Notice == 72 = 1.1.3 = 73 - This update fixes two bugs in the setup wizard to improve the user onboarding experience. 74 68 75 = 1.1.2 = 69 76 - This version addresses feedback from the WordPress plugin review team. -
apprenticeship-connect/trunk/uninstall.php
r3395424 r3407235 7 7 * 8 8 * @package ApprenticeshipConnect 9 * @version 1.1. 29 * @version 1.1.3 10 10 */ 11 11
Note: See TracChangeset
for help on using the changeset viewer.