Easy Custom Fields
'pages' setting not respected (1 post)

  1. natebot
    Posted 4 years ago #

    Meta Boxes always appear on Pages and Posts regardless of the 'pages' setting. Will never appear on custom post types.

    The 'pages' setting doesn't survive Easy_CF::parse_field_data() - where it is excluded from the construction of Easy_CF::_field_data. Since that array key is not set the default setting for 'pages' is used in Easy_CF::add_meta_box()

    suggested fix:
    add the 'pages' element to Easy_CF::_field_data.
    'pages' => $group_data['pages'],
    to line 570 of easy-custom-fields.php (in Easy_CF::parse_field_data() )


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy Custom Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic