diff --git a/changelog.txt b/changelog.txt index 08810e634..09d872be7 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ += 1.29.2 = +* Fix: PHP Notice when sanitizing multiple inputs (bug in 1.29.1 release). (@albionselimaj) + = 1.29.1 = * Enhancement: When retrieving listings in `[jobs]` shortcode, setting `orderby` to `rand_featured` will still place featured listings at the top. (@jom) * Enhancement: Scroll to show application details when clicking on "Apply for Job" button. (@jom) diff --git a/includes/abstracts/abstract-wp-job-manager-form.php b/includes/abstracts/abstract-wp-job-manager-form.php index 96e17b687..27a400891 100644 --- a/includes/abstracts/abstract-wp-job-manager-form.php +++ b/includes/abstracts/abstract-wp-job-manager-form.php @@ -294,7 +294,7 @@ protected function get_posted_fields() { protected function sanitize_posted_field( $value, $sanitizer = null ) { // Sanitize value if ( is_array( $value ) ) { - foreach ($value as $key => $val) { + foreach ( $value as $key => $val ) { $value[ $key ] = $this->sanitize_posted_field( $val, $sanitizer ); } diff --git a/languages/wp-job-manager.pot b/languages/wp-job-manager.pot index 71e85360d..33f200cb5 100644 --- a/languages/wp-job-manager.pot +++ b/languages/wp-job-manager.pot @@ -2,9 +2,9 @@ # This file is distributed under the GPL2+. msgid "" msgstr "" -"Project-Id-Version: WP Job Manager 1.29.1\n" +"Project-Id-Version: WP Job Manager 1.29.2\n" "Report-Msgid-Bugs-To: https://github.com/Automattic/WP-Job-Manager/issues\n" -"POT-Creation-Date: 2017-11-27 12:20:43+00:00\n" +"POT-Creation-Date: 2017-12-04 13:55:35+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -1238,38 +1238,38 @@ msgstr "" msgid "You must be signed in to post a new listing." msgstr "" -#: includes/helper/class-wp-job-manager-helper.php:249 +#: includes/helper/class-wp-job-manager-helper.php:255 msgid "Manage License" msgstr "" -#: includes/helper/class-wp-job-manager-helper.php:251 +#: includes/helper/class-wp-job-manager-helper.php:257 #: includes/helper/views/html-licences.php:69 msgid "Activate License" msgstr "" -#: includes/helper/class-wp-job-manager-helper.php:421 +#: includes/helper/class-wp-job-manager-helper.php:440 msgid "" "Please enter a valid license key and email address in order to activate " "this plugin's license." msgstr "" -#: includes/helper/class-wp-job-manager-helper.php:449 +#: includes/helper/class-wp-job-manager-helper.php:468 msgid "Connection failed to the License Key API server - possible server issue." msgstr "" -#: includes/helper/class-wp-job-manager-helper.php:457 +#: includes/helper/class-wp-job-manager-helper.php:476 msgid "Plugin license has been activated." msgstr "" -#: includes/helper/class-wp-job-manager-helper.php:459 +#: includes/helper/class-wp-job-manager-helper.php:478 msgid "An unknown error occurred while attempting to activate the license" msgstr "" -#: includes/helper/class-wp-job-manager-helper.php:471 +#: includes/helper/class-wp-job-manager-helper.php:490 msgid "license is not active." msgstr "" -#: includes/helper/class-wp-job-manager-helper.php:485 +#: includes/helper/class-wp-job-manager-helper.php:504 msgid "Plugin license has been deactivated." msgstr "" diff --git a/package.json b/package.json index 972f4672b..5556d0683 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "wp-job-manager", "title": "WP Job Manager", - "version": "1.29.1", + "version": "1.29.2", "homepage": "http://wordpress.org/plugins/wp-job-manager/", "license": "GPL-2.0+", "repository": "automattic/wp-job-manager", diff --git a/readme.md b/readme.md index ac45724da..c8b95b8a6 100644 --- a/readme.md +++ b/readme.md @@ -141,6 +141,9 @@ You can view (and contribute) translations via the [translate.wordpress.org](htt ## Changelog ## +### 1.29.2 ### +* Fix: PHP Notice when sanitizing multiple inputs (bug in 1.29.1 release). (@albionselimaj) + ### 1.29.1 ### * Enhancement: When retrieving listings in `[jobs]` shortcode, setting `orderby` to `rand_featured` will still place featured listings at the top. (@jom) * Enhancement: Scroll to show application details when clicking on "Apply for Job" button. (@jom) @@ -148,7 +151,7 @@ You can view (and contribute) translations via the [translate.wordpress.org](htt * Fix: Sanitize URLs and emails differently on the application method job listing field. (@jom) * Fix: Remove PHP notice in Featured Jobs widget. (@himanshuahuja96) * Fix: String fix for consistent spelling of "license" when appearing in strings. (@garrett-eclipse) -* Fix: Issue with paid add-on licenses not showing up when some third-party plugins were installed. (@jom) +* Fix: Issue with paid add-on licenses not showing up when some third-party plugins were installed. (@jom) * Dev: Runs new actions (`job_manager_recent_jobs_widget_before` and `job_manager_recent_jobs_widget_after`) inside Recent Jobs widget. (@jom) * Dev: Change `wpjm_get_the_job_types()` to return an empty array when job types are disabled. (@jom) * See all: https://github.com/Automattic/WP-Job-Manager/milestone/15?closed=1 diff --git a/readme.txt b/readme.txt index abed092ba..6b5503f2d 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: mikejolley, automattic, adamkheckler, annezazu, cena, chaselivings Tags: job manager, job listing, job board, job management, job lists, job list, job, jobs, company, hiring, employment, employer, employees, candidate, freelance, internship, job listings, positions, board, application, hiring, listing, manager, recruiting, recruitment, talent Requires at least: 4.3.1 Tested up to: 4.9 -Stable tag: 1.29.1 +Stable tag: 1.29.2 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -141,6 +141,9 @@ You can view (and contribute) translations via the [translate.wordpress.org](htt == Changelog == += 1.29.2 = +* Fix: PHP Notice when sanitizing multiple inputs (bug in 1.29.1 release). (@albionselimaj) + = 1.29.1 = * Enhancement: When retrieving listings in `[jobs]` shortcode, setting `orderby` to `rand_featured` will still place featured listings at the top. (@jom) * Enhancement: Scroll to show application details when clicking on "Apply for Job" button. (@jom) diff --git a/wp-job-manager.php b/wp-job-manager.php index 51fa7d3b8..e93649b1b 100644 --- a/wp-job-manager.php +++ b/wp-job-manager.php @@ -3,7 +3,7 @@ * Plugin Name: WP Job Manager * Plugin URI: https://wpjobmanager.com/ * Description: Manage job listings from the WordPress admin panel, and allow users to post jobs directly to your site. - * Version: 1.29.1 + * Version: 1.29.2 * Author: Automattic * Author URI: https://wpjobmanager.com/ * Requires at least: 4.1 @@ -58,7 +58,7 @@ public static function instance() { */ public function __construct() { // Define constants - define( 'JOB_MANAGER_VERSION', '1.29.1' ); + define( 'JOB_MANAGER_VERSION', '1.29.2' ); define( 'JOB_MANAGER_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) ); define( 'JOB_MANAGER_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );