Support » Plugin: User Menus - Nav Menu Visibility » Incorrect first name shown

  • Resolved Ilari Arovuo

    (@iarovuo)


    When using {first_name} variable in the menu navigation label, the software inserts randomly first name, last name, user name, etc of DIFFERENT user

Viewing 1 replies (of 1 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @iarovuo – Sorry for the delay.

    In general that doesn’t sound possible without some external factor. External here could be another plugin etc.

    We call WordPress built in functions for that info. Only reasonable explanation is that your using some type of DB or object caching solution that is failing and returning invalid info for a given ID.

    But again wouldn’t be a failure in our plugin code we could help with as WP returned that info for us to use.

    https://github.com/JunglePlugins/User-Menus/blob/master/includes/classes/menu/items.php#L162

    Hope that helps.

    • This reply was modified 2 years, 8 months ago by Daniel Iser. Reason: added link
Viewing 1 replies (of 1 total)
  • The topic ‘Incorrect first name shown’ is closed to new replies.