WordPress.org

Ready to get started?Download WordPress

Forums

Ticket 14471 - Hidden Categories (4 posts)

  1. WebTechGlobal
    Member
    Posted 3 years ago #

    http://core.trac.wordpress.org/ticket/14471

    That link shows the issue I've been experiancing and trying to debug now. Two thoughts have come to me. Passing the parent value in array...

    $catarray[1] = wp_create_category( $cat2, $catarray[0]

    might be causing it ? I considered that wordpress is somehow entering the parent id in a way that causes this. Taxonomy etc looks fine and all categories show in the select parent menu when making one manually. It's only in the list they do not show.

    Also when manually adding one it makes them appear as if the approach uses by the admins create category form is better.

  2. WebTechGlobal
    Member
    Posted 3 years ago #

    Also if I delete the categories that I can see, 3 of them. All the rest become visible including the original 3rd level which indicates its not strictly showing parents only.

  3. WebTechGlobal
    Member
    Posted 3 years ago #

    wp_insert_category is not much different however it is different.

    It will cause more categories to be displayed but there are still some hidden. Deleted the ones I can see displays the hidden. Also there is no indent to show children when using wp_insert_category

  4. WebTechGlobal
    Member
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic