From e27e3feafc25ce34dd90ab32e66ac2cf0822d88d Mon Sep 17 00:00:00 2001 From: Jake Oehler Morrison Date: Wed, 4 Oct 2017 16:25:30 +0100 Subject: [PATCH 1/3] Formatting fix phpunit.xml.dist --- phpunit.xml.dist | 54 ++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 751e53699..2da18e5a9 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,33 +1,33 @@ - - - - - - - - - - tests/php/tests + + + + + + + + + + tests/php/tests tests/php/tests/includes/rest-api - - - - . - - tests - - - + + + + . + + tests + + + From e0e4555921d478294ffa8822f6b55fea69291b70 Mon Sep 17 00:00:00 2001 From: Jake Oehler Morrison Date: Fri, 29 Sep 2017 12:37:51 +0100 Subject: [PATCH 2/3] Update POT --- languages/wp-job-manager.pot | 246 ++++++++++++++++++++++------------- 1 file changed, 154 insertions(+), 92 deletions(-) diff --git a/languages/wp-job-manager.pot b/languages/wp-job-manager.pot index 64bf7f50a..94ae4b28a 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.28.0\n" +"Project-Id-Version: WP Job Manager 1.29.0\n" "Report-Msgid-Bugs-To: https://github.com/Automattic/WP-Job-Manager/issues\n" -"POT-Creation-Date: 2017-08-01 16:44:29+00:00\n" +"POT-Creation-Date: 2017-10-02 17:06:15+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -13,16 +13,22 @@ msgstr "" "Language-Team: LANGUAGE \n" "X-Generator: grunt-wp-i18n 0.5.4\n" -#: includes/admin/class-wp-job-manager-addons.php:82 +#: includes/admin/class-wp-job-manager-addons.php:83 +#: includes/admin/class-wp-job-manager-addons.php:92 #: includes/admin/class-wp-job-manager-admin.php:113 msgid "WP Job Manager Add-ons" msgstr "" -#: includes/admin/class-wp-job-manager-addons.php:84 +#: includes/admin/class-wp-job-manager-addons.php:85 +#: includes/helper/views/html-licences.php:6 +msgid "Licenses" +msgstr "" + +#: includes/admin/class-wp-job-manager-addons.php:93 msgid "Do you need multiple add-ons?" msgstr "" -#: includes/admin/class-wp-job-manager-addons.php:84 +#: includes/admin/class-wp-job-manager-addons.php:93 msgid "Check out the core add-on bundle →" msgstr "" @@ -571,32 +577,33 @@ msgid "3. Done" msgstr "" #: includes/admin/class-wp-job-manager-setup.php:158 -msgid "Setup Wizard Introduction" +msgid "Welcome to the Setup Wizard!" msgstr "" #: includes/admin/class-wp-job-manager-setup.php:160 -msgid "Thanks for installing WP Job Manager!" +msgid "" +"Thanks for installing WP Job Manager! Let's get your site ready to " +"accept job listings." msgstr "" #: includes/admin/class-wp-job-manager-setup.php:161 msgid "" -"This setup wizard will help you get started by creating the pages for job " -"submission, job management, and listing your jobs." +"This setup wizard will walk you through the process of creating pages for " +"job submissions, management, and listings." msgstr "" #: includes/admin/class-wp-job-manager-setup.php:162 msgid "" -"If you want to skip the wizard and setup the pages and shortcodes yourself " -"manually, the process is still relatively simple. Refer to the " -"%sdocumentation%s for help." +"If you'd prefer to skip this and set up your pages manually, our " +"%sdocumentation%s will walk you through each step." msgstr "" #: includes/admin/class-wp-job-manager-setup.php:165 -msgid "Continue to page setup" +msgid "Start setup" msgstr "" #: includes/admin/class-wp-job-manager-setup.php:166 -msgid "Skip setup. I will setup the plugin manually" +msgid "Skip setup. I will set up the plugin manually." msgstr "" #: includes/admin/class-wp-job-manager-setup.php:172 @@ -605,130 +612,128 @@ msgstr "" #: includes/admin/class-wp-job-manager-setup.php:174 msgid "" -"WP Job Manager includes %1$sshortcodes%2$s which can be used " -"within your %3$spages%2$s to output content. These can be created for you " -"below. For more information on the job shortcodes view the %4$sshortcode " -"documentation%2$s." +"With WP Job Manager, employers and applicants can post, manage, and browse " +"job listings right on your website. Tell us which of these common pages " +"you'd like your site to have and we'll create and configure them for you." msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:182 -msgid "Page Title" +#: includes/admin/class-wp-job-manager-setup.php:175 +msgid "" +"(These pages are created using %1$sshortcodes%2$s, which we take care of in " +"this step. If you'd like to build these pages yourself or want to add one " +"of these options to an existing page on your site, you can skip this step " +"and take a look at %4$sshortcode documentation%2$s for detailed " +"instructions.)" msgstr "" #: includes/admin/class-wp-job-manager-setup.php:183 -msgid "Page Description" +msgid "Page Title" msgstr "" #: includes/admin/class-wp-job-manager-setup.php:184 -msgid "Content Shortcode" +msgid "Page Description" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:192 -msgid "This page allows employers to post jobs to your website from the front-end." +#: includes/admin/class-wp-job-manager-setup.php:185 +msgid "Content Shortcode" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:194 +#: includes/admin/class-wp-job-manager-setup.php:193 msgid "" -"If you do not want to accept submissions from users in this way (for " -"example you just want to post jobs from the admin dashboard) you can skip " -"creating this page." +"Creates a page that allows employers to post new jobs directly from a page " +"on your website, instead of requiring them to log in to an admin area. If " +"you'd rather not allow this -- for example, if you want employers to use " +"the admin dashboard only -- you can uncheck this setting." msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:202 +#: includes/admin/class-wp-job-manager-setup.php:201 msgid "" -"This page allows employers to manage and edit their own jobs from the " -"front-end." +"Creates a page that allows employers to manage their job listings directly " +"from a page on your website, instead of requiring them to log in to an " +"admin area. If you want to manage all job listings from the admin dashboard " +"only, you can uncheck this setting." msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:204 -msgid "" -"If you plan on managing all listings from the admin dashboard you can skip " -"creating this page." +#: includes/admin/class-wp-job-manager-setup.php:208 +msgid "Creates a page where visitors can browse, search, and filter job listings." msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:211 -msgid "" -"This page allows users to browse, search, and filter job listings on the " -"front-end of your site." +#: includes/admin/class-wp-job-manager-setup.php:216 +msgid "Skip this step" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:219 -msgid "Skip this step" +#: includes/admin/class-wp-job-manager-setup.php:226 +msgid "You're ready to start using WP Job Manager!" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:229 -msgid "All Done!" +#: includes/admin/class-wp-job-manager-setup.php:228 +msgid "Wondering what to do now? Here are some of the most common next steps:" msgstr "" #: includes/admin/class-wp-job-manager-setup.php:231 -msgid "" -"Looks like you're all set to start using the plugin. In case you're " -"wondering where to go next:" +msgid "Tweak your settings" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:234 -msgid "Tweak the plugin settings" +#: includes/admin/class-wp-job-manager-setup.php:232 +msgid "Add a job using the admin dashboard" msgstr "" #: includes/admin/class-wp-job-manager-setup.php:235 -msgid "Add a job via the back-end" -msgstr "" - -#: includes/admin/class-wp-job-manager-setup.php:238 -msgid "Add a job via the front-end" +msgid "View submitted job listings" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:240 -msgid "Find out more about the front-end job submission form" +#: includes/admin/class-wp-job-manager-setup.php:237 +msgid "Add job listings to a page using the [jobs] shortcode" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:244 -msgid "View submitted job listings" +#: includes/admin/class-wp-job-manager-setup.php:241 +msgid "Add a job via the front-end" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:246 -msgid "Add the [jobs] shortcode to a page to list jobs" +#: includes/admin/class-wp-job-manager-setup.php:243 +msgid "Learn to use the front-end job submission board" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:250 +#: includes/admin/class-wp-job-manager-setup.php:247 msgid "View the job dashboard" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:252 -msgid "Find out more about the front-end job dashboard" +#: includes/admin/class-wp-job-manager-setup.php:249 +msgid "Learn to use the front-end job dashboard" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:256 +#: includes/admin/class-wp-job-manager-setup.php:253 msgid "" -"And don't forget, if you need any more help using WP Job Manager " -"you can consult the %1$sdocumentation%2$s or %3$spost on the forums%2$s!" +"If you need help, you can find more detail in our %1$ssupport " +"documentation%2$s or post your question on the %3$sWP Job Manager support " +"forums%2$s. Happy hiring!" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:259 -msgid "Support the Ongoing Development of this Plugin" +#: includes/admin/class-wp-job-manager-setup.php:256 +msgid "Support WP Job Manager's Ongoing Development" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:260 +#: includes/admin/class-wp-job-manager-setup.php:257 msgid "" -"There are many ways to support open-source projects such as WP Job Manager, " -"for example code contribution, translation, or even telling your friends " -"how awesome the plugin (hopefully) is. Thanks in advance for your support - " -"it is much appreciated!" +"There are lots of ways you can support open source software projects like " +"this one: contributing code, fixing a bug, assisting with non-English " +"translation, or just telling your friends about WP Job Manager to help " +"spread the word. We appreciate your support!" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:262 +#: includes/admin/class-wp-job-manager-setup.php:259 msgid "Leave a positive review" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:263 +#: includes/admin/class-wp-job-manager-setup.php:260 msgid "Contribute a localization" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:264 +#: includes/admin/class-wp-job-manager-setup.php:261 msgid "Contribute code or report a bug" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:265 +#: includes/admin/class-wp-job-manager-setup.php:262 msgid "Help other users on the forums" msgstr "" @@ -1090,7 +1095,7 @@ msgid "Application email" msgstr "" #: includes/forms/class-wp-job-manager-form-submit-job.php:144 -#: wp-job-manager-template.php:641 +#: wp-job-manager-template.php:642 msgid "you@yourdomain.com" msgstr "" @@ -1221,6 +1226,63 @@ msgstr "" msgid "You must be signed in to post a new listing." msgstr "" +#: includes/helper/class-wp-job-manager-helper.php:249 +msgid "Manage License" +msgstr "" + +#: includes/helper/class-wp-job-manager-helper.php:251 +#: includes/helper/views/html-licences.php:69 +msgid "Activate License" +msgstr "" + +#: includes/helper/class-wp-job-manager-helper.php:421 +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 +msgid "Connection failed to the License Key API server - possible server issue." +msgstr "" + +#: includes/helper/class-wp-job-manager-helper.php:457 +msgid "Plugin license has been activated." +msgstr "" + +#: includes/helper/class-wp-job-manager-helper.php:459 +msgid "An unknown error occurred while attempting to activate the license" +msgstr "" + +#: includes/helper/class-wp-job-manager-helper.php:471 +msgid "licence is not active." +msgstr "" + +#: includes/helper/class-wp-job-manager-helper.php:485 +msgid "Plugin license has been deactivated." +msgstr "" + +#: includes/helper/views/html-licence-key-notice.php:7 +msgid "Hide notice" +msgstr "" + +#: includes/helper/views/html-licences.php:50 +#: includes/helper/views/html-licences.php:63 +msgid "License" +msgstr "" + +#: includes/helper/views/html-licences.php:53 +#: includes/helper/views/html-licences.php:66 +msgid "Email" +msgstr "" + +#: includes/helper/views/html-licences.php:57 +msgid "Deactivate License" +msgstr "" + +#: includes/helper/views/html-licences.php:79 +msgid "No plugins are activated that have licenses managed by WP Job Manager." +msgstr "" + #: includes/rest-api/class-wp-job-manager-controllers-status.php:52 msgid "Not Found" msgstr "" @@ -1506,47 +1568,47 @@ msgstr "" msgid "Inactive" msgstr "" -#: wp-job-manager-template.php:237 +#: wp-job-manager-template.php:238 msgid "Application via \"%s\" listing on %s" msgstr "" -#: wp-job-manager-template.php:615 +#: wp-job-manager-template.php:616 msgid "Username" msgstr "" -#: wp-job-manager-template.php:623 +#: wp-job-manager-template.php:624 msgid "Password" msgstr "" -#: wp-job-manager-template.php:633 +#: wp-job-manager-template.php:634 msgid "Verify Password" msgstr "" -#: wp-job-manager-template.php:640 +#: wp-job-manager-template.php:641 msgid "Your email" msgstr "" -#: wp-job-manager-template.php:667 +#: wp-job-manager-template.php:668 msgid "Posted on " msgstr "" -#: wp-job-manager-template.php:669 wp-job-manager-template.php:689 +#: wp-job-manager-template.php:670 wp-job-manager-template.php:690 msgid "Posted %s ago" msgstr "" -#: wp-job-manager-template.php:712 +#: wp-job-manager-template.php:713 msgid "Anywhere" msgstr "" -#: wp-job-manager.php:209 +#: wp-job-manager.php:213 msgid "Load previous listings" msgstr "" -#: wp-job-manager.php:260 +#: wp-job-manager.php:264 msgid "Invalid file type. Accepted types:" msgstr "" -#: wp-job-manager.php:271 +#: wp-job-manager.php:275 msgid "Are you sure you want to delete this listing?" msgstr "" @@ -1593,17 +1655,17 @@ msgctxt "Job type slug - resave permalinks after changing this" msgid "job-type" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:190 +#: includes/admin/class-wp-job-manager-setup.php:191 msgctxt "Default page title (wizard)" msgid "Post a Job" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:200 +#: includes/admin/class-wp-job-manager-setup.php:199 msgctxt "Default page title (wizard)" msgid "Job Dashboard" msgstr "" -#: includes/admin/class-wp-job-manager-setup.php:210 +#: includes/admin/class-wp-job-manager-setup.php:207 msgctxt "Default page title (wizard)" msgid "Jobs" msgstr "" @@ -1649,4 +1711,4 @@ msgstr "" #: wp-job-manager-functions.php:260 msgctxt "post status" msgid "Active" -msgstr "" \ No newline at end of file +msgstr "" From 7c591408b5563fb494708893fb81aeb5af0051e3 Mon Sep 17 00:00:00 2001 From: Jake Oehler Morrison Date: Fri, 29 Sep 2017 12:38:01 +0100 Subject: [PATCH 3/3] Version bump to 1.29.0 --- changelog.txt | 8 ++++++++ readme.md | 10 +++++++++- readme.txt | 10 +++++++++- wp-job-manager.php | 4 ++-- 4 files changed, 28 insertions(+), 4 deletions(-) diff --git a/changelog.txt b/changelog.txt index c25963171..ac8fe5690 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,11 @@ += 1.29.0 = +* Enhancement: Moves license and update management for official add-ons to the core plugin. (@jom; https://github.com/Automattic/WP-Job-Manager/pull/1168) +* Enhancement: Update language for setup wizard with more clear descriptions. (@donnapep; https://github.com/Automattic/WP-Job-Manager/pull/1194) +* Fix: Prevent duplicate attachments to job listing posts for non-image media. (@tripflex; https://github.com/Automattic/WP-Job-Manager/pull/1144) +* Fix: PHP error on registration form due to missing placeholder text. (@jom; https://github.com/Automattic/WP-Job-Manager/pull/1180) +* Fix: Apply `the_job_application_method` filter even when no default is available. (@turtlepod; https://github.com/Automattic/WP-Job-Manager/issues/1164) +* Fix: Properly reset category selector on `[jobs]` shortcode. (@jom; https://github.com/Automattic/WP-Job-Manager/pull/1190) + = 1.28.0 = * Enhancement: Improves support for Google Job Search by adding `JobPosting` structured data. (@jom; https://github.com/Automattic/WP-Job-Manager/pull/1115) * Enhancement: Adds ability for job types to be mapped to an employment type as defined for Google Job Search. (@jom; https://github.com/Automattic/WP-Job-Manager/pull/1112) diff --git a/readme.md b/readme.md index 0e0c69e6d..5a94ae0af 100644 --- a/readme.md +++ b/readme.md @@ -3,7 +3,7 @@ **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.8 -**Stable tag:** 1.28.0 +**Stable tag:** 1.29.0 **License:** GPLv3 **License URI:** http://www.gnu.org/licenses/gpl-3.0.html @@ -141,6 +141,14 @@ You can view (and contribute) translations via the [translate.wordpress.org](htt ## Changelog ## +### 1.29.0 ### +* Enhancement: Moves license and update management for official add-ons to the core plugin. (@jom; https://github.com/Automattic/WP-Job-Manager/pull/1168) +* Enhancement: Update language for setup wizard with more clear descriptions. (@donnapep; https://github.com/Automattic/WP-Job-Manager/pull/1194) +* Fix: Prevent duplicate attachments to job listing posts for non-image media. (@tripflex; https://github.com/Automattic/WP-Job-Manager/pull/1144) +* Fix: PHP error on registration form due to missing placeholder text. (@jom; https://github.com/Automattic/WP-Job-Manager/pull/1180) +* Fix: Apply `the_job_application_method` filter even when no default is available. (@turtlepod; https://github.com/Automattic/WP-Job-Manager/issues/1164) +* Fix: Properly reset category selector on `[jobs]` shortcode. (@jom; https://github.com/Automattic/WP-Job-Manager/pull/1190) + ### 1.28.0 ### * Enhancement: Improves support for Google Job Search by adding `JobPosting` structured data. (@jom; https://github.com/Automattic/WP-Job-Manager/pull/1115) * Enhancement: Adds ability for job types to be mapped to an employment type as defined for Google Job Search. (@jom; https://github.com/Automattic/WP-Job-Manager/pull/1112) diff --git a/readme.txt b/readme.txt index 8e8b4daea..aaecc173f 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.8 -Stable tag: 1.28.0 +Stable tag: 1.29.0 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -141,6 +141,14 @@ You can view (and contribute) translations via the [translate.wordpress.org](htt == Changelog == += 1.29.0 = +* Enhancement: Moves license and update management for official add-ons to the core plugin. (@jom; https://github.com/Automattic/WP-Job-Manager/pull/1168) +* Enhancement: Update language for setup wizard with more clear descriptions. (@donnapep; https://github.com/Automattic/WP-Job-Manager/pull/1194) +* Fix: Prevent duplicate attachments to job listing posts for non-image media. (@tripflex; https://github.com/Automattic/WP-Job-Manager/pull/1144) +* Fix: PHP error on registration form due to missing placeholder text. (@jom; https://github.com/Automattic/WP-Job-Manager/pull/1180) +* Fix: Apply `the_job_application_method` filter even when no default is available. (@turtlepod; https://github.com/Automattic/WP-Job-Manager/issues/1164) +* Fix: Properly reset category selector on `[jobs]` shortcode. (@jom; https://github.com/Automattic/WP-Job-Manager/pull/1190) + = 1.28.0 = * Enhancement: Improves support for Google Job Search by adding `JobPosting` structured data. (@jom; https://github.com/Automattic/WP-Job-Manager/pull/1115) * Enhancement: Adds ability for job types to be mapped to an employment type as defined for Google Job Search. (@jom; https://github.com/Automattic/WP-Job-Manager/pull/1112) diff --git a/wp-job-manager.php b/wp-job-manager.php index ef8c43e52..9112583b5 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.0-dev + * Version: 1.29.0 * 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.0-dev' ); + define( 'JOB_MANAGER_VERSION', '1.29.0' ); 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__ ) ) ) );