Changeset 3477711
- Timestamp:
- 03/09/2026 04:10:34 AM (4 weeks ago)
- Location:
- auto-listings
- Files:
-
- 2 added
- 12 edited
- 1 copied
-
tags/2.7.3 (copied) (copied from auto-listings/trunk)
-
tags/2.7.3/auto-listings.php (modified) (1 diff)
-
tags/2.7.3/bootstrap.php (modified) (1 diff)
-
tags/2.7.3/pnpm-lock.yaml (added)
-
tags/2.7.3/readme.txt (modified) (3 diffs)
-
tags/2.7.3/src/Frontend/TemplateLoader.php (modified) (2 diffs)
-
tags/2.7.3/src/Plugin.php (modified) (1 diff)
-
tags/2.7.3/src/SearchForm/Shortcode/Form.php (modified) (1 diff)
-
trunk/auto-listings.php (modified) (1 diff)
-
trunk/bootstrap.php (modified) (1 diff)
-
trunk/pnpm-lock.yaml (added)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/src/Frontend/TemplateLoader.php (modified) (2 diffs)
-
trunk/src/Plugin.php (modified) (1 diff)
-
trunk/src/SearchForm/Shortcode/Form.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
auto-listings/tags/2.7.3/auto-listings.php
r3420643 r3477711 6 6 * Author URI: https://wpautolistings.com 7 7 * Plugin URI: https://wpautolistings.com 8 * Version: 2.7. 28 * Version: 2.7.3 9 9 * Text Domain: auto-listings 10 10 * License: GPLv3 -
auto-listings/tags/2.7.3/bootstrap.php
r3190866 r3477711 38 38 new Frontend\Main(); 39 39 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();47 40 } 41 new Frontend\Assets(); 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(); -
auto-listings/tags/2.7.3/readme.txt
r3420643 r3477711 3 3 Tags: car dealer, car listings, auto listings, car dealership 4 4 Requires at least: 6.2 5 Tested up to: 6.9 6 Stable tag: 2.7. 25 Tested up to: 6.9.1 6 Stable tag: 2.7.3 7 7 Requires PHP: 7.2 8 8 License: GPLv3 … … 90 90 - [Meta Box](https://metabox.io) - A powerful WordPress plugin for creating custom post types and custom fields. 91 91 - [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. 92 93 - [GretaThemes](https://gretathemes.com) - Free and premium WordPress themes that clean, simple and just work. 93 94 94 95 95 == Installation == … … 133 133 == Changelog == 134 134 135 = 2.7.3 - 2026-03-09 = 136 - Supports Elementor Pro template overrides 137 - Support search form for Elementor 138 135 139 = 2.7.2 - 2025-12-16 = 136 140 - Fix cross site scripting -
auto-listings/tags/2.7.3/src/Frontend/TemplateLoader.php
r2451153 r3477711 25 25 */ 26 26 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 } 27 43 $file = ''; 28 44 … … 31 47 } 32 48 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() ) { 37 50 $file = 'archive-listing.php'; 38 51 } -
auto-listings/tags/2.7.3/src/Plugin.php
r3420643 r3477711 41 41 define( 'AUTO_LISTINGS_URL', plugin_dir_url( $this->file ) ); 42 42 define( 'AUTO_LISTINGS_BASENAME', plugin_basename( $this->file ) ); 43 define( 'AUTO_LISTINGS_VERSION', '2.7. 2' );43 define( 'AUTO_LISTINGS_VERSION', '2.7.3' ); 44 44 define( 'AUTO_LISTINGS_DB_VERSION', '2' ); 45 45 } -
auto-listings/tags/2.7.3/src/SearchForm/Shortcode/Form.php
r3190866 r3477711 8 8 9 9 public function render( $atts ) { 10 if ( is_admin() ) {11 return '';12 }13 14 10 $atts = shortcode_atts( 15 11 apply_filters( 'als_shortcode_atts', [ -
auto-listings/trunk/auto-listings.php
r3420643 r3477711 6 6 * Author URI: https://wpautolistings.com 7 7 * Plugin URI: https://wpautolistings.com 8 * Version: 2.7. 28 * Version: 2.7.3 9 9 * Text Domain: auto-listings 10 10 * License: GPLv3 -
auto-listings/trunk/bootstrap.php
r3190866 r3477711 38 38 new Frontend\Main(); 39 39 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();47 40 } 41 new Frontend\Assets(); 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(); -
auto-listings/trunk/readme.txt
r3420643 r3477711 3 3 Tags: car dealer, car listings, auto listings, car dealership 4 4 Requires at least: 6.2 5 Tested up to: 6.9 6 Stable tag: 2.7. 25 Tested up to: 6.9.1 6 Stable tag: 2.7.3 7 7 Requires PHP: 7.2 8 8 License: GPLv3 … … 90 90 - [Meta Box](https://metabox.io) - A powerful WordPress plugin for creating custom post types and custom fields. 91 91 - [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. 92 93 - [GretaThemes](https://gretathemes.com) - Free and premium WordPress themes that clean, simple and just work. 93 94 94 95 95 == Installation == … … 133 133 == Changelog == 134 134 135 = 2.7.3 - 2026-03-09 = 136 - Supports Elementor Pro template overrides 137 - Support search form for Elementor 138 135 139 = 2.7.2 - 2025-12-16 = 136 140 - Fix cross site scripting -
auto-listings/trunk/src/Frontend/TemplateLoader.php
r2451153 r3477711 25 25 */ 26 26 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 } 27 43 $file = ''; 28 44 … … 31 47 } 32 48 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() ) { 37 50 $file = 'archive-listing.php'; 38 51 } -
auto-listings/trunk/src/Plugin.php
r3420643 r3477711 41 41 define( 'AUTO_LISTINGS_URL', plugin_dir_url( $this->file ) ); 42 42 define( 'AUTO_LISTINGS_BASENAME', plugin_basename( $this->file ) ); 43 define( 'AUTO_LISTINGS_VERSION', '2.7. 2' );43 define( 'AUTO_LISTINGS_VERSION', '2.7.3' ); 44 44 define( 'AUTO_LISTINGS_DB_VERSION', '2' ); 45 45 } -
auto-listings/trunk/src/SearchForm/Shortcode/Form.php
r3190866 r3477711 8 8 9 9 public function render( $atts ) { 10 if ( is_admin() ) {11 return '';12 }13 14 10 $atts = shortcode_atts( 15 11 apply_filters( 'als_shortcode_atts', [
Note: See TracChangeset
for help on using the changeset viewer.