• Resolved ChemicalSailor

    (@chemicalsailor)


    This seems to be a 3.6 bug. I have a custom post type defined which supports post formats, as does the normal posts post type. When selecting a new post format in custom post type with javascript disabled (under post-new.php) then the post type gets reverted to the default posts post type.

    Only an issue with javascript disabled (or when there is a javascript error). Just needs the url query argument adjusting.

    Please fix

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter ChemicalSailor

    (@chemicalsailor)

    Also occurs under post.php, but sends you back to edit.php instead. Same cause.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Only an issue with javascript disabled (or when there is a javascript error). Just needs the url query argument adjusting.

    You mean this error only happens when you disable JS?

    Thread Starter ChemicalSailor

    (@chemicalsailor)

    Yep, only occurs with JS disabled. Not an issue when JS is working because links are not followed. I only noticed the bug though because I had a JS error (something to do with my install), but could cause some unexpected behaviour.

    Basic issue: post format links should be ?post_type=custom&format=value but is just ?format=value

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I’m not entirely sure how big of a problem that is. I mean, there’s a LOT about WordPress that fails when JS is disabled or broken (dragging and dropping widgets etc).

    Thread Starter ChemicalSailor

    (@chemicalsailor)

    True, but I think being redirected to a page you weren’t expecting is a lot more of a problem than not being able to move a metabox around. Could be more of an issue if the user has already started entering post content, then changes format, gets redirected and loses unsaved changes (I take it that autosave doesn’t work without JS too).

    If the assumption is going to be that JS needs to be working to use post formats UI, then the UI should either not use anchor tags, or have them point to an in page reference ie #format-gallery.

    Moderator Sergey Biryukov

    (@sergeybiryukov)

    WordPress Dev

    Should be fixed in the latest nightly builds:
    http://core.trac.wordpress.org/changeset/24373

    That fixed it for me. 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘custom post type post formats revert to "post" post type’ is closed to new replies.