Plugin Directory

Changeset 2403517


Ignore:
Timestamp:
10/20/2020 07:16:18 PM (5 years ago)
Author:
showcaseidx
Message:

Version 3.1.4

Location:
showcase-idx/trunk
Files:
3 edited

Legend:

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

    r2030748 r2403517  
    22
    33add_filter( 'do_parse_request', 'showcaseidx_parse_request', -10, 2 );
    4 function showcaseidx_parse_request( $bool, WP $wp ) {
     4function showcaseidx_parse_request( $continueParsingRequest, WP $wp ) {
    55  $url = parse_url( $_SERVER['REQUEST_URI'] );
    66  $home_url = parse_url( get_home_url() );
     
    2828  // Default Search Page -- this section needs to go last
    2929  if ( preg_match( '#^' . $base . get_option( 'showcaseidx_search_page' ) . '($|/.*)#', $url['path'], $matches ) ) {
     30    // Flag WP to not continue parsing the request; we *OWN* our `showcaseidx_search_page` namespace!!!
     31    $continueParsingRequest = false;
     32    $wp->query_vars = [];
    3033
     34    // grab our info from the URL
    3135    $path = $matches[1];
    32     $query = !isset( $url['query'] ) ?: $url['query'];
    3336
    3437    if ( $path == '' ) {
     
    3841    }
    3942
     43    // render our page
     44    $query = !isset( $url['query'] ) ?: $url['query'];
    4045    showcase_render_search_page( $wp, $path, $query );
    4146  }
    4247
    43   return $bool;
     48  return $continueParsingRequest;
    4449}
    4550
  • showcase-idx/trunk/readme.txt

    r2391079 r2403517  
    55Tested up to: 5.5.1
    66Requires PHP: 5.3.0
    7 Stable tag: 3.1.3
     7Stable tag: 3.1.4
    88
    99The ideal plugin for adding MLS search to your website, portal-quality search, lead generation, and SEO that works.
  • showcase-idx/trunk/showcaseidx.php

    r2391079 r2403517  
    66 * Author: Showcase IDX
    77 * Author URI: https://showcaseidx.com/
    8  * Version: 3.1.3
     8 * Version: 3.1.4
    99 */
    1010
Note: See TracChangeset for help on using the changeset viewer.