Plugin Directory

Changeset 3078348


Ignore:
Timestamp:
04/28/2024 09:58:56 PM (2 years ago)
Author:
lesion
Message:

tagging version 1.12

Location:
wpgancio/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wpgancio/trunk/gancio.php

    r3078344 r3078348  
    44Plugin URI:  https://gancio.org
    55Description: Connects an user of a gancio instance to a Wordpress user so that published events are automatically pushed with Gancio API.
    6 Version:     1.11
     6Version:     1.12
    77Author:      Gancio
    88License:  AGPL 3.0
  • wpgancio/trunk/oauth.php

    r3078340 r3078348  
    99  $event = get_post( $post_id );
    1010
    11   printf(eo_get_share($post_id));
    1211  // do not save if it's a draft
    13   if ($event->post_status != 'publish' || !eo_get_share($post_id) ) {
    14     printf("This event shouldn't be shared");
     12  if ($event->post_status != 'publish') {
    1513    return;
    1614  }
     
    2624  }
    2725
    28 
    29   $gancio_id = get_post_meta($post_id, 'wpgancio_gancio_id', TRUE);
    30 
    3126  $start_datetime = eo_get_schedule_start( 'U', $post_id );
    3227
     
    3530  $place_name = eo_get_venue_name($venue_id);
    3631  $place_address = eo_get_venue_address($venue_id);
    37   $instance_url = get_option('wpgancio_instance_url') ?: get_site_option('wpgancio_instance_url');
    3832
    3933  $body = array (
     
    5347
    5448  wpgancio_send_event_to_instance($body, $post_id);
    55 
    56   set_transient("wpgancio_message_{$post_id}", "Event updated. <a href='{$event_url}'>{$event_url}</a>");
    57   update_post_meta($post_id, 'wpgancio_gancio_id', intval($data->id));
    5849}
    5950
     
    10192  }
    10293 
    103   // gancio instance details
    104   $gancio_id = get_post_meta($post_id, 'wpgancio_gancio_id', TRUE);
    105   $instance_url = get_option('wpgancio_instance_url') ?: get_site_option('wpgancio_instance_url');
    106 
    10794  // get the event start time
    10895  // the timestamp generated byt the plugin function is 2h shifted, substract 7200 s --> 2h
  • wpgancio/trunk/readme.txt

    r3078342 r3078348  
    55Requires at least: 4.7
    66Tested up to: 6.5
    7 Stable tag: 1.11
     7Stable tag: 1.12
    88Requires PHP: 7.0
    99License: AGPLv3 or later
     
    1919
    2020== Changelog ==
     21
     22= 1.12 =
     23* Restore Event Organizer functionality
    2124
    2225= 1.11 =
Note: See TracChangeset for help on using the changeset viewer.