Support

Account

Forum Replies Created

  • Doesn’t seem to work if i change the priority of the admin_head action to 999.

    No matter what I do, the only thing that seems to be working is to change the priority of the init action in the acf_options_page.php file. The priority can be anything (2, 3, 100 or just nothing), as long as it isn’t 1. That’s my usercase.

    I’ve tried this on a completely empty a freshly installed WordPress (tried version 3.6 and the new version 3.7) with an empty template using only the advanced custom fields plugin with the three add-ons: Repeater, Flexible Content and Options Page.

  • I’ve had the same problem after the last update of the plugin. So I did a lot of different tests and it seems there is a issue with the add_action WordPress function.

    The thing that causes the admin menu not to show is this line (acf-options-page.php line 44):
    add_action('init', array($this,'init'), 1);

    It seems the whole thing breaks as this init add_action has a priority set as 1, while another init add_action in the acf.php file (line 81) is also set as 1 in priority. So if one simply change the priority of the init add_action function in the acf-options-page.php file to 2, it all works.

    Hope it works.
    Daniel

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