- This topic has 5 replies, 3 voices, and was last updated 2 years, 11 months ago by .
-
Topic
-
Hi,
i’m using latest plugin version. Today i noticed, that my custom fields of types (text, datetime, .. and maybe other) have a default value of empty brackets “[]” – if i setup “std” to another default value, nothing is happen – still the brackets. If i change value to something and make save, the value is correctly saving..
Next, i have noticed, that developer console only on settings page has “Uncaught ReferenceError: QTags is not defined”.
add_filter( 'mb_settings_pages', 'mb_v2018' ); function mb_v2018( $settings_pages ) { $settings_pages[] = array( 'id' => 'v2018', 'menu_title' => __('Settings',TEXTDOMAIN), 'parent' => 'edit.php?post_type=vol2018' ); return $settings_pages; }
…
$meta_boxes[] = array( 'id' => 'vol_options', 'title' => __('Options',TEXTDOMAIN), 'settings_pages' => 'v2018', 'fields' => array( array( 'name' => __('Something', TEXTDOMAIN ), 'id' => "{$prefix}something", 'type' => 'text', 'std' => 'test' ) ) )
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.