-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
Description
#67 should have fixed this but some tests to cover our back for regressions wouldn't harm.
I think the general idea would be to add a custom CPT like this:
$args = array(
'public' => false,
'show_ui' => true,
'label' => 'Test No Metabox'
);
register_post_type( 'test_no_metabox', $args );
from here
yoast-acf-analysis/inc/class-ac-yoast-acf-content-analysis.php
Lines 84 to 87 in 7e3df0c
public function boot_dev() { | |
$version = ( -1 === version_compare( get_option( 'acf_version' ), 5 ) ) ? '4' : '5'; | |
require_once AC_SEO_ACF_ANALYSIS_PLUGIN_PATH . '/tests/js/system/data/acf' . $version . '.php'; | |
} |
And then run a simple test on that CPT.