Jirsbek
Forum Replies Created
-
Forum: Plugins
In reply to: [Minify HTML] Saving a post in WP 6.4 converts content to Classic block@byothe Well teckel_init_minify_html() is original function located directly in the plugin’s core file minify-html.php. As it’s definitely not ideal to modify the file directly it’s the only way I made the modification work. I hope author is watching this post and will update the plugin.
Forum: Plugins
In reply to: [Minify HTML] Saving a post in WP 6.4 converts content to Classic blockForum: Plugins
In reply to: [Minify HTML] Saving a post in WP 6.4 converts content to Classic block@sujaljain007 I modified the code directly in plugin. Plugin doesn’t get many updates and I hope it get’s updated with fix I’ve provided or similar as plugin author was active here.
Forum: Plugins
In reply to: [Minify HTML] Saving a post in WP 6.4 converts content to Classic blockHello there, as I’m facing the same problem and I like the plugin for it’s simplicity, I was playing around a bit with the ChatGPT 4 and after several tries it seems this updated function teckel_init_minify_html() works as it applies minification only on frontend HTML:
function teckel_init_minify_html() {
if (is_admin() || (defined(‘REST_REQUEST’) && REST_REQUEST) || (defined(‘DOING_AJAX’) && DOING_AJAX)) {
return;
}
$minify_html_active = get_option(‘minify_html_active’);
if ($minify_html_active != ‘no’) {
ob_start(‘teckel_minify_html_output’);
}
}
add_action(‘template_redirect’, ‘teckel_init_minify_html’);Forum: Plugins
In reply to: [Polylang] Conflicting rewrite rules breaking single postsWell in my case single post and /admin/ URL shows index.php even though homepage is actually using specific template and index.php in my theme folder is empty. So on login page I’m monitoring link “Did you forget your password” or similar and if it’s not present something is wrong. But to be honest this happened only once since I set the monitoring up.
Forum: Plugins
In reply to: [Polylang] Conflicting rewrite rules breaking single posts@cedriccharles No luck ?? Just in case I’ve setup monitoring of specific keyword on /admin/ page on websites using Polylang I manage so I’ll get a notification, when this admin is not actually admin thus problem probably occurs there so I can quickly react.
Forum: Plugins
In reply to: [Polylang] Conflicting rewrite rules breaking single posts@cedriccharles Well eventually for me either… I’ve realized problem occurred in some cases even with the latest version of Polylang after the WordPress update. Only thing helped was flushing the permalinks so now I’m quite afraid it will happen again without me knowing it.
Forum: Plugins
In reply to: [Polylang] Conflicting rewrite rules breaking single posts@cedriccharles What actually helped me was updating the Polylang to the latest version. As my version was “Pro” it was outdated so I extended the license and upgraded to the latest Pro and it helped.
Forum: Plugins
In reply to: [Polylang] Conflicting rewrite rules breaking single postsInteresting, I’m not using this plugin anywhere ??
Forum: Plugins
In reply to: [Polylang] Conflicting rewrite rules breaking single postsHello there, as a developer as well I didn’t dig deep into this issue so I’m sorry for rather vague description. Anyway after recent upgrade of WordPress to 6.4 I experience similar issue:
- Single post shows homepage although single.php is present
- URL /admin/ shows homepage as well
For me flushing permalinks doesn’t work (tried by changing permalinks to different settings, saving, changing back, saving).
Saving Polylang settings (event without a change) works.
Forum: Plugins
In reply to: [WP Mail Logging] Can’t see attachmentsI see, thank you @dakeg for quick response. It seems Contact Form 7 is the culprit.
Forum: Plugins
In reply to: [WP Mail Logging] Can’t see attachmentsHello there, is it possible attachments types XLS, TXT are not visible in the attachments column and in HTML tab? It seems there was no attachment but it got delivered right. PDFs are visible in bot column and HTML tab.
Forum: Plugins
In reply to: [Contact Form 7] 5.7.* breaks website gettext translationsI don’t see a reason for this. As I wrote sample site is using just CF7 and Polylang which is needed for multilanguage. As for theme it cannot be simplier as it consists just from index.php. There are no functions at all (default WP theme is much more complex).
Forum: Plugins
In reply to: [Contact Form 7] 5.7.* breaks website gettext translationsThis sample site is using just CF7 5.7.4 and Polylang 3.3.1. No theme (just custom index.php with some Tailwind styling).
Forum: Plugins
In reply to: [Contact Form 7] 5.7.* breaks website gettext translationsI’ve reproduced the issue here at sample website https://cf7.qdv.cz. Hope example is clear – both areas (green and red) should be translated.