before more tag bug FIXED in podpress
-
a bug has crept in somewhere between 7.7 and 8.8 which stops the player appearing if you set “before <!–more–> tag” to NO.
podpress_class.php — search for “if(!$hasLocationDefined)” and look at the logic on the next line
in 7.7 (line 589)
if($this->settings['contentBeforeMore'] == 'no') { return $content; }
in 8.8 (line 663)
if($this->settings['contentBeforeMore'] == 'no' && strstr($content, '#more')) { return $content; }
i edited back to the 7.7 version and it seems to work as desired. this makes sense as the 8.8 version just returns if you set NO regardless. whereas 7.7 if you set NO and there IS a more tag in your post.
(I’m posting here rather than the podpress forum cos i’m reg’d here!)
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘before more tag bug FIXED in podpress’ is closed to new replies.