Plugin Directory

Changeset 683387

Timestamp:
03/17/2013 08:40:15 PM (11 years ago)
Author:
stephenh1988
Message:

Fixing function duplication in 1.8

Location:
event-organiser/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • event-organiser/trunk/event-organiser.php

    r683356 r683387  
    33Plugin Name: Event Organiser
    44Plugin URI: http://www.wp-event-organiser.com
    5 Version: 1.8
     5Version: 1.8
    66Description: Creates a custom post type 'events' with features such as reoccurring events, venues, Google Maps, calendar views and events and venue pages
    77Author: Stephen Harris
     
    4242 */
    4343global $eventorganiser_db_version;
    44 $eventorganiser_db_version = '1.8';
     44$eventorganiser_db_version = '1.8';
    4545
    4646
  • event-organiser/trunk/includes/event-organiser-register.php

    r683356 r683387  
    115115add_action( 'admin_init', 'eventorganiser_register_scripts', 5 );
    116116
    117 
    118  /**
    119  * The "Comprehensive Google Map Plugin" plug-in deregisters all other Google scripts registered
    120  * by other plug-ins causing these plug-ins not to function. This plug-in removes that behaviour.
    121  *
    122  * Of course if two google scripts are loaded there may be problems, but this is better than always having
    123  * experiencing a 'bug'. At time writing the function responsible `cgmp_google_map_deregister_scripts()`
    124  * can be found here {@see https://github.com/azagniotov/Comprehensive-Google-Map-Plugin/blob/master/functions.php#L520 }
    125  *
    126  * @see https://github.com/stephenharris/Event-Organiser/issues/49
    127  * @see http://wordpress.org/support/topic/googlemap-doesnt-shown-on-event-detail-page
    128  * @since 1.7.4
    129  * @ignore
    130  * @access private
    131  */
    132 function eventorganiser_cgmp_workaround(){
    133     remove_action( 'wp_head', 'cgmp_google_map_deregister_scripts', 200 );
    134 }
    135 add_action( 'wp_head', 'eventorganiser_cgmp_workaround', 1 );
    136117
    137118 /**
  • event-organiser/trunk/readme.txt

    r683356 r683387  
    55Requires at least: 3.3
    66Tested up to: 3.5
    7 Stable tag: 1.8
     7Stable tag: 1.8
    88License: GPLv3
    99
Note: See TracChangeset for help on using the changeset viewer.