challet
Forum Replies Created
-
Forum: Plugins
In reply to: [DecaLog] How to remove E_DEPRECATED error level ?I dug a bit more for my own understanding, and I that would most certainly be related to the set_error_handler function last parameter:
[…] Without this mask set the
callback
will be called for every error regardless to the setting of the error_reporting setting.Would it be conceivable to add this extra parameter in the decalog code ? Basically, it would replicate the core error_reporting value.
Forum: Plugins
In reply to: [DecaLog] How to remove E_DEPRECATED error level ?That’s a lot clearer, thank you.
And so, here there is no way to tell PHP what to send to the logger ?
Forum: Plugins
In reply to: [DecaLog] How to remove E_DEPRECATED error level ?Thank you for your quick answer, I’m not sure I understand it though as I can see in the “WordPress event logger” options a “minimal level” setting. Or maybe the E_DEPRECATED level cannot be disjoined from the E_INFO ?
Forum: Reviews
In reply to: [Yoast SEO] Unfixed critical bugHello,
Yes, that’s this one. I’m sorry I don’t have the details anymore since that made me stop to use it.
Forum: Plugins
In reply to: [WP Super Cache] How to distribute the preoad workload over time?garbage collection might have to be running continuously
That was indeed the idea, or at least with short enough delay between runs. That would also require some randomness in the initial expire times, for pages not to expire all at the same time.
Please see it as a suggestion, the preloading current pace you pointed out works without any overloading.
Forum: Plugins
In reply to: [W3 Total Cache] Cron job errorsThey have been
ini_set
calls. I suppose the cron script calling it did something before to start sending the answer or even closed the connection while still computing.They are WARNINGS level, it doesn’t prevent any process to happen. So I guess it could be left like that.
Thank you for your answer.
Forum: Plugins
In reply to: [DecaLog] Make execution trace availableNevermind, it does work as expected
Forum: Fixing WordPress
In reply to: Custom template not parsed and answsers with the raw codeSelf-answer : Block templates need an other function
locate_block_template
to create a usable return :<?php add_filter('category_template', function ( $template ) { $category = get_queried_object(); // custom condition if( $category->parent == 1 ) { $template = locate_block_template('templates/category-1.html', 'category-1', []); } return $template; });
Forum: Themes and Templates
In reply to: Migrate template modifications to a custom child themeSelf-answser : There is an export feature in the editor where the current theme overridden with the custom modifications can be downloaded.
From there, the relevant files (the custom modifications) can be used either :
- in the child theme
- in the editor in code mode, after the child theme has been activated