Changeset 3474411
- Timestamp:
- 03/04/2026 10:10:48 AM (4 weeks ago)
- Location:
- easyjobs
- Files:
-
- 10 edited
- 1 copied
-
tags/2.6.9 (copied) (copied from easyjobs/trunk)
-
tags/2.6.9/README.txt (modified) (2 diffs)
-
tags/2.6.9/changelog.txt (modified) (1 diff)
-
tags/2.6.9/easyjobs.php (modified) (2 diffs)
-
tags/2.6.9/includes/class-easyjobs-helper.php (modified) (1 diff)
-
tags/2.6.9/public/includes/class-easyjobs-shortcode.php (modified) (2 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/easyjobs.php (modified) (2 diffs)
-
trunk/includes/class-easyjobs-helper.php (modified) (1 diff)
-
trunk/public/includes/class-easyjobs-shortcode.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easyjobs/tags/2.6.9/README.txt
r3457897 r3474411 5 5 Requires PHP: 5.6 6 6 Tested up to: 6.9 7 Stable tag: 2.6. 87 Stable tag: 2.6.9 8 8 License: GPLv3 or later 9 9 License URI: https://opensource.org/licenses/GPL-3.0 … … 139 139 == Changelog == 140 140 141 = 2.6.9 - 04/03/2026 = 142 * Improved: Optimized job data retrieval by implementing local database caching. 143 * Few minor bug fixes & improvements. 144 141 145 = 2.6.8 - 10/02/2026 = 142 146 * Fixed: Analytics visibility inconsistency between App and Plugin. -
easyjobs/tags/2.6.9/changelog.txt
r3457897 r3474411 1 = 2.6.9 - 04/03/2026 = 2 * Improved: Optimized job data retrieval by implementing local database caching. 3 * Few minor bug fixes & improvements. 4 1 5 = 2.6.8 - 10/02/2026 = 2 6 * Fixed: Analytics visibility inconsistency between App and Plugin. -
easyjobs/tags/2.6.9/easyjobs.php
r3457897 r3474411 11 11 * Plugin URI: https://easy.jobs 12 12 * Description: Easy solution for the job recruitment to attract, manage & hire right talent faster. 13 * Version: 2.6. 813 * Version: 2.6.9 14 14 * Author: easy.jobs 15 15 * Author URI: https://easy.jobs … … 28 28 * Defines CONSTANTS for Whole plugins. 29 29 */ 30 define( 'EASYJOBS_VERSION', '2.6. 8' );30 define( 'EASYJOBS_VERSION', '2.6.9' ); 31 31 define( 'EASYJOBS_PLUGIN_URL', 'https://easy.jobs' ); 32 32 define( 'EASYJOBS_URL', plugins_url( '/', __FILE__ ) ); -
easyjobs/tags/2.6.9/includes/class-easyjobs-helper.php
r3381072 r3474411 176 176 * @since 1.0.0 177 177 * @param $job_id 178 * @param bool $cached 178 179 * @return object|bool 179 180 */ 180 public static function get_job( $job_id ) { 181 public static function get_job( $job_id, $cached = false ) { 182 $job_id = absint( $job_id ); 183 if ( empty( $job_id ) ) { 184 return false; 185 } 186 187 $transient_key = 'easyjobs_job_details_' . $job_id; 188 if ( $cached ) { 189 $cached_job = get_transient( $transient_key ); 190 if ( false !== $cached_job ) { 191 return $cached_job; 192 } 193 } 194 181 195 $job = Easyjobs_Api::get_by_id( 'job', $job_id, 'details' ); 182 196 if ( $job && $job->status == 'success' ) { 197 if ( $cached ) { 198 set_transient( $transient_key, $job->data, DAY_IN_SECONDS ); 199 } 183 200 return $job->data; 184 201 } -
easyjobs/tags/2.6.9/public/includes/class-easyjobs-shortcode.php
r3170680 r3474411 54 54 return ''; 55 55 } 56 57 $job_id = absint( $atts['id'] ); 58 if ( empty( $job_id ) ) { 59 return ''; 60 } 61 56 62 $company = $this->get_company_info(); 57 63 if ( ! empty( $company->company_analytics ) && ! empty( $company->company_analytics->id ) ) { … … 59 65 } 60 66 $landing_page_link = get_the_permalink(get_option('easyjobs_parent_page')); 61 $job = Easyjobs_Helper::get_job( $ atts['id']);67 $job = Easyjobs_Helper::get_job( $job_id, true ); 62 68 ob_start(); 63 69 include Easyjobs_Helper::get_path_by_template($company->selected_template, 'details'); -
easyjobs/trunk/README.txt
r3457897 r3474411 5 5 Requires PHP: 5.6 6 6 Tested up to: 6.9 7 Stable tag: 2.6. 87 Stable tag: 2.6.9 8 8 License: GPLv3 or later 9 9 License URI: https://opensource.org/licenses/GPL-3.0 … … 139 139 == Changelog == 140 140 141 = 2.6.9 - 04/03/2026 = 142 * Improved: Optimized job data retrieval by implementing local database caching. 143 * Few minor bug fixes & improvements. 144 141 145 = 2.6.8 - 10/02/2026 = 142 146 * Fixed: Analytics visibility inconsistency between App and Plugin. -
easyjobs/trunk/changelog.txt
r3457897 r3474411 1 = 2.6.9 - 04/03/2026 = 2 * Improved: Optimized job data retrieval by implementing local database caching. 3 * Few minor bug fixes & improvements. 4 1 5 = 2.6.8 - 10/02/2026 = 2 6 * Fixed: Analytics visibility inconsistency between App and Plugin. -
easyjobs/trunk/easyjobs.php
r3457897 r3474411 11 11 * Plugin URI: https://easy.jobs 12 12 * Description: Easy solution for the job recruitment to attract, manage & hire right talent faster. 13 * Version: 2.6. 813 * Version: 2.6.9 14 14 * Author: easy.jobs 15 15 * Author URI: https://easy.jobs … … 28 28 * Defines CONSTANTS for Whole plugins. 29 29 */ 30 define( 'EASYJOBS_VERSION', '2.6. 8' );30 define( 'EASYJOBS_VERSION', '2.6.9' ); 31 31 define( 'EASYJOBS_PLUGIN_URL', 'https://easy.jobs' ); 32 32 define( 'EASYJOBS_URL', plugins_url( '/', __FILE__ ) ); -
easyjobs/trunk/includes/class-easyjobs-helper.php
r3381072 r3474411 176 176 * @since 1.0.0 177 177 * @param $job_id 178 * @param bool $cached 178 179 * @return object|bool 179 180 */ 180 public static function get_job( $job_id ) { 181 public static function get_job( $job_id, $cached = false ) { 182 $job_id = absint( $job_id ); 183 if ( empty( $job_id ) ) { 184 return false; 185 } 186 187 $transient_key = 'easyjobs_job_details_' . $job_id; 188 if ( $cached ) { 189 $cached_job = get_transient( $transient_key ); 190 if ( false !== $cached_job ) { 191 return $cached_job; 192 } 193 } 194 181 195 $job = Easyjobs_Api::get_by_id( 'job', $job_id, 'details' ); 182 196 if ( $job && $job->status == 'success' ) { 197 if ( $cached ) { 198 set_transient( $transient_key, $job->data, DAY_IN_SECONDS ); 199 } 183 200 return $job->data; 184 201 } -
easyjobs/trunk/public/includes/class-easyjobs-shortcode.php
r3170680 r3474411 54 54 return ''; 55 55 } 56 57 $job_id = absint( $atts['id'] ); 58 if ( empty( $job_id ) ) { 59 return ''; 60 } 61 56 62 $company = $this->get_company_info(); 57 63 if ( ! empty( $company->company_analytics ) && ! empty( $company->company_analytics->id ) ) { … … 59 65 } 60 66 $landing_page_link = get_the_permalink(get_option('easyjobs_parent_page')); 61 $job = Easyjobs_Helper::get_job( $ atts['id']);67 $job = Easyjobs_Helper::get_job( $job_id, true ); 62 68 ob_start(); 63 69 include Easyjobs_Helper::get_path_by_template($company->selected_template, 'details');
Note: See TracChangeset
for help on using the changeset viewer.