Skip to content

Commit

Permalink
Merge branch 'dev-hiresuit' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
nithinjohn22 committed Jan 2, 2025
2 parents 2b0645f + ffcb7fb commit 0b31fca
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inc/template-functions-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function awsm_block_jobs_load_more( $query, $shortcode_atts = array() ) {
if ( AWSM_Job_Openings::is_default_pagination( $shortcode_atts ) ) {
$paged = ( $query->query_vars['paged'] ) ? $query->query_vars['paged'] : 1;
if ( $paged < $max_num_pages ) {
$load_more_content = sprintf( '<div class="awsm-b-jobs-pagination awsm-b-load-more-main"><a href="#" class="awsm-b-load-more awsm-b-load-more-btn" data-page="%2$s">%1$s</a></div>', esc_html__( 'Load more...', 'wp-job-openings' ), esc_attr( $paged ) );
$load_more_content = sprintf( '<div class="awsm-b-jobs-pagination awsm-b-load-more-main"><a href="#" class="awsm-b-load-more awsm-b-load-more-btn" data-page="%2$s">%1$s</a></div>', esc_html__( 'Load more', 'wp-job-openings' ), esc_attr( $paged ) );
/**
* Filters the load more content.
*
Expand Down
2 changes: 1 addition & 1 deletion inc/template-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ function awsm_jobs_load_more( $query, $shortcode_atts = array() ) {
if ( AWSM_Job_Openings::is_default_pagination( $shortcode_atts ) ) {
$paged = ( $query->query_vars['paged'] ) ? $query->query_vars['paged'] : 1;
if ( $paged < $max_num_pages ) {
$load_more_content = sprintf( '<div class="awsm-jobs-pagination awsm-load-more-main"><a href="#" class="awsm-load-more awsm-load-more-btn" data-page="%2$s">%1$s</a></div>', esc_html__( 'Load more...', 'wp-job-openings' ), esc_attr( $paged ) );
$load_more_content = sprintf( '<div class="awsm-jobs-pagination awsm-load-more-main"><a href="#" class="awsm-load-more awsm-load-more-btn" data-page="%2$s">%1$s</a></div>', esc_html__( 'Load more', 'wp-job-openings' ), esc_attr( $paged ) );
/**
* Filters the load more content.
*
Expand Down
1 change: 0 additions & 1 deletion wp-job-openings.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ public function check_pro_version_for_free_plugin() {

if ( version_compare( $pro_version, $required_pro_version, '<' ) ) {
add_action( 'admin_notices', array( $this, 'pro_version_admin_notice' ) );
deactivate_plugins( AWSM_JOBS_PRO_PLUGIN_BASENAME );
}
}
}
Expand Down

0 comments on commit 0b31fca

Please sign in to comment.