parent
368dca4379
commit
b664435ef6
@ -19,7 +19,7 @@ class serendipity_event_entryproperties extends serendipity_event
|
||||
$propbag->add('description', PLUGIN_EVENT_ENTRYPROPERTIES_DESC);
|
||||
$propbag->add('stackable', false);
|
||||
$propbag->add('author', 'Garvin Hicking');
|
||||
$propbag->add('version', '1.41');
|
||||
$propbag->add('version', '1.41.1');
|
||||
$propbag->add('requirements', array(
|
||||
'serendipity' => '1.6',
|
||||
'smarty' => '2.6.27',
|
||||
@ -488,9 +488,7 @@ class serendipity_event_entryproperties extends serendipity_event
|
||||
$plugins = serendipity_plugin_api::get_event_plugins();
|
||||
|
||||
if (is_array($plugins)) {
|
||||
// foreach() operates on copies of values, but we want to operate on references, so we use while()
|
||||
@reset($plugins);
|
||||
while(list($plugin, $plugin_data) = each($plugins)) {
|
||||
foreach($plugins as $plugin => $plugin_data) {
|
||||
if (!is_array($plugin_data['p']->markup_elements)) {
|
||||
continue;
|
||||
}
|
||||
|
1
rss.php
1
rss.php
@ -3,7 +3,6 @@
|
||||
# All rights reserved. See LICENSE file for licensing details
|
||||
|
||||
header('Content-Type: text/xml; charset=utf-8');
|
||||
session_cache_limiter('public');
|
||||
|
||||
@define('IN_RSS', true);
|
||||
include('serendipity_config.inc.php');
|
||||
|
@ -7,7 +7,6 @@ define('IN_installer', true);
|
||||
define('IN_upgrader', true);
|
||||
define('IN_CSS', true);
|
||||
|
||||
session_cache_limiter('public');
|
||||
if (!defined('S9Y_FRAMEWORK')) {
|
||||
include('serendipity_config.inc.php');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user