Support

Account

Home Forums Bug Reports get_field does not return values,in WPMU with 'switch_to_blog' Reply To: get_field does not return values,in WPMU with 'switch_to_blog'

  • Hi Jonathan.

    I was able to determine the conditions under which this phenomenon occurs.
    When I get the value of a custom field of Site2 that are not defined in Site1,
    I text field can be acquired. However repeater field could not be obtained.

    In my environment, I just added the definition of the same custom field and Site2 to Site1, were able to correctly get the value of the repeater field.
    I definition of custom fields, was read by the plug-in model.

    However, it was subjected to the same test in the other WP environment, even if there is no definition of the custom field in Site1, were able to correctly get the value of the repeater field.

    I do not know of two environment differences.
    Do you have something you the idea?