Fix typos

This commit is contained in:
Brian Miyaji
2014-03-21 20:05:04 +11:00
parent e1731d2105
commit 74198a7655
2 changed files with 2 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ function sportspress_save_post( $post_id ) {
// Update columns array // Update columns array
update_post_meta( $post_id, 'sp_columns', sportspress_array_value( $_POST, 'sp_columns', array() ) ); update_post_meta( $post_id, 'sp_columns', sportspress_array_value( $_POST, 'sp_columns', array() ) );
// Update format // Update format
update_post_meta( $post_id, 'sp_format', sportspress_array_value( $_POST, 'sp_format', 'calendar' ) ); update_post_meta( $post_id, 'sp_format', sportspress_array_value( $_POST, 'sp_format', 'calendar' ) );

View File

@@ -62,7 +62,7 @@ function sportspress_calendar_shortcode_meta( $post ) {
<p class="howto"> <p class="howto">
<?php _e( 'Copy this code and paste it into your post, page or text widget content.', 'sportspress' ); ?> <?php _e( 'Copy this code and paste it into your post, page or text widget content.', 'sportspress' ); ?>
</p> </p>
<p><input type="text" value="[events-<?php echo $the_format; ?> <?php echo $post->ID; ?>]" onclick="copy_clipboard( jQuery($this.val())" readonly="readonly" class="wp-ui-text-highlight code"></p> <p><input type="text" value="[events-<?php echo $the_format; ?> <?php echo $post->ID; ?>]" readonly="readonly" class="wp-ui-text-highlight code"></p>
<?php <?php
} }