WordPress.org

Ready to get started?Download WordPress

Forums

Media Categories
[resolved] Typo in 'Other Notes' (2 posts)

  1. philzo
    Member
    Posted 2 years ago #

    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/

  2. Eddie Moya
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the tip. I'll definitely fix that when I release the next version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.