Changeset 2833007
- Timestamp:
- 12/13/2022 02:29:34 PM (20 months ago)
- Location:
- wp-job-manager
- Files:
-
- 2 added
- 16 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
wp-job-manager/tags/1.39.0/changelog.txt
r2805086 r2833007 1 2 3 4 5 1 6 = 1.38.1 = 2 7 * Enhancement: Added support for WordPress.com marketplace -
wp-job-manager/tags/1.39.0/includes/3rd-party/yoast.php
r1907818 r2833007 28 28 } 29 29 add_action( 'wpseo_sitemap_entry', 'wpjm_yoast_skip_filled_job_listings', 10, 3 ); 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 -
wp-job-manager/tags/1.39.0/includes/class-wp-job-manager-post-types.php
r2780619 r2833007 1600 1600 'label' => __( 'Salary', 'wp-job-manager' ), 1601 1601 'type' => 'text', 1602 'placeholder' => 'e.g. 20000',1602 'placeholder' => , 1603 1603 'priority' => 13, 1604 1604 'description' => __( 'Add a salary field, this field is optional.', 'wp-job-manager' ), -
wp-job-manager/tags/1.39.0/includes/forms/class-wp-job-manager-form-submit-job.php
r2805086 r2833007 270 270 'type' => 'text', 271 271 'required' => false, 272 'placeholder' => 'e.g. 20000',272 'placeholder' => , 273 273 'priority' => 8, 274 274 ], -
wp-job-manager/tags/1.39.0/includes/helper/class-wp-job-manager-helper.php
r2805086 r2833007 32 32 33 33 /** 34 35 36 37 38 39 40 34 41 * The single instance of the class. 35 42 * … … 67 74 include_once dirname( __FILE__ ) . '/class-wp-job-manager-helper-options.php'; 68 75 include_once dirname( __FILE__ ) . '/class-wp-job-manager-helper-api.php'; 76 69 77 70 78 $this->api = WP_Job_Manager_Helper_API::instance(); … … 86 94 */ 87 95 public function admin_init() { 96 88 97 add_action( 'plugin_action_links', [ $this, 'plugin_links' ], 10, 2 ); 89 98 add_action( 'admin_notices', [ $this, 'licence_error_notices' ] ); 90 99 $this->handle_admin_request(); 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 91 143 } 92 144 … … 172 224 private function get_plugin_version( $plugin_filename ) { 173 225 $plugin_data = $this->get_licence_managed_plugin( $plugin_filename ); 174 if ( ! $plugin_data ) {226 if ( ! $plugin_data ) { 175 227 return false; 176 228 } 229 177 230 $product_slug = $plugin_data['_product_slug']; 178 231 $licence = $this->get_plugin_licence( $product_slug ); 179 if ( ! $licence || empty( $licence['licence_key'] ) ) {180 return false;181 }182 232 183 233 $response = $this->api->plugin_update_check( … … 186 236 'version' => $plugin_data['Version'], 187 237 'api_product_id' => $product_slug, 188 'licence_key' => $licence['licence_key'] ,189 'email' => $licence['email'] ,238 'licence_key' => $licence['licence_key'], 239 'email' => $licence['email'], 190 240 ] 191 241 ); … … 595 645 596 646 $errors = ! empty( $response['errors'] ) ? $response['errors'] : []; 597 $allowed_errors = [ 'no_activation', 'expired_key', 'expiring_soon' ];647 $allowed_errors = [ 'no_activation', 'expired_key', 'expiring_soon' ]; 598 648 $ignored_errors = array_diff( array_keys( $errors ), $allowed_errors ); 599 649 -
wp-job-manager/tags/1.39.0/languages/wp-job-manager.pot
r2805086 r2833007 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: WP Job Manager 1.3 8.1\n"5 "Project-Id-Version: WP Job Manager 1.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-job-manager/\n" 7 7 "Last-Translator: \n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2022-1 0-25T15:40:11+00:00\n"12 "POT-Creation-Date: 2022-1+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2. 7.1\n"14 "X-Generator: WP-CLI 2.\n" 15 15 "X-Domain: wp-job-manager\n" 16 16 … … 1557 1557 msgstr "" 1558 1558 1559 1560 1561 1562 1563 1559 1564 #: includes/class-wp-job-manager-post-types.php:1604 1560 1565 msgid "Add a salary field, this field is optional." … … 1918 1923 msgstr "" 1919 1924 1920 #: includes/helper/class-wp-job-manager-helper.php: 2791925 #: includes/helper/class-wp-job-manager-helper.php:9 1921 1926 msgid "Manage License (Requires Attention)" 1922 1927 msgstr "" 1923 1928 1924 #: includes/helper/class-wp-job-manager-helper.php: 2821925 #: tests/php/tests/includes/helper/test_class.wp-job-manager-helper.php:2 621929 #: includes/helper/class-wp-job-manager-helper.php:2 1930 #: tests/php/tests/includes/helper/test_class.wp-job-manager-helper.php:2 1926 1931 msgid "Manage License" 1927 1932 msgstr "" 1928 1933 1929 #: includes/helper/class-wp-job-manager-helper.php: 2851934 #: includes/helper/class-wp-job-manager-helper.php:5 1930 1935 #: includes/helper/views/html-licences.php:76 1931 #: tests/php/tests/includes/helper/test_class.wp-job-manager-helper.php:2 781936 #: tests/php/tests/includes/helper/test_class.wp-job-manager-helper.php:2 1932 1937 msgid "Activate License" 1933 1938 msgstr "" 1934 1939 1935 #: includes/helper/class-wp-job-manager-helper.php: 4941940 #: includes/helper/class-wp-job-manager-helper.php:4 1936 1941 msgid "Please enter a valid license key and email address in order to activate this plugin's license." 1937 1942 msgstr "" 1938 1943 1939 #: includes/helper/class-wp-job-manager-helper.php:5 261944 #: includes/helper/class-wp-job-manager-helper.php:56 1940 1945 msgid "Connection failed to the License Key API server - possible server issue." 1941 1946 msgstr "" 1942 1947 1943 #: includes/helper/class-wp-job-manager-helper.php:5 351948 #: includes/helper/class-wp-job-manager-helper.php:55 1944 1949 msgid "Plugin license has been activated." 1945 1950 msgstr "" 1946 1951 1947 #: includes/helper/class-wp-job-manager-helper.php:5 381952 #: includes/helper/class-wp-job-manager-helper.php:58 1948 1953 msgid "An unknown error occurred while attempting to activate the license" 1949 1954 msgstr "" 1950 1955 1951 #: includes/helper/class-wp-job-manager-helper.php: 5581956 #: includes/helper/class-wp-job-manager-helper.php:8 1952 1957 msgid "license is not active." 1953 1958 msgstr "" 1954 1959 1955 #: includes/helper/class-wp-job-manager-helper.php: 5741960 #: includes/helper/class-wp-job-manager-helper.php:4 1956 1961 msgid "Plugin license has been deactivated." 1957 1962 msgstr "" -
wp-job-manager/tags/1.39.0/readme.txt
r2805091 r2833007 3 3 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 4 4 Requires at least: 5.8 5 Tested up to: 6. 05 Tested up to: 6. 6 6 Requires PHP: 7.2 7 Stable tag: 1.3 8.17 Stable tag: 1.3 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 153 153 154 154 == Changelog == 155 156 157 158 159 155 160 156 161 = 1.38.1 = -
wp-job-manager/tags/1.39.0/wp-job-manager.php
r2805086 r2833007 4 4 * Plugin URI: https://wpjobmanager.com/ 5 5 * Description: Manage job listings from the WordPress admin panel, and allow users to post jobs directly to your site. 6 * Version: 1.3 8.16 * Version: 1.3 7 7 * Author: Automattic 8 8 * Author URI: https://wpjobmanager.com/ … … 22 22 23 23 // Define constants. 24 define( 'JOB_MANAGER_VERSION', '1.3 8.1' );24 define( 'JOB_MANAGER_VERSION', '1.3' ); 25 25 define( 'JOB_MANAGER_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) ); 26 26 define( 'JOB_MANAGER_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) ); -
wp-job-manager/trunk/changelog.txt
r2805086 r2833007 1 2 3 4 5 1 6 = 1.38.1 = 2 7 * Enhancement: Added support for WordPress.com marketplace -
wp-job-manager/trunk/includes/3rd-party/yoast.php
r1907818 r2833007 28 28 } 29 29 add_action( 'wpseo_sitemap_entry', 'wpjm_yoast_skip_filled_job_listings', 10, 3 ); 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 -
wp-job-manager/trunk/includes/class-wp-job-manager-post-types.php
r2780619 r2833007 1600 1600 'label' => __( 'Salary', 'wp-job-manager' ), 1601 1601 'type' => 'text', 1602 'placeholder' => 'e.g. 20000',1602 'placeholder' => , 1603 1603 'priority' => 13, 1604 1604 'description' => __( 'Add a salary field, this field is optional.', 'wp-job-manager' ), -
wp-job-manager/trunk/includes/forms/class-wp-job-manager-form-submit-job.php
r2805086 r2833007 270 270 'type' => 'text', 271 271 'required' => false, 272 'placeholder' => 'e.g. 20000',272 'placeholder' => , 273 273 'priority' => 8, 274 274 ], -
wp-job-manager/trunk/includes/helper/class-wp-job-manager-helper.php
r2805086 r2833007 32 32 33 33 /** 34 35 36 37 38 39 40 34 41 * The single instance of the class. 35 42 * … … 67 74 include_once dirname( __FILE__ ) . '/class-wp-job-manager-helper-options.php'; 68 75 include_once dirname( __FILE__ ) . '/class-wp-job-manager-helper-api.php'; 76 69 77 70 78 $this->api = WP_Job_Manager_Helper_API::instance(); … … 86 94 */ 87 95 public function admin_init() { 96 88 97 add_action( 'plugin_action_links', [ $this, 'plugin_links' ], 10, 2 ); 89 98 add_action( 'admin_notices', [ $this, 'licence_error_notices' ] ); 90 99 $this->handle_admin_request(); 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 91 143 } 92 144 … … 172 224 private function get_plugin_version( $plugin_filename ) { 173 225 $plugin_data = $this->get_licence_managed_plugin( $plugin_filename ); 174 if ( ! $plugin_data ) {226 if ( ! $plugin_data ) { 175 227 return false; 176 228 } 229 177 230 $product_slug = $plugin_data['_product_slug']; 178 231 $licence = $this->get_plugin_licence( $product_slug ); 179 if ( ! $licence || empty( $licence['licence_key'] ) ) {180 return false;181 }182 232 183 233 $response = $this->api->plugin_update_check( … … 186 236 'version' => $plugin_data['Version'], 187 237 'api_product_id' => $product_slug, 188 'licence_key' => $licence['licence_key'] ,189 'email' => $licence['email'] ,238 'licence_key' => $licence['licence_key'], 239 'email' => $licence['email'], 190 240 ] 191 241 ); … … 595 645 596 646 $errors = ! empty( $response['errors'] ) ? $response['errors'] : []; 597 $allowed_errors = [ 'no_activation', 'expired_key', 'expiring_soon' ];647 $allowed_errors = [ 'no_activation', 'expired_key', 'expiring_soon' ]; 598 648 $ignored_errors = array_diff( array_keys( $errors ), $allowed_errors ); 599 649 -
wp-job-manager/trunk/languages/wp-job-manager.pot
r2805086 r2833007 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: WP Job Manager 1.3 8.1\n"5 "Project-Id-Version: WP Job Manager 1.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-job-manager/\n" 7 7 "Last-Translator: \n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2022-1 0-25T15:40:11+00:00\n"12 "POT-Creation-Date: 2022-1+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2. 7.1\n"14 "X-Generator: WP-CLI 2.\n" 15 15 "X-Domain: wp-job-manager\n" 16 16 … … 1557 1557 msgstr "" 1558 1558 1559 1560 1561 1562 1563 1559 1564 #: includes/class-wp-job-manager-post-types.php:1604 1560 1565 msgid "Add a salary field, this field is optional." … … 1918 1923 msgstr "" 1919 1924 1920 #: includes/helper/class-wp-job-manager-helper.php: 2791925 #: includes/helper/class-wp-job-manager-helper.php:9 1921 1926 msgid "Manage License (Requires Attention)" 1922 1927 msgstr "" 1923 1928 1924 #: includes/helper/class-wp-job-manager-helper.php: 2821925 #: tests/php/tests/includes/helper/test_class.wp-job-manager-helper.php:2 621929 #: includes/helper/class-wp-job-manager-helper.php:2 1930 #: tests/php/tests/includes/helper/test_class.wp-job-manager-helper.php:2 1926 1931 msgid "Manage License" 1927 1932 msgstr "" 1928 1933 1929 #: includes/helper/class-wp-job-manager-helper.php: 2851934 #: includes/helper/class-wp-job-manager-helper.php:5 1930 1935 #: includes/helper/views/html-licences.php:76 1931 #: tests/php/tests/includes/helper/test_class.wp-job-manager-helper.php:2 781936 #: tests/php/tests/includes/helper/test_class.wp-job-manager-helper.php:2 1932 1937 msgid "Activate License" 1933 1938 msgstr "" 1934 1939 1935 #: includes/helper/class-wp-job-manager-helper.php: 4941940 #: includes/helper/class-wp-job-manager-helper.php:4 1936 1941 msgid "Please enter a valid license key and email address in order to activate this plugin's license." 1937 1942 msgstr "" 1938 1943 1939 #: includes/helper/class-wp-job-manager-helper.php:5 261944 #: includes/helper/class-wp-job-manager-helper.php:56 1940 1945 msgid "Connection failed to the License Key API server - possible server issue." 1941 1946 msgstr "" 1942 1947 1943 #: includes/helper/class-wp-job-manager-helper.php:5 351948 #: includes/helper/class-wp-job-manager-helper.php:55 1944 1949 msgid "Plugin license has been activated." 1945 1950 msgstr "" 1946 1951 1947 #: includes/helper/class-wp-job-manager-helper.php:5 381952 #: includes/helper/class-wp-job-manager-helper.php:58 1948 1953 msgid "An unknown error occurred while attempting to activate the license" 1949 1954 msgstr "" 1950 1955 1951 #: includes/helper/class-wp-job-manager-helper.php: 5581956 #: includes/helper/class-wp-job-manager-helper.php:8 1952 1957 msgid "license is not active." 1953 1958 msgstr "" 1954 1959 1955 #: includes/helper/class-wp-job-manager-helper.php: 5741960 #: includes/helper/class-wp-job-manager-helper.php:4 1956 1961 msgid "Plugin license has been deactivated." 1957 1962 msgstr "" -
wp-job-manager/trunk/readme.txt
r2805091 r2833007 3 3 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 4 4 Requires at least: 5.8 5 Tested up to: 6. 05 Tested up to: 6. 6 6 Requires PHP: 7.2 7 Stable tag: 1.3 8.17 Stable tag: 1.3 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 153 153 154 154 == Changelog == 155 156 157 158 159 155 160 156 161 = 1.38.1 = -
wp-job-manager/trunk/wp-job-manager.php
r2805086 r2833007 4 4 * Plugin URI: https://wpjobmanager.com/ 5 5 * Description: Manage job listings from the WordPress admin panel, and allow users to post jobs directly to your site. 6 * Version: 1.3 8.16 * Version: 1.3 7 7 * Author: Automattic 8 8 * Author URI: https://wpjobmanager.com/ … … 22 22 23 23 // Define constants. 24 define( 'JOB_MANAGER_VERSION', '1.3 8.1' );24 define( 'JOB_MANAGER_VERSION', '1.3' ); 25 25 define( 'JOB_MANAGER_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) ); 26 26 define( 'JOB_MANAGER_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
Note: See TracChangeset
for help on using the changeset viewer.