Merge pull request #49 from mariohommel/master

Fix adress for twitter widget
This commit is contained in:
Matthias Mees 2016-10-13 12:37:03 +02:00 committed by GitHub
commit 391dc0c34d
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
1.09:
-----
* Fix Adress for Twitter JS-Script to avoid broken security chain when using https.
1.08:
-----
* Added serendipity_request_url API method

View file

@ -34,7 +34,7 @@ class serendipity_event_commentspice extends serendipity_event
'smarty' => '2.6.7',
'php' => '4.1.0'
));
$propbag->add('version', '1.08');
$propbag->add('version', '1.09');
$propbag->add('event_hooks', array(
'entry_display' => true,
@ -456,7 +456,7 @@ class serendipity_event_commentspice extends serendipity_event
}
if (serendipity_db_bool($this->get_config('followme_widget', false))) {
echo '<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>' . "\n";
echo '<script src="//platform.twitter.com/widgets.js" type="text/javascript"></script>' . "\n";
}
}
function commentSaved($eventData, $addData) {