This plugin stopped working, and actually killed the whole site, when I switched my server from PHP 5 to PHP 7
]]>Hi there,
I’ve been using your plugin for a while with no problems but I noticed today that it was causing my comments to fail to display their content in the admin comments page. It’s possibly an interaction with a more recently updated plugin however in my tests only this plugin being loaded causes the comments to go invisible.
]]>Any plans to add support for Swift please?
Thanks
Maciej
Using newest version of WordPress, I can see in debug mode this warning:
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /Applications/AMPPS/www/mysitetest/wp-content/plugins/wp-code-highlight/wp-code-highlight.php on line 68
Hope it could be useful
]]>Hi,
I am looking for a code highlighter plugin. Your plugin seems to be very nice. However, no new version since 1 year… So, is this plugin still supported ?
Thanks ! ??
++
Characters < and > are not allowed in wp posts – it creates a mess because the browser sees them as html tags. Hence, I’ve had to swap all < and > in my code with & lt; and & gt;
However, after applying this plugin, they now show as entities, not as intended. If I change it back to < and >, it will mean, that the moment I turn this plugin off, all my pages containing code with < and > will break.
Please help, what can I do about that?
]]>Hey,
I’ve been encountering the plugin reverting to the black-on-black theme, no matter what I set it to. It seems to work for a while, but then it will revert.
Please help; this is causing a lot of problems on my end.
]]>This is a great plug-in. One suggestion is to have the ability of including WP shortcode format i.e. “[XXX]” into the pre block. The WP shortcode should be treated as other language tags. Thanks!
]]>Hi there,
You have used following code in “wp-code-highlight.php” file
window.onload = function(){prettyPrint();};
which does not let run the window.onload
function defined in other plugins/themes activated at websites. This, in turn, breaks the functionality of the website which uses your plugin.
So, you must change that code to following:
function boliqOnLoad(func){
var boliqOldOnLoad = window.onload;
if (typeof window.onload != 'function') {
window.onload = func
} else {
window.onload = function () {
boliqOldOnLoad();
func()
}
}
}
boliqOnLoad(function(){
window.onload = function(){prettyPrint();};
});
Above will not cause conflict with window.onload
function of any other plugin/theme.
The ‘>’ in the “Usage” string is being converted to the HTML escape code (&\gt;).
import sys
import json
if len(sys.argv) != 2:
print 'Usage: jsonminify.py infile > outfile'
else:
fname = sys.argv[1]
with open(fname,'r') as f:
data = json.load(f)
print json.dumps(data)
]]>
如题,编辑器上的按钮出不来。
]]>After installing the plugin the width of the main container increased. In some reason the line of code bigger than some number of characters increases the width of the main container. In my case it sould be 940px, but now is 993px.
]]>