WordPress.org

Plugin Directory


Ignore:
Timestamp:
06/23/17 10:18:52 (5 months ago)
Author:
bastho
Message:

4.5.2

  • Retro compatibility in shortcodes callback
  • Display time on multi-day events
File:
1 edited

Legend:

Unmodified
Added
Removed
  • event-post/tags/4.5/inc/shortcodes.php

    r1623022 r1684161  
    1818        // Workaround for ACF select2 bug 
    1919        // see: https://github.com/wp-shortcake/shortcake/issues/660 
    20         add_filter( 'acf/settings/select2_version', function( $version ) { 
    21                 return 4; // 3 or 4 
    22         }); 
     20        add_filter( 'acf/settings/select2_version', array(&$this, 'return4')); 
    2321    } 
    2422 
     
    3028        $this->EP = $EventPost; 
    3129    $this->shortcode_ui(); 
     30    } 
     31 
     32    public function return4(){ 
     33        return 4; 
    3234    } 
    3335 
Note: See TracChangeset for help on using the changeset viewer.