WordPress.org

Plugin Directory

Changeset 1617766 for event-post


Ignore:
Timestamp:
03/20/17 11:14:14 (5 weeks ago)
Author:
bastho
Message:

PHP7 compliance, fix "Uncaught Error: [] operator not supported for strings"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • event-post/trunk/eventpost.php

    r1614808 r1617766  
    468468        wp_enqueue_script('jquery-effects-core'); 
    469469        wp_enqueue_script('jquery-effects-shake'); 
     470        if(!is_array($deps)){ 
     471            $deps = array('jquery'); 
     472        } 
    470473        if($this->settings['datepicker']=='simple' || (isset($_GET['page']) && $_GET['page']=='event-settings')){ 
    471474            wp_enqueue_script('jquery-ui-datepicker'); 
Note: See TracChangeset for help on using the changeset viewer.