Plugin Directory

Changeset 2858708


Ignore:
Timestamp:
02/02/2023 02:10:40 AM (3 years ago)
Author:
marcshowpass
Message:

override_q parameter

Location:
showpass/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • showpass/trunk/readme.txt

    r2813893 r2858708  
    33Requires at least: 4.9
    44Tested up to: 6.0.2
    5 Stable tag: 3.7.0
     5Stable tag: 3.7.1
    66Requires PHP: 5.4.45
    77Contributors: marcshowpass, spapril, spzachary
  • showpass/trunk/showpass-wordpress-plugin-shortcode.php

    r2813893 r2858708  
    9090      # get any query parameters from URL
    9191      $parameters = $_GET;
     92
    9293      foreach ($parameters as $parameter => $value) {
    93         if ($parameter == 'q') {
     94        if ($parameter == 'q' && !isset($atts['override_q'])) {
    9495          $final_api_url .= "&" . $parameter . "=" . showpass_utf8_urldecode($value);
    9596        } else if ($parameter == 'tags') {
     
    175176        $final_api_url .= "&id__in=" . $event_ids;
    176177      }
     178
    177179    }
    178180
     
    899901  if (!is_admin()) {
    900902    $data = call_showpass_api($final_api_url);
    901 
    902903    $events = array();
    903904    $sort_order = explode(',', $event_ids);
  • showpass/trunk/showpass-wordpress-plugin.php

    r2813893 r2858708  
    55     Description: List events, display event details and products. Use the Showpass purchase widget for on site ticket & product purchases all with easy to use shortcodes. See our git repo here for full documentation. https://github.com/showpass/showpass-wordpress-plugin
    66     Author: Showpass / Up In Code Inc.
    7      Version: 3.7.0
     7     Version: 3.7.1
    88     Author URI: https://www.showpass.com
    99     */
Note: See TracChangeset for help on using the changeset viewer.