Plugin Directory

Changeset 3183891


Ignore:
Timestamp:
11/07/2024 01:37:10 PM (17 months ago)
Author:
blueglassinteractive
Message:

v 2.7.11

Location:
job-postings
Files:
554 added
3 edited

Legend:

Unmodified
Added
Removed
  • job-postings/trunk/include/class-job-apply-form.php

    r3020217 r3183891  
    3434
    3535        $apply_advanced     = get_option( 'jobs_apply_advanced' );
     36
    3637        $confirmation       = get_post_meta( $post_id, 'job_notification_message', true );
     38
     39        $allow_script_in_html = apply_filters( 'job-postings/allow-script-in-html', false, $post_id );
     40       
     41        $allowed_html = wp_kses_allowed_html('post');
     42        if( $allow_script_in_html === false ){
     43            if( isset($allowed_html['script']) ) unset($allowed_html['script']);
     44        }else{
     45            $allowed_html['script'] = [];
     46        }
     47       
     48        $confirmation = wp_kses($confirmation, $allowed_html);
     49
    3750        $postition_title    = apply_filters('jp-modal-position-title', get_post_meta($post_id, 'position_title', true));
    3851        $postition_title    = htmlspecialchars($postition_title);
  • job-postings/trunk/job-postings.php

    r3181339 r3183891  
    55Description: WordPress plugin that make it easy to add job postings to your company’s website in a structured way.
    66Author: BlueGlass
    7 Version: 2.7.10
     7Version: 2.7.11
    88Author URI: http://blueglass.ch/
    99Text Domain: job-postings
     
    1414if( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    1515
    16 define('JOBPOSTINGSVERSION', '2.7.10');
     16define('JOBPOSTINGSVERSION', '2.7.11');
    1717define('JOBPOSTINGSPATH', plugin_dir_path( __FILE__ ));
    1818define('JOBPOSTINGSURL', plugin_dir_url(__FILE__));
  • job-postings/trunk/readme.txt

    r3181339 r3183891  
    44Requires at least: 5.0
    55Tested up to: 6.4.3
    6 Stable tag: 2.7.10
     6Stable tag: 2.7.11
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4141== Changelog ==
    4242
     43= 2.7.11 =
     44* Hot fix for HTML escape in confirmation
     45
    4346= 2.7.10 =
    4447* Fixed escaping for TinyMCE fields to enhance XSS protection.
Note: See TracChangeset for help on using the changeset viewer.