Changeset 3421484
- Timestamp:
- 12/17/2025 01:59:26 AM (5 weeks ago)
- Location:
- pcrecruiter-extensions
- Files:
-
- 33 added
- 2 edited
-
tags/2.0.2 (added)
-
tags/2.0.2/PCRecruiter-Extensions.php (added)
-
tags/2.0.2/assets (added)
-
tags/2.0.2/assets/css (added)
-
tags/2.0.2/assets/css/pcr-block-bindings-editor.css (added)
-
tags/2.0.2/assets/css/pcr-deactivation-modal.css (added)
-
tags/2.0.2/assets/css/pcr-job-board.css (added)
-
tags/2.0.2/assets/css/pcr-schema-mapper.css (added)
-
tags/2.0.2/assets/css/pcr-settings.css (added)
-
tags/2.0.2/assets/js (added)
-
tags/2.0.2/assets/js/pcr-admin.js (added)
-
tags/2.0.2/assets/js/pcr-block-bindings-editor.js (added)
-
tags/2.0.2/assets/js/pcr-deactivation-handler.js (added)
-
tags/2.0.2/assets/js/pcr-frontend.js (added)
-
tags/2.0.2/assets/js/pcr-schema-mapper.js (added)
-
tags/2.0.2/assets/svg (added)
-
tags/2.0.2/assets/svg/bsky.svg (added)
-
tags/2.0.2/assets/svg/envelope.svg (added)
-
tags/2.0.2/assets/svg/facebook.svg (added)
-
tags/2.0.2/assets/svg/link.svg (added)
-
tags/2.0.2/assets/svg/linkedin.svg (added)
-
tags/2.0.2/assets/svg/x_logo.svg (added)
-
tags/2.0.2/includes (added)
-
tags/2.0.2/includes/class-block-bindings.php (added)
-
tags/2.0.2/includes/class-deactivation-handler.php (added)
-
tags/2.0.2/includes/class-job-manager.php (added)
-
tags/2.0.2/includes/class-schema-frontend.php (added)
-
tags/2.0.2/includes/class-schema-mapper.php (added)
-
tags/2.0.2/includes/class-seo-enhancements.php (added)
-
tags/2.0.2/includes/class-sitemap-integration.php (added)
-
tags/2.0.2/includes/class-social-widget.php (added)
-
tags/2.0.2/phpcs.xml (added)
-
tags/2.0.2/readme.txt (added)
-
trunk/PCRecruiter-Extensions.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pcrecruiter-extensions/trunk/PCRecruiter-Extensions.php
r3421365 r3421484 5 5 * Plugin URI: https://www.pcrecruiter.net 6 6 * Description: Integrates PCRecruiter job boards with WordPress via iframe embed or full job sync with /job/ custom post type. 7 * Version: 2.0. 17 * Version: 2.0.2 8 8 * Requires at least: 5.6 9 9 * Requires PHP: 7.4 … … 167 167 register_deactivation_hook(__FILE__, 'pcrecruiter_deactivate_job_manager_plugin'); 168 168 // Hook to initialize the custom post type 169 add_action('init', ['PCR_Job_Manager', 'register_job_post_type']); 169 add_action('init', 'pcrecruiter_conditional_register_job_post_type'); 170 171 function pcrecruiter_conditional_register_job_post_type() { 172 $options = get_option('pcrecruiter_feed_options', array()); 173 $has_jobboard_key = !empty($options['jobboard_security_key']); 174 175 // Only register job post type if full sync is enabled 176 if ($has_jobboard_key) { 177 PCR_Job_Manager::register_job_post_type(); 178 } 179 } 170 180 171 181 // Add columns to admin area … … 1366 1376 1367 1377 if (isset($input['jobboard_security_key'])) { 1368 $new_input['jobboard_security_key'] = sanitize_text_field($input['jobboard_security_key']); 1369 } 1370 1378 $old_key = $existing_options['jobboard_security_key'] ?? ''; 1379 $new_key = sanitize_text_field($input['jobboard_security_key']); 1380 $new_input['jobboard_security_key'] = $new_key; 1381 1382 // If security key changed (added, removed, or modified), flush rewrite rules 1383 // to ensure /job/ URLs work correctly (or stop working when disabled) 1384 if ($old_key !== $new_key) { 1385 if (!empty($new_key)) { 1386 // Key added/changed: register post type then flush 1387 PCR_Job_Manager::register_job_post_type(); 1388 } else { 1389 // Key removed: unregister post type 1390 PCR_Job_Manager::unregister_job_post_type(); 1391 } 1392 flush_rewrite_rules(); 1393 } 1394 } 1371 1395 if (isset($input['job_404_page'])) { 1372 1396 $new_input['job_404_page'] = sanitize_text_field($input['job_404_page']); -
pcrecruiter-extensions/trunk/readme.txt
r3421369 r3421484 1 1 === PCRecruiter Extensions === 2 Contributors: arothman, mstdev2 Contributors: Main Sequence Technology, Inc. 3 3 Tags: recruiting, staffing, applicant tracking, job board, job posting 4 4 Requires at least: 5.6 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 2.0. 17 Stable tag: 2.0.2 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 33 33 Also: PCRecruiter job XML/JSON feed downloading for integrations or imports. 34 34 35 Full documentation: [https://learning.pcrecruiter.net/site/docs/wordpress/](https://learning.pcrecruiter.net/site/docs/wordpress/) 35 Full documentation: 36 <a href="https://learning.pcrecruiter.net/site/docs/wordpress/">https://learning.pcrecruiter.net/site/docs/wordpress/</a> 36 37 37 38 Support: … … 40 41 == Installation == 41 42 42 1. Upload the plugin ZIP via Plugins -> Add New ->Upload Plugin, or install from WordPress.org43 1. Upload the plugin ZIP via Plugins → Add New → Upload Plugin, or install from WordPress.org 43 44 2. Activate the plugin. 44 45 … … 56 57 1. Create a page and add: 57 58 [PCRecruiter link="jobmanager"] 58 2. Go to Settings -> PCRecruiter Extensions ->Job Board Sync.59 2. Go to Settings → PCRecruiter Extensions → Job Board Sync. 59 60 3. Generate a Sync Token and enter it into the PCR “WordPress Sync Settings” panel. 60 61 … … 112 113 113 114 = Can I customize how job titles display in browser tabs? = 114 Yes, with the full-sync you may configure this in Settings -> PCRecruiter Extensions ->Job Title Format.115 Yes, with the full-sync you may configure this in Settings → PCRecruiter Extensions → Job Title Format. 115 116 116 117 = Does the plugin work with Google Jobs? = … … 118 119 119 120 = Where can I find the full setup guide? = 120 All documentation is online at [https://learning.pcrecruiter.net/site/docs/wordpress/](https://learning.pcrecruiter.net/site/docs/wordpress/) 121 All documentation is online at: 122 <a href="https://learning.pcrecruiter.net/site/docs/wordpress/">https://learning.pcrecruiter.net/site/docs/wordpress/</a> 121 123 122 124 == Changelog == 125 = 2.0.2 - 2024-16-10 = 126 * Accomodate other /job/ plugins in iframe-only mode 123 127 124 128 = 2.0.1 - 2024-16-10 =
Note: See TracChangeset
for help on using the changeset viewer.