WordPress.org

Ready to get started?Download WordPress

Forums

3.0-alpha categories and post_type (3 posts)

  1. typeomedia
    Member
    Posted 4 years ago #

    Hi all,

    I don't have trac access so I leave it here.

    When using post_type it is not possible to show the category box on the edit screen of this post_type because the add_meta_box for is_taxonomy_hierarchical is hard coded for 'post' instead of $post_type.

    /wp-admin/edit-form-advanced.php Line 106:

    add_meta_box($tax_name . 'div', $label, 'post_categories_meta_box', 'post', 'side', 'core', array( 'taxonomy' => $tax_name ));

    Fix:
    add_meta_box($tax_name . 'div', $label, 'post_categories_meta_box', $post_type, 'side', 'core', array( 'taxonomy' => $tax_name ));

  2. MichaelH
    Member
    Posted 4 years ago #

    At trac, just login with the same login you used for these Forums.

    See Reporting Bugs.

  3. typeomedia
    Member
    Posted 4 years ago #

    The login works now, thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic