Plugin Directory

Changeset 3474411


Ignore:
Timestamp:
03/04/2026 10:10:48 AM (4 weeks ago)
Author:
wpdevteam
Message:

Update to version 2.6.9 from GitHub

Location:
easyjobs
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • easyjobs/tags/2.6.9/README.txt

    r3457897 r3474411  
    55Requires PHP: 5.6
    66Tested up to: 6.9
    7 Stable tag: 2.6.8
     7Stable tag: 2.6.9
    88License: GPLv3 or later
    99License URI: https://opensource.org/licenses/GPL-3.0
     
    139139== Changelog ==
    140140
     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
    141145= 2.6.8 - 10/02/2026 =
    142146* 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
    15= 2.6.8 - 10/02/2026 =
    26* Fixed: Analytics visibility inconsistency between App and Plugin.
  • easyjobs/tags/2.6.9/easyjobs.php

    r3457897 r3474411  
    1111 * Plugin URI:        https://easy.jobs
    1212 * Description:       Easy solution for the job recruitment to attract, manage & hire right talent faster.
    13  * Version:           2.6.8
     13 * Version:           2.6.9
    1414 * Author:            easy.jobs
    1515 * Author URI:        https://easy.jobs
     
    2828 * Defines CONSTANTS for Whole plugins.
    2929 */
    30 define( 'EASYJOBS_VERSION', '2.6.8' );
     30define( 'EASYJOBS_VERSION', '2.6.9' );
    3131define( 'EASYJOBS_PLUGIN_URL', 'https://easy.jobs' );
    3232define( 'EASYJOBS_URL', plugins_url( '/', __FILE__ ) );
  • easyjobs/tags/2.6.9/includes/class-easyjobs-helper.php

    r3381072 r3474411  
    176176     * @since 1.0.0
    177177     * @param $job_id
     178     * @param bool $cached
    178179     * @return object|bool
    179180     */
    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
    181195        $job = Easyjobs_Api::get_by_id( 'job', $job_id, 'details' );
    182196        if ( $job && $job->status == 'success' ) {
     197            if ( $cached ) {
     198                set_transient( $transient_key, $job->data, DAY_IN_SECONDS );
     199            }
    183200            return $job->data;
    184201        }
  • easyjobs/tags/2.6.9/public/includes/class-easyjobs-shortcode.php

    r3170680 r3474411  
    5454            return '';
    5555        }
     56
     57        $job_id = absint( $atts['id'] );
     58        if ( empty( $job_id ) ) {
     59            return '';
     60        }
     61
    5662        $company = $this->get_company_info();
    5763        if ( ! empty( $company->company_analytics ) && ! empty( $company->company_analytics->id ) ) {
     
    5965        }
    6066        $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 );
    6268        ob_start();
    6369        include Easyjobs_Helper::get_path_by_template($company->selected_template, 'details');
  • easyjobs/trunk/README.txt

    r3457897 r3474411  
    55Requires PHP: 5.6
    66Tested up to: 6.9
    7 Stable tag: 2.6.8
     7Stable tag: 2.6.9
    88License: GPLv3 or later
    99License URI: https://opensource.org/licenses/GPL-3.0
     
    139139== Changelog ==
    140140
     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
    141145= 2.6.8 - 10/02/2026 =
    142146* 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
    15= 2.6.8 - 10/02/2026 =
    26* Fixed: Analytics visibility inconsistency between App and Plugin.
  • easyjobs/trunk/easyjobs.php

    r3457897 r3474411  
    1111 * Plugin URI:        https://easy.jobs
    1212 * Description:       Easy solution for the job recruitment to attract, manage & hire right talent faster.
    13  * Version:           2.6.8
     13 * Version:           2.6.9
    1414 * Author:            easy.jobs
    1515 * Author URI:        https://easy.jobs
     
    2828 * Defines CONSTANTS for Whole plugins.
    2929 */
    30 define( 'EASYJOBS_VERSION', '2.6.8' );
     30define( 'EASYJOBS_VERSION', '2.6.9' );
    3131define( 'EASYJOBS_PLUGIN_URL', 'https://easy.jobs' );
    3232define( 'EASYJOBS_URL', plugins_url( '/', __FILE__ ) );
  • easyjobs/trunk/includes/class-easyjobs-helper.php

    r3381072 r3474411  
    176176     * @since 1.0.0
    177177     * @param $job_id
     178     * @param bool $cached
    178179     * @return object|bool
    179180     */
    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
    181195        $job = Easyjobs_Api::get_by_id( 'job', $job_id, 'details' );
    182196        if ( $job && $job->status == 'success' ) {
     197            if ( $cached ) {
     198                set_transient( $transient_key, $job->data, DAY_IN_SECONDS );
     199            }
    183200            return $job->data;
    184201        }
  • easyjobs/trunk/public/includes/class-easyjobs-shortcode.php

    r3170680 r3474411  
    5454            return '';
    5555        }
     56
     57        $job_id = absint( $atts['id'] );
     58        if ( empty( $job_id ) ) {
     59            return '';
     60        }
     61
    5662        $company = $this->get_company_info();
    5763        if ( ! empty( $company->company_analytics ) && ! empty( $company->company_analytics->id ) ) {
     
    5965        }
    6066        $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 );
    6268        ob_start();
    6369        include Easyjobs_Helper::get_path_by_template($company->selected_template, 'details');
Note: See TracChangeset for help on using the changeset viewer.