Plugin Directory

Changeset 2923401


Ignore:
Timestamp:
06/08/2023 01:01:09 PM (3 years ago)
Author:
showcaseidx
Message:

Version 3.2.6

Location:
showcase-idx/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • showcase-idx/trunk/3/page.php

    r2848220 r2923401  
    147147
    148148    // 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 ) {
    150150      if ( $query->is_main_query() )
    151151      {
    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
    154159          return $template;
    155160        });
  • showcase-idx/trunk/readme.txt

    r2907172 r2923401  
    55Tested up to: 6.2
    66Requires PHP: 5.3.0
    7 Stable tag: 3.2.5
     7Stable tag: 3.2.6
    88
    99The ideal plugin for adding MLS search to your website, portal-quality search, lead generation, and SEO that works.
     
    142142== Changelog ==
    143143
    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.
    155159
    156160= 3.2.2 =
  • showcase-idx/trunk/showcaseidx.php

    r2907172 r2923401  
    66 * Author: Showcase IDX
    77 * Author URI: https://showcaseidx.com/
    8  * Version: 3.2.5
     8 * Version: 3.2.6
    99 */
    1010
Note: See TracChangeset for help on using the changeset viewer.