• Resolved proguid

    (@procarmanuals)


    After upgrading to wordpress 7.0, I had a problem editing posts. When you click on the “edit” post, the download starts and is interrupted by a timeout.

    Together with the support of the FlyingPress plugin, we found out that the problem is with your plugin. Below will be information from Flyingpress support:

    Problem: It is a plugin conflict between Real Category Library and WordPress 7.0.

    WordPress 7.0 introduced a new hook called register_taxonomy_args that allows plugins to modify how taxonomies behave. The Real Category Library plugin uses this hook to make all taxonomies “hierarchical” (tree-style) so it can display them as folder trees in the admin.

    However, WordPress also uses an internal taxonomy called wp_theme to link global style settings to the active theme. Real Category Library was also making wp_theme hierarchical, which broke how WordPress stores that link.

    Because of this broken link, every time you opened the post/page editor, WordPress could not find the existing global styles for your theme. As a result, it created a new one from scratch.

    This did not happen on previous WP versions because that did not include the register_taxonomy_args hook. Therefore, Real Category Library had no way to interfere.

    Fix

    Real Category Library provides its own filter, RCL/Taxonomy/MakeHierarchical , to exclude specific taxonomies from being made hierarchical.

    Please add the following snippet to your child theme’s functions.php or via a code snippets plugin:

    add_filter(‘RCL/Taxonomy/MakeHierarchical’, function($skip, $args, $taxonomy) { if (in_array($taxonomy, [‘wp_theme’, ‘wp_template_part_area’], true)) { return true; } return $skip; }, 10, 3); This code stops the conflict without modifying either plugin.

    NOTE: After applying this code, 1st time it will be slow, but then it will be normal.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.