Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter repley

    (@repley)

    fresh install of wordpress 2.8.4 and only simple-tags plugin and situation is the same. Can someone confirm this bug?

    Thread Starter repley

    (@repley)

    fresh install of wordpress 2.7.1 and only simple-tags 1.6.6 plugin works good

    Thread Starter repley

    (@repley)

    fresh install of wordpress 2.8 and only simple-tags 1.6.6 plugin and don’t works 🙁

    Thread Starter repley

    (@repley)

    wp2.8.4 with wp-includes/taxonomy.php file of wp2.7.1 + simpletags 1.6.6 works good

    Thread Starter repley

    (@repley)

    commenting lines 17,21 and 22 of wp-includes/taxonomy.php solve the problem.

    original code (wp-includes/taxonomy.php):

    function create_initial_taxonomies() {
        register_taxonomy( 'category', 'post', array('hierarchical' => true, 'update_count_callback' => '_update_post_term_count', 'label' => __('Categories'), 'query_var' => false, 'rewrite' => false) ) ;
        register_taxonomy( 'post_tag', 'post', array('hierarchical' => false, 'update_count_callback' => '_update_post_term_count', 'label' => __('Post Tags'), 'query_var' => false, 'rewrite' => false) ) ;
        register_taxonomy( 'link_category', 'link', array('hierarchical' => false, 'label' => __('Categories'), 'query_var' => false, 'rewrite' => false) ) ;
    }
    add_action( 'init', 'create_initial_taxonomies', 0 ); // highest priority

    modified code (wp-includes/taxonomy.php):

    //function create_initial_taxonomies() {
        register_taxonomy( 'category', 'post', array('hierarchical' => true, 'update_count_callback' => '_update_post_term_count', 'label' => __('Categories'), 'query_var' => false, 'rewrite' => false) ) ;
        register_taxonomy( 'post_tag', 'post', array('hierarchical' => false, 'update_count_callback' => '_update_post_term_count', 'label' => __('Post Tags'), 'query_var' => false, 'rewrite' => false) ) ;
        register_taxonomy( 'link_category', 'link', array('hierarchical' => false, 'label' => __('Categories'), 'query_var' => false, 'rewrite' => false) ) ;
    //}
    //add_action( 'init', 'create_initial_taxonomies', 0 ); // highest priority

    Thread Starter repley

    (@repley)

    … or is better to change line 22 from:

    add_action( ‘init’, ‘create_initial_taxonomies’, 0 ); // highest priority

    to (like lines 534 of wp-settings.php):

    create_initial_taxonomies();

    Thread Starter repley

    (@repley)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Simple Tags] Updating of tags count field on term_taxonomy table fails when update a page’ is closed to new replies.