Changeset 2923401
- Timestamp:
- 06/08/2023 01:01:09 PM (3 years ago)
- Location:
- showcase-idx/trunk
- Files:
-
- 3 edited
-
3/page.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
showcaseidx.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
showcase-idx/trunk/3/page.php
r2848220 r2923401 147 147 148 148 // apply these to whatever page we generate 149 add_filter( 'posts_pre_query', function ( $posts, WP_Query $query ) use ( $page ) {149 add_filter( 'posts_pre_query', function ( $posts, WP_Query $query ) use ( $page, $widget ) { 150 150 if ( $query->is_main_query() ) 151 151 { 152 add_filter( 'template_include', function( $template ){ 153 status_header( 200 ); 152 add_filter( 'template_include', function( $template ) use ( $widget ) { 153 if ( $widget->http_status == '404' ) { 154 status_header( 404 ); 155 } else { 156 status_header( 200 ); 157 } 158 154 159 return $template; 155 160 }); -
showcase-idx/trunk/readme.txt
r2907172 r2923401 5 5 Tested up to: 6.2 6 6 Requires PHP: 5.3.0 7 Stable tag: 3.2. 57 Stable tag: 3.2.6 8 8 9 9 The ideal plugin for adding MLS search to your website, portal-quality search, lead generation, and SEO that works. … … 142 142 == Changelog == 143 143 144 =3.2.5 = 145 *Added compatiblity with WordPress 6.2. 146 *Addresses a PHP issue that occurred for some sites when installing the IDX plugin on PHP 8. 147 148 =3.2.4 = 149 *Fixed an Elementor theme conflict. 150 151 =3.2.3 = 152 *New Map Display - Take advantage of Showcase IDX’s new side-by-side map display option on all Premium Accounts! 153 *Wordpress 6 made changes to how plugins can build custom pages. It introduced a new and better way, however, it caused our existing solution to throw a 404. While listing pages loaded without issue on sites, there was an underlying 404 and affecting Google results. As a temporary fix, we force a 200 status when we render the search page. 154 *Added compatibility with WordPress 6.1.1. 144 = 3.2.6 = 145 146 * Enhancing the error handling capabilities for listings, further aligning with SEO best practices. 147 148 = 3.2.5 = 149 * Added compatiblity with WordPress 6.2. 150 * Addresses a PHP issue that occurred for some sites when installing the IDX plugin on PHP 8. 151 152 = 3.2.4 = 153 * Fixed an Elementor theme conflict. 154 155 = 3.2.3 = 156 * New Map Display - Take advantage of Showcase IDX’s new side-by-side map display option on all Premium Accounts! 157 * Wordpress 6 made changes to how plugins can build custom pages. It introduced a new and better way, however, it caused our existing solution to throw a 404. While listing pages loaded without issue on sites, there was an underlying 404 and affecting Google results. As a temporary fix, we force a 200 status when we render the search page. 158 * Added compatibility with WordPress 6.1.1. 155 159 156 160 = 3.2.2 = -
showcase-idx/trunk/showcaseidx.php
r2907172 r2923401 6 6 * Author: Showcase IDX 7 7 * Author URI: https://showcaseidx.com/ 8 * Version: 3.2. 58 * Version: 3.2.6 9 9 */ 10 10
Note: See TracChangeset
for help on using the changeset viewer.