Skip to content

Commit

Permalink
deploy: 4992529
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Apr 14, 2024
1 parent a39e5ad commit 7f4cbe5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions wp-to-twitter.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -1485,10 +1485,10 @@
if ( function_exists( 'wpt_pro_exists' ) && wpt_pro_exists() ) {
?>
<div id="wpt_set_tweet_time">
<?php
$datavalue = gmdate( 'Y-m-d', current_time( 'timestamp' ) ); // phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested
$timevalue = date_i18n( 'h:s a', current_time( 'timestamp' ) + 3600 ); // phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested
?>
<?php
$datavalue = gmdate( 'Y-m-d', current_time( 'timestamp' ) ); // phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested
$timevalue = date_i18n( 'h:s a', current_time( 'timestamp' ) + 3600 ); // phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested
?>
<div class="wpt-date-field">
<label for='wpt_date'><?php _e( 'Date', 'wp-to-twitter' ); ?></label>
<input type='date' value='' class='wpt_date date' name='wpt_datetime' id='wpt_date' data-value='<?php echo $datavalue; ?>' /><br/>
Expand All @@ -1498,9 +1498,9 @@
<input type='time' value='<?php echo $timevalue; ?>' class='wpt_time time' name='wpt_datetime' id='wpt_time'/>
</div>
</div>
<?php
}
?>
<?php
}
?>
</div>
<div class='wpt_log' aria-live='assertive'></div>
<?php
Expand Down

0 comments on commit 7f4cbe5

Please sign in to comment.