Hi, after installing Newspaper 9 theme I’ve noticed that the process of publication of any simple post became very slow. Average time of publication now is about 11-12 seconds. Sometimes server loosing connection or just “publishing” post forever.
I’ve googled for different solutions, and find an opinion that any hook like “add_action( ‘save_post’… ” can slow down post bublishing. I’ve found such hook in includes/wp_booster/wp-admin/tinymce td_wp_editor.php ( It is “add_action( ‘save_post’, array( $this, ‘on_save_post’ ) ); ” )
What does this hook do, is it necessary and can I comment this peace of code?
Are there any other solutions to speed up publication? Thanks.
Hello Vlad111,
Please notice that we do not have any bad reports until now, regarding this process of post-publication. I have made some tests on my website and works as expected. Ensure that your theme has been correctly installed via FTP way, remove all of the untested plugins, clear all the caches and check the results. Also, ensure that you have respected all the theme’s requirements from here -> https://forum.tagdiv.com/requirements-for-newspaper/
Thanks for your understanding!
Thank you for your answer. Looks like publishing works a little bit better, when the hook “add_action( ‘save_post’, array( $this, ‘on_save_post’ ) ); ” in includes/wp_booster/wp-admin/tinymce td_wp_editor.php is commented.
Could you clearify please, what does it do and is it safe to “turn it off”? Thank you.
Hello Vlad111,
Unfortunately, this task involves doing such additional customization and we cannot provide something like this at the moment, sorry! This is not a simple task and it will require doing such debugging process for a more accurate response which involves doing some time-consuming but please notice that we cannot afford to do this at the moment, sorry!
Thanks for your understanding!