Support » Plugin: Media Categories » [Plugin: Media Categories] Typo in 'Other Notes'

  • Resolved philzo

    (@philzo)


    Just started playing around with this cool plugin. Thanks for the hard work.

    Noticed that ‘return $taxonomy’ is missing a semicolon in your documentation on the ‘Other Notes’ page under ‘Taxonomy Filter Usage: ‘mc_taxonomy’:

    add_filter('mc_taxonomy', 'mc_filter_taxonomy');
    
    function mc_filter_taxonomy($taxonomy){
    
        if($taxonomy == 'category'){
            $taxonomy = 'post_tag';
        }
    
        return $taxonomy
    }

    http://wordpress.org/extend/plugins/media-categories-2/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Media Categories] Typo in 'Other Notes'’ is closed to new replies.