WordPress.org

Support

Support » Plugins and Hacks » Simple Tags » Simple Tags breaks tag-based post queries in WP trunk

Simple Tags breaks tag-based post queries in WP trunk

  • I ran into the following issue with Simple Tags on WordPress trunk

    http://core.trac.wordpress.org/ticket/12891#comment:73

    Enabling Simple Tags on WordPress trunk causes queries of the form get_posts(‘tag=something’) return all posts rather than just those tagged “something”.

    Though this problem was introduced by a recent change to WordPress, it seems like Simple Tags is causing the problem by overwriting the value of ‘query_var’ with ” in $GLOBALS[‘wp_taxonomies’]. The following diff shows what $GLOBALS[‘wp_taxonomies’] looks like on a fresh WP trunk installation before and after enabling Simple Tags:

    http://gist.github.com/659120

    It seems like Simple Tags should at least ensure that these parameters are set to reasonable values, though I don’t understand why it is necessary to call register_taxonomy() at all, since taxonomy.php already does this.

    Thanks for your consideration,
    Dave

    http://wordpress.org/extend/plugins/simple-tags/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Simple Tags breaks tag-based post queries in WP trunk’ is closed to new replies.
Skip to toolbar