Support

Account

Home Forums ACF PRO Page Link fields breaking after update

Solved

Page Link fields breaking after update

  • All my page link fields are now only showing archives instead of all possible types when they’re not filtered. This happened after the latest updates.

    It looks like new fields I create are working okay, and if I manually add all the fields in the filter they work. I can’t resume the all options state until I re-save the fields with an entry, and then remove them again later.

  • Hi @LetterAfterZ

    Thanks for the bug report, but I am finding it hard to understand the issue.

    What do you mean by:
    if I manually add all the fields in the filter they work

    And:
    I can’t resume the all options state until I re-save the fields with an entry, and then remove them again later.

  • Hey Elliot, I explained that pretty poorly, sorry.

    The issue is that after updating to PRO (or possibly from 1.0 to 1.1) all the link fields basically were allowing no types of posts except ‘archive’ (so not allowing post, page, or media). Previously they were set to allow everything.

    When you create a new link field in the latest version it shows placeholder text:

    Filter by Post Type : All Post Types

    In my case, it had no placeholder text or anything selected at all.

    I had to go through each field and add a filter (like page, post, media, etc), save the change to the custom field set, then edit it again and remove these filters. After doing that it would then show the ‘all post types’ placeholder text and display all post types again.

    My assumption would be that in the switch to the Chosen plugin, the way that no filters was handled isn’t coming across properly, and so the filter is acting like there is a selection, but then returning a negative for everything (except archives, which doesn’t appear to be a filter option in the chosen field)

    Does that make more sense?

  • Hi @LetterAfterZ

    Thanks for the info. I wonder if this issue has been fixed in the last few updates. Can you update to the latest version and test the issue again?

  • Unfortunately I’ve updated all my sites already that are using links and fixed the issue so I can’t really replicate it easily.

    I might have some old staging sites somewhere that I can still try it on, but I don’t think so.

    Thanks anyway!

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Page Link fields breaking after update’ is closed to new replies.