Plugin Directory

Changeset 2212820


Ignore:
Timestamp:
12/16/2019 11:01:49 AM (6 years ago)
Author:
kerkenit
Message:

Release 1.2.7

Location:
promissa/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • promissa/trunk/functions.php

    r2212778 r2212820  
    3939            $response = wp_remote_get( $url, $args );
    4040            $body = wp_remote_retrieve_body( $response );
     41            //var_dump($body);
    4142
    4243            $manage = json_decode($body, true);
  • promissa/trunk/promissa.php

    r2212778 r2212820  
    44    Plugin URI: https://www.promissa.nl/plugins/wordpress
    55    Description: This plugin will give you shortcodes and widgets with the latest masses and events of Pro Missa.
    6     Version: 1.2.6
     6    Version: 1.2.7
    77    Author: Kerk en IT
    88    Author URI: https://www.kerkenit.nl
  • promissa/trunk/readme.txt

    r2212778 r2212820  
    8181== Changelog ==
    8282
     83= 1.2.7 =
     84
     85* Added support for advanced filtering
     86* Bugfixes
     87
    8388= 1.2.6 =
    8489
    85 * Added paging in upcomming masses widget
     90* Added paging in upcoming masses widget
    8691* Bugfixes
    8792
  • promissa/trunk/shortcodes/upcoming_mass.php

    r2212778 r2212820  
    2121        endif;
    2222        if($single_church) :
    23             $masses = ProMissaREST('Schedule', '?size=' . $limit . $offset . '&filter=church_ID,eq,' . $church_id);
     23            $masses = ProMissaREST('Schedule', '?size=' . $limit . $offset . '&filter=church_ID,eq,' . html_entity_decode($church_id));
     24            if(strpos($church_id, '&') !== -1) :
     25                $church_id = explode('&', $church_id)[0];
     26            endif;
    2427        else :
    2528            $masses = ProMissaREST('Schedule', '?size=' . $limit . $offset);
    2629        endif;
     30
    2731        $output = '';
    2832        if(!$single_church && $content != null && !empty($content)) :
Note: See TracChangeset for help on using the changeset viewer.