Plugin Directory

Changeset 3477711


Ignore:
Timestamp:
03/09/2026 04:10:34 AM (4 weeks ago)
Author:
rilwis
Message:

Update to version 2.7.3 from GitHub

Location:
auto-listings
Files:
2 added
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • auto-listings/tags/2.7.3/auto-listings.php

    r3420643 r3477711  
    66 * Author URI:       https://wpautolistings.com
    77 * Plugin URI:       https://wpautolistings.com
    8  * Version:          2.7.2
     8 * Version:          2.7.3
    99 * Text Domain:      auto-listings
    1010 * License:          GPLv3
  • auto-listings/tags/2.7.3/bootstrap.php

    r3190866 r3477711  
    3838    new Frontend\Main();
    3939    new Frontend\TemplateLoader();
    40     new Frontend\Assets();
    41 
    42     new SearchForm\Shortcode\Form();
    43     $control = new SearchForm\Shortcode\Control();
    44     new SearchForm\Shortcode\Field( $control );
    45     new SearchForm\Shortcode\Extras();
    46     new SearchForm\Shortcode\Button();
    4740}
     41new Frontend\Assets();
     42new SearchForm\Shortcode\Form();
     43$control = new SearchForm\Shortcode\Control();
     44new SearchForm\Shortcode\Field( $control );
     45new SearchForm\Shortcode\Extras();
     46new SearchForm\Shortcode\Button();
  • auto-listings/tags/2.7.3/readme.txt

    r3420643 r3477711  
    33Tags:              car dealer, car listings, auto listings, car dealership
    44Requires at least: 6.2
    5 Tested up to:      6.9
    6 Stable tag:        2.7.2
     5Tested up to:      6.9.1
     6Stable tag:        2.7.3
    77Requires PHP:      7.2
    88License:           GPLv3
     
    9090- [Meta Box](https://metabox.io) - A powerful WordPress plugin for creating custom post types and custom fields.
    9191- [Slim SEO](https://wpslimseo.com) - A fast, lightweight and full-featured SEO plugin for WordPress with minimal configuration.
     92- [Falcon](https://wpfalcon.pro) - A lightweight companion for making WordPress faster, cleaner, and more secure.
    9293- [GretaThemes](https://gretathemes.com) - Free and premium WordPress themes that clean, simple and just work.
    93 
    9494
    9595== Installation ==
     
    133133== Changelog ==
    134134
     135= 2.7.3 - 2026-03-09 =
     136- Supports Elementor Pro template overrides
     137- Support search form for Elementor
     138
    135139= 2.7.2 - 2025-12-16 =
    136140- Fix cross site scripting
  • auto-listings/tags/2.7.3/src/Frontend/TemplateLoader.php

    r2451153 r3477711  
    2525     */
    2626    public function template_include( $template ) {
     27
     28        if ( class_exists( '\ElementorPro\Modules\ThemeBuilder\Module' ) ) {
     29            $location = '';
     30            if ( is_single() && get_post_type() === 'auto-listing' ) {
     31                $location = 'single';
     32            } elseif ( is_post_type_archive( 'auto-listing' ) || is_listing_search() || is_listing_taxonomy() ) {
     33                $location = 'archive';
     34            }
     35
     36            if ( ! empty( $location ) ) {
     37                $document = \ElementorPro\Modules\ThemeBuilder\Module::instance()->get_conditions_manager()->get_documents_for_location( $location );
     38                if ( ! empty( $document ) ) {
     39                    return $template;
     40                }
     41            }
     42        }
    2743        $file = '';
    2844
     
    3147        }
    3248
    33         if ( is_post_type_archive( 'auto-listing' ) ||
    34             is_listing_search() ||
    35             is_listing_taxonomy()
    36         ) {
     49        if ( is_post_type_archive( 'auto-listing' ) || is_listing_search() || is_listing_taxonomy() ) {
    3750            $file = 'archive-listing.php';
    3851        }
  • auto-listings/tags/2.7.3/src/Plugin.php

    r3420643 r3477711  
    4141        define( 'AUTO_LISTINGS_URL', plugin_dir_url( $this->file ) );
    4242        define( 'AUTO_LISTINGS_BASENAME', plugin_basename( $this->file ) );
    43         define( 'AUTO_LISTINGS_VERSION', '2.7.2' );
     43        define( 'AUTO_LISTINGS_VERSION', '2.7.3' );
    4444        define( 'AUTO_LISTINGS_DB_VERSION', '2' );
    4545    }
  • auto-listings/tags/2.7.3/src/SearchForm/Shortcode/Form.php

    r3190866 r3477711  
    88
    99    public function render( $atts ) {
    10         if ( is_admin() ) {
    11             return '';
    12         }
    13 
    1410        $atts = shortcode_atts(
    1511            apply_filters( 'als_shortcode_atts', [
  • auto-listings/trunk/auto-listings.php

    r3420643 r3477711  
    66 * Author URI:       https://wpautolistings.com
    77 * Plugin URI:       https://wpautolistings.com
    8  * Version:          2.7.2
     8 * Version:          2.7.3
    99 * Text Domain:      auto-listings
    1010 * License:          GPLv3
  • auto-listings/trunk/bootstrap.php

    r3190866 r3477711  
    3838    new Frontend\Main();
    3939    new Frontend\TemplateLoader();
    40     new Frontend\Assets();
    41 
    42     new SearchForm\Shortcode\Form();
    43     $control = new SearchForm\Shortcode\Control();
    44     new SearchForm\Shortcode\Field( $control );
    45     new SearchForm\Shortcode\Extras();
    46     new SearchForm\Shortcode\Button();
    4740}
     41new Frontend\Assets();
     42new SearchForm\Shortcode\Form();
     43$control = new SearchForm\Shortcode\Control();
     44new SearchForm\Shortcode\Field( $control );
     45new SearchForm\Shortcode\Extras();
     46new SearchForm\Shortcode\Button();
  • auto-listings/trunk/readme.txt

    r3420643 r3477711  
    33Tags:              car dealer, car listings, auto listings, car dealership
    44Requires at least: 6.2
    5 Tested up to:      6.9
    6 Stable tag:        2.7.2
     5Tested up to:      6.9.1
     6Stable tag:        2.7.3
    77Requires PHP:      7.2
    88License:           GPLv3
     
    9090- [Meta Box](https://metabox.io) - A powerful WordPress plugin for creating custom post types and custom fields.
    9191- [Slim SEO](https://wpslimseo.com) - A fast, lightweight and full-featured SEO plugin for WordPress with minimal configuration.
     92- [Falcon](https://wpfalcon.pro) - A lightweight companion for making WordPress faster, cleaner, and more secure.
    9293- [GretaThemes](https://gretathemes.com) - Free and premium WordPress themes that clean, simple and just work.
    93 
    9494
    9595== Installation ==
     
    133133== Changelog ==
    134134
     135= 2.7.3 - 2026-03-09 =
     136- Supports Elementor Pro template overrides
     137- Support search form for Elementor
     138
    135139= 2.7.2 - 2025-12-16 =
    136140- Fix cross site scripting
  • auto-listings/trunk/src/Frontend/TemplateLoader.php

    r2451153 r3477711  
    2525     */
    2626    public function template_include( $template ) {
     27
     28        if ( class_exists( '\ElementorPro\Modules\ThemeBuilder\Module' ) ) {
     29            $location = '';
     30            if ( is_single() && get_post_type() === 'auto-listing' ) {
     31                $location = 'single';
     32            } elseif ( is_post_type_archive( 'auto-listing' ) || is_listing_search() || is_listing_taxonomy() ) {
     33                $location = 'archive';
     34            }
     35
     36            if ( ! empty( $location ) ) {
     37                $document = \ElementorPro\Modules\ThemeBuilder\Module::instance()->get_conditions_manager()->get_documents_for_location( $location );
     38                if ( ! empty( $document ) ) {
     39                    return $template;
     40                }
     41            }
     42        }
    2743        $file = '';
    2844
     
    3147        }
    3248
    33         if ( is_post_type_archive( 'auto-listing' ) ||
    34             is_listing_search() ||
    35             is_listing_taxonomy()
    36         ) {
     49        if ( is_post_type_archive( 'auto-listing' ) || is_listing_search() || is_listing_taxonomy() ) {
    3750            $file = 'archive-listing.php';
    3851        }
  • auto-listings/trunk/src/Plugin.php

    r3420643 r3477711  
    4141        define( 'AUTO_LISTINGS_URL', plugin_dir_url( $this->file ) );
    4242        define( 'AUTO_LISTINGS_BASENAME', plugin_basename( $this->file ) );
    43         define( 'AUTO_LISTINGS_VERSION', '2.7.2' );
     43        define( 'AUTO_LISTINGS_VERSION', '2.7.3' );
    4444        define( 'AUTO_LISTINGS_DB_VERSION', '2' );
    4545    }
  • auto-listings/trunk/src/SearchForm/Shortcode/Form.php

    r3190866 r3477711  
    88
    99    public function render( $atts ) {
    10         if ( is_admin() ) {
    11             return '';
    12         }
    13 
    1410        $atts = shortcode_atts(
    1511            apply_filters( 'als_shortcode_atts', [
Note: See TracChangeset for help on using the changeset viewer.