realbig / rbm-field-helpers

0 stars 1 forks source link

Placeholder Attribute enclosed in Quotes #31

Closed d4mation closed 6 years ago

d4mation commented 7 years ago

Not sure if this is an old issue or not. My guess it that it is related to #20

/**
 * Add Meta Field
 * 
 * @access      public
 * @since       1.0.0
 * @return      void
 */
public function metabox_content() {

    rbm_do_field_text(
        'underwriter_website_url',
        _x( 'Underwriter Website URL', 'Underwriter Website URL Label', 'gscr-cpt-underwriters' ),
        false,
        array(
            'input_atts' => array(
                'placeholder' => 'http://',
            ),
            'description' => __( 'If a Website URL is place here, this Underwriter will link to their Website directly.', 'gscr-cpt-underwriters' ),
        )
    );

}

image

image

d4mation commented 7 years ago

Seems to also break if a space is used.

image

image

d4mation commented 6 years ago

This has since been fixed. Likely during the rewrite.