Update of /cvsroot/php-blog/additional_plugins/serendipity_event_xsstrust
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv3632/serendipity_event_xsstrust
Modified Files:
ChangeLog serendipity_event_xsstrust.php
Log Message:
gitclone.sh autocommit
Index: serendipity_event_xsstrust.php
===================================================================
RCS file: /cvsroot/php-blog/additional_plugins/serendipity_event_xsstrust/serendipity_event_xsstrust.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- serendipity_event_xsstrust.php 14 Mar 2015 01:50:47 -0000 1.9
+++ serendipity_event_xsstrust.php 6 Mar 2017 21:36:20 -0000 1.10
@@ -31,7 +31,7 @@
'smarty' => '2.6.7',
'php' => '4.1.0'
));
- $propbag->add('version', '0.6');
+ $propbag->add('version', '0.7');
$propbag->add('event_hooks', array(
'frontend_display' => true,
'backend_media_check' => true,
@@ -93,7 +93,7 @@
}
}
- function set_config($name, $value) {
+ function set_config($name, $value, $implodekey = '^') {
$fname = $this->instance . '/' . $name;
if (is_array($value)) {
@@ -150,7 +150,7 @@
if (isset($hooks[$event])) {
switch($event) {
case 'backend_entry_presave':
- if (serendipity_db_bool($this->get_config('htmlpurifier')) && !isset($this->trusted_authors[$eventData['authorid']])) {
+ if (serendipity_db_bool($this->get_config('htmlpurifier')) && !isset($this->trusted_authors[$serendipity['authorid']])) {
require_once dirname(__FILE__) . '/htmlpurifier-4.6.0-standalone/HTMLPurifier.standalone.php';
$config = HTMLPurifier_Config::createDefault();
$config->set('Cache.SerializerPath', $serendipity['serendipityPath'] . PATH_SMARTY_COMPILE);
Index: ChangeLog
===================================================================
RCS file: /cvsroot/php-blog/additional_plugins/serendipity_event_xsstrust/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ChangeLog 14 Mar 2015 01:50:47 -0000 1.2
+++ ChangeLog 6 Mar 2017 21:36:20 -0000 1.3
@@ -1,3 +1,8 @@
+0.7:
+----
+Fixed set_config() parameters for current s9y cure
+Fixed wrong variable for current authorid preventing htmlpurifier to properly being executed
+
0.6:
----
|