[resolved] Custom Fields stopped working properly - admin panel (8 posts)

  1. heriz
    Posted 3 years ago #

    Is this a known issue?

    No problems with custom fields for years on a client's site, but for some reason now you can't add them when composing. Clicking 'Add Custom Field' does nothing but move the 'add custom field' up to where the custom field should appear in the list once added. But the text remains in the input boxes below.

    It seems that if you manually enter the custom field title 'as new' then it does add to the list, but it does it in a way that suggests it's still not right. The usual yellow-fade animation is not happening now.

    Any ideas please?


  2. mutusliber
    Posted 3 years ago #

    I just noticed this same issue today myself.

    I'm running version 3.4.2 with three plugins (WP Super Cache, WP No Category Base and Widon't), none of which should alter the post editing page. The same thing happens whether I'm using my own custom theme or I switch it over to Twenty Eleven.

    The custom field info does appear to be saved. If I save a post after adding a custom field, that custom field info shows up when I return to the post editor.

    Seems to me that it's probably just a problem with the AJAX interface controls.

    Some screenshots...

    First, I enter some custom field info.

    I click "Add Custom Field" and all that seems to happen is the "Add Custom Field" button disappears.

    That info does appear to have been saved properly, though, because when I click "Save Draft", everything appears as I'd expected it to upon clicking "Add Custom Field" in the first place.

    Okay... So I now go on to add another custom field info.

    When I click "Add Custom Field", the "Add Custom Field" submit button again disappears, but this time it reappears (slightly restyled) above the "Add New Custom Field" form. Exactly where I'd expect the custom field info I just added to appear.

    And, once again, if I save the post, the page refreshes to show that everything seems to have saved properly.

    For the time being I guess saving the post after each custom field is entered will be my workaround.

    But this seems like a legit bug.

  3. heriz
    Posted 3 years ago #

    Precisely the same my end, mutusliber.

    I just discovered the info appears only after saving draft, too.

    It slows proceedings down a fair bit, but at least things aren't broken completely...

  4. Rev. Voodoo
    Posted 3 years ago #


    That'll take care of you until the next WP release....

  5. heriz
    Posted 3 years ago #

    Rev, you're brilliant. Thanks very much, taken care of it indeed.

  6. Rev. Voodoo
    Posted 3 years ago #

    Excellent news!!! You are quite welcome!

  7. mutusliber
    Posted 3 years ago #


  8. chadrew
    Posted 3 years ago #

    Just noticed the same issue. I use custom fields heavily in my blog. Thanks for providing a fix.

Topic Closed

This topic has been closed to new replies.

About this Topic