Plugin Directory

Changeset 3407235


Ignore:
Timestamp:
12/01/2025 09:14:30 PM (3 months ago)
Author:
epark
Message:

Bump version to 1.1.3 and update changelog with fixes for setup wizard issues

Location:
apprenticeship-connect/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • apprenticeship-connect/trunk/README.md

    r3395422 r3407235  
    7373## Changelog
    7474
     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
    7579### 1.1.2
    7680- Fix: Plugin review feedback changes.
     
    8892## Upgrade Notice
    8993
     94### 1.1.3
     95- This update fixes two bugs in the setup wizard to improve the user onboarding experience.
     96
    9097### 1.1.2
    9198- This version addresses feedback from the WordPress plugin review team.
     
    93100### 1.1.1
    94101- This version addresses feedback from the WordPress plugin review team.
    95 
    96 This is the initial release of Apprenticeship Connect. No upgrade notice needed.
    97102
    98103## Requirements
  • apprenticeship-connect/trunk/apprenticeship-connect.php

    r3395420 r3407235  
    44 * Plugin URI: https://wordpress.org/plugins/apprenticeship-connect
    55 * 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.2
     6 * Version: 1.1.3
    77 * Author: ePark Team
    88 * Author URI: https://e-park.uk
     
    1212 * Domain Path: /languages
    1313 * Requires at least: 5.0
    14  * Tested up to: 6.4
     14 * Tested up to: 6.8
    1515 * Requires PHP: 7.4
    1616 *
    1717 * @package ApprenticeshipConnect
    18  * @version 1.1.2
     18 * @version 1.1.3
    1919 * @author ePark Team
    2020 */
     
    2323
    2424// Define plugin constants
    25 define( 'APPRCO_PLUGIN_VERSION', '1.1.2' );
     25define( 'APPRCO_PLUGIN_VERSION', '1.1.3' );
    2626define( 'APPRCO_PLUGIN_FILE', __FILE__ );
    2727define( 'APPRCO_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • apprenticeship-connect/trunk/assets/js/admin.js

    r3395425 r3407235  
    171171           
    172172            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               
    173178                var $field = $form.find('[name="' + key + '"]');
    174179                if ($field.length) {
     
    254259    }
    255260   
    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) {
    258263        window.onbeforeunload = function() {
    259264            return 'Are you sure you want to leave? Your progress will be saved.';
    260265        };
    261        
     266
    262267        // Remove warning when submitting form
    263268        $('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() {
    264274            window.onbeforeunload = null;
    265275        });
  • apprenticeship-connect/trunk/includes/class-apprco-admin.php

    r3395426 r3407235  
    44 *
    55 * @package ApprenticeshipConnect
    6  * @version 1.1.2
     6 * @version 1.1.3
    77 */
    88
  • apprenticeship-connect/trunk/includes/class-apprco-core.php

    r3395426 r3407235  
    44 *
    55 * @package ApprenticeshipConnect
    6  * @version 1.1.2
     6 * @version 1.1.3
    77 */
    88
  • apprenticeship-connect/trunk/includes/class-apprco-setup-wizard.php

    r3395426 r3407235  
    44 *
    55 * @package ApprenticeshipConnect
    6  * @version 1.1.2
     6 * @version 1.1.3
    77 */
    88
  • apprenticeship-connect/trunk/readme.txt

    r3395423 r3407235  
    66Tested up to: 6.8
    77Requires PHP: 7.4
    8 Stable tag: 1.1.2
     8Stable tag: 1.1.3
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    5454
    5555== 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
    5660= 1.1.2 =
    5761- Fix: Plugin review feedback changes.
     
    6670
    6771== Upgrade Notice ==
     72= 1.1.3 =
     73- This update fixes two bugs in the setup wizard to improve the user onboarding experience.
     74
    6875= 1.1.2 =
    6976- This version addresses feedback from the WordPress plugin review team.
  • apprenticeship-connect/trunk/uninstall.php

    r3395424 r3407235  
    77 *
    88 * @package ApprenticeshipConnect
    9  * @version 1.1.2
     9 * @version 1.1.3
    1010 */
    1111
Note: See TracChangeset for help on using the changeset viewer.