Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fenfe1
fenfe1 / class.jsconnect.plugin.php
Created September 24, 2013 15:11
Patch for broken jsConnect plugin for wordpress - vanilla integration. Replace the file /plugins/jsconnect/class.jsconnect.plugin.php with this gist - actual fix is line #92
<?php if (!defined('APPLICATION')) exit();
/**
* @copyright Copyright 2008, 2009 Vanilla Forums Inc.
* @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2
*/
// Define the plugin:
$PluginInfo['jsconnect'] = array(
'Name' => 'Vanilla jsConnect',
'Description' => 'An SSO plugin that uses json(p) to connect to vanilla, allowing for cross-domain sso.',
object(r\Time)#186 (2) {
["positionalArgs":"r\Query":private]=>
array(7) {
[0]=>
object(r\NumberDatum)#185 (3) {
["value":"r\Datum":private]=>
string(4) "2013"
["positionalArgs":"r\Query":private]=>
array(0) {
}