Fix typos
This commit is contained in:
@@ -58,7 +58,7 @@ function sportspress_save_post( $post_id ) {
|
||||
|
||||
// Update columns array
|
||||
update_post_meta( $post_id, 'sp_columns', sportspress_array_value( $_POST, 'sp_columns', array() ) );
|
||||
|
||||
|
||||
// Update format
|
||||
update_post_meta( $post_id, 'sp_format', sportspress_array_value( $_POST, 'sp_format', 'calendar' ) );
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ function sportspress_calendar_shortcode_meta( $post ) {
|
||||
<p class="howto">
|
||||
<?php _e( 'Copy this code and paste it into your post, page or text widget content.', 'sportspress' ); ?>
|
||||
</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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user