WordPress.org

Plugin Directory


Ignore:
Timestamp:
08/17/17 10:42:21 (3 months ago)
Author:
bastho
Message:

Fix incompatibilty with PDOS / remove warning

File:
1 edited

Legend:

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

    r1699740 r1714641  
    925925     * @return string 
    926926     */ 
    927     public function the_title($title, $post_id){ 
    928     if(!in_the_loop() || !$this->settings['loopicons']){ 
     927    public function the_title($title, $post_id = null){ 
     928    if(!$post_id || !in_the_loop() || !$this->settings['loopicons']){ 
    929929        return $title; 
    930930    } 
Note: See TracChangeset for help on using the changeset viewer.