Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Dooh! Finally figured out why html was breaking the text field. Damn y... #155

Closed
wants to merge 1 commit into from

2 participants

@c3mdigital

...ou comma! Line 200 Diff - props PhpStorm

@jtsternberg
Owner

If this is still an issue post-1.0.0, feel free to submit another PR against the trunk branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 7, 2012
  1. @c3mdigital

    Dooh! Finally figured out why html was breaking the text field. Damn …

    c3mdigital authored
    …you comma! Line 200 Diff - props PhpStorm
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  init.php
View
2  init.php
@@ -197,7 +197,7 @@ function show() {
switch ( $field['type'] ) {
case 'text':
- echo '<input type="text" name="', $field['id'], '" id="', $field['id'], '" value="', '' !== $meta ? $meta : $field['std'], '" />','<p class="cmb_metabox_description">', $field['desc'], '</p>';
+ echo '<input type="text" name="', $field['id'], '" id="', $field['id'], '" value="', '' !== $meta ? $meta : $field['std'], '" /> <p class="cmb_metabox_description">', $field['desc'], '</p>';
break;
case 'text_small':
echo '<input class="cmb_text_small" type="text" name="', $field['id'], '" id="', $field['id'], '" value="', '' !== $meta ? $meta : $field['std'], '" /><span class="cmb_metabox_description">', $field['desc'], '</span>';
Something went wrong with that request. Please try again.