* Also use htmlspecialchars() for the Recent Entries sidebar plugin
(Anson)
This commit is contained in:
@@ -3,6 +3,9 @@
|
|||||||
Version 1.5 ()
|
Version 1.5 ()
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
* Also use htmlspecialchars() for the Recent Entries sidebar plugin
|
||||||
|
(Anson)
|
||||||
|
|
||||||
* Fixed Spartacus download URLs for SF.Net mirror (christian_boltz)
|
* Fixed Spartacus download URLs for SF.Net mirror (christian_boltz)
|
||||||
|
|
||||||
* Allow redirects when fetching remote images (garvinhicking)
|
* Allow redirects when fetching remote images (garvinhicking)
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ class serendipity_plugin_recententries extends serendipity_plugin {
|
|||||||
$propbag->add('description', PLUGIN_RECENTENTRIES_BLAHBLAH);
|
$propbag->add('description', PLUGIN_RECENTENTRIES_BLAHBLAH);
|
||||||
$propbag->add('stackable', true);
|
$propbag->add('stackable', true);
|
||||||
$propbag->add('author', 'Christian Machmeier, Christian Brabandt, Judebert, Don Chambers');
|
$propbag->add('author', 'Christian Machmeier, Christian Brabandt, Judebert, Don Chambers');
|
||||||
$propbag->add('version', '2.0');
|
$propbag->add('version', '2.1');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
@@ -223,7 +223,7 @@ class serendipity_plugin_recententries extends serendipity_plugin {
|
|||||||
$entry['title'] = '#' . $entry['id'];
|
$entry['title'] = '#' . $entry['id'];
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<dt class="serendipity_recententries_entrylink"><a href="' . $entryLink . '" title="' . htmlspecialchars($entry['title']) . '">' . $entry['title'] . '</a></dt>' . "\n"
|
echo '<dt class="serendipity_recententries_entrylink"><a href="' . $entryLink . '" title="' . htmlspecialchars($entry['title']) . '">' . htmlspecialchars($entry['title']) . '</a></dt>' . "\n"
|
||||||
. '<dd class="serendipity_recententries_entrydate serendipitySideBarDate">'
|
. '<dd class="serendipity_recententries_entrydate serendipitySideBarDate">'
|
||||||
. htmlspecialchars(serendipity_strftime($dateformat, $entry['timestamp']))
|
. htmlspecialchars(serendipity_strftime($dateformat, $entry['timestamp']))
|
||||||
. '</dd>' . "\n";
|
. '</dd>' . "\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user