Skip to content

Commit

Permalink
Update class name.
Browse files Browse the repository at this point in the history
  • Loading branch information
mustardBees committed Sep 17, 2014
1 parent 0bad884 commit 3235bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmb-field-map.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function pw_map_field( $field, $meta ) {
echo '<input type="hidden" class="latitude" name="' . $field->args( 'id' ) . '[latitude]" value="' . ( isset( $meta['latitude'] ) ? $meta['latitude'] : '' ) . '" />';
echo '<input type="hidden" class="longitude" name="' . $field->args( 'id' ) . '[longitude]" value="' . ( isset( $meta['longitude'] ) ? $meta['longitude'] : '' ) . '" />';

if ( ! empty( $field->args( 'desc' ) ) ) echo '<p class="cmb2_metabox_description">' . $field->args( 'desc' ) . '</p>';
if ( ! empty( $field->args( 'desc' ) ) ) echo '<p class="cmb2-metabox-description">' . $field->args( 'desc' ) . '</p>';
}
add_filter( 'cmb2_render_pw_map', 'pw_map_field', 10, 2 );

Expand Down

0 comments on commit 3235bbe

Please sign in to comment.