diff --git a/README.md b/README.md index 1e361029..f549fae3 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ We've removed the compatibility shim for the magical `content` attribute. If you * Added Chinese translation. * Added French translation. * Added Spanish translation. +* Bug fix: Color field should also support `meta` argument. ### 0.3 (April 27, 2015) ### * **Breaking change**: We've removed the compatibility shim for the magical `content` attribute. If you were using this to support editing inner content, you'll need to change your UI registration to use `inner_content`. diff --git a/inc/class-shortcode-ui.php b/inc/class-shortcode-ui.php index 60e2d60e..5bd33cca 100644 --- a/inc/class-shortcode-ui.php +++ b/inc/class-shortcode-ui.php @@ -39,7 +39,6 @@ public function register_shortcode_ui( $shortcode_tag, $args = array() ) { $args['inner_content'] = array( 'label' => esc_html__( 'Inner Content', 'shortcode-ui' ), 'description' => '', - 'placeholder' => '', ); } diff --git a/inc/fields/class-field-color.php b/inc/fields/class-field-color.php index 6e25f95d..c924c285 100644 --- a/inc/fields/class-field-color.php +++ b/inc/fields/class-field-color.php @@ -87,7 +87,7 @@ public function load_template() {