Terence Eden
Forum Replies Created
-
Forum: Plugins
In reply to: [APCu Manager] Crash dashboardSame here. Here’s how I was able to disable the plugin.
Edit the file
/wp-content/plugins/apcu-manager/includes/libraries/decalog-sdk/EventsLogger.phpReplace line 12
if ( ! defined( 'DECALOG_VERSION' ) && version_compare(DECALOG_VERSION, '4.0.0', '<') ) {withif (true) {Then, on the command line, I ran
wp plugin deactivate apcu-managerwhich disabled the plugin.Hope that’s of some use to people.
Forum: Plugins
In reply to: [Editorial Calendar] PHP 8.2+: Use of Dynamic Properties is deprecatedA quick fix for this is to add a line at the top of
class EdCal {which says:protected $default_status;You also need to change
function edcal_json_encode($string)to say:if ( null != $string ) { return json_encode(str_replace("'", "’", $string)); } else { return; }Forum: Plugins
In reply to: [Markup Markdown] Link to Easy MDE is brokenThanks – all seems to be working great 🙂 Brilliant job!
Is there any way to change the size of inserted images? I can open a different support request if that’s easier?
Forum: Plugins
In reply to: [Markup Markdown] Link to Easy MDE is brokenThanks @peter202202 – and I’m glad you liked my posts.
Sadly, I can’t get your plugin to work with https://gehrcke.de/wp-geshi-highlight/ – for some reason, the GeSHi plugin isn’t firing. I’m not sure what hook it is looking for. But I’ll see if I can investigate.
For those looking, this appears to do the trick:
return preg_replace_callback( "/\s*<code(?:class=[\"']language\-([\w-]+)[\"']|line=[\"'](\d*)[\"']" ."|escaped=[\"'](true|false)?[\"']|cssfile=[\"']([\S]+)[\"']|\s)+>". "(.*)<\/code>\s*/siU", "wp_geshi_store_and_substitute", $s );You may also need to manually set
$escaped = true;later in the file.- This reply was modified 2 years, 2 months ago by Terence Eden.
Forum: Plugins
In reply to: [Editorial Calendar] Moving an item in the calendar strips contentI’ve noticed this too. Posts written in Markdown are converted to HTML when they’re moved.
Most inconvenient!
Forum: Everything else WordPress
In reply to: Get warning message before publishingHi Dee,
Here’s some code that you can put in your
functions.phpfile. Note – that this doesn’t work with the Gutenberg editor – only the classic editor.add_action( "admin_footer", "confirm_publish" ); function confirm_publish() { echo <<< EOT <script> var publishButton = document.getElementById("publish"); if (publishButton !== null) { publishButton.onclick = function(event) { event.stopImmediatePropagation(); var publishValue = publishButton.value; return confirm("Do you want to " + publishValue + " this now?"); }; } </script>' EOT; }That puts a little script on your admin pages. When you hit publish, schedule, or update, you’ll get a confirmation message.
Here’s one of my posts which hasthe problem https://shkspr.mobi/blog/2023/05/fixing-a-weird-issue-with-symfonys-cache/
Forum: Plugins
In reply to: [PowerPress Podcasting plugin by Blubrry] Guide to removing the “New!” bannerThe function is now on line 5291.
Forum: Plugins
In reply to: [PowerPress Podcasting plugin by Blubrry] Remove the “NEW!” Banner@benzoid still there on 9.4.2. When you say a “future version” – how far in the future are we talking about?
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Related Posts showing twiceSorry, weird JavaScript error. My fault.
Forum: Plugins
In reply to: [LiteSpeed Cache] Webp not produced if image filename ends in –It also seems it doesn’t convert files named
foo.jpeg– is there any way to add that file extension?Forum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] How to disable mShots service?Wow! Thank you so much. Really appreciated.
Forum: Plugins
In reply to: [LiteSpeed Cache] CSS rule being removed – @charset “UTF-8”;I can’t run that as it requires an extra plugin.
I think the error is on https://github.com/litespeedtech/lscache_wp/blob/master/litespeed-cache/lib/css_min.class.php#L701
Looks like
matchesisn’t passed?Forum: Plugins
In reply to: [Recencio Book Reviews] Half Star Ratings not showingTested – working perfectly! Half stars display and the schema.org is correct.
Thank you for a very quick fix.