mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
QE: fix notices and check if the returned string contains the row HTML, props DD32, fixes #8115
git-svn-id: https://develop.svn.wordpress.org/trunk@9712 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1170,6 +1170,7 @@ function get_inline_data($post) {
|
||||
<div class="aa">' . mysql2date( 'Y', $post->post_date ) . '</div>
|
||||
<div class="hh">' . mysql2date( 'H', $post->post_date ) . '</div>
|
||||
<div class="mn">' . mysql2date( 'i', $post->post_date ) . '</div>
|
||||
<div class="ss">' . mysql2date( 's', $post->post_date ) . '</div>
|
||||
<div class="post_password">' . wp_specialchars($post->post_password, 1) . '</div>';
|
||||
|
||||
if( $post->post_type == 'page' )
|
||||
@@ -2331,6 +2332,8 @@ function touch_time( $edit = 1, $for_post = 1, $tab_index = 0, $multi = 0 ) {
|
||||
$minute = '<input type="text" ' . ( $multi ? '' : 'id="mn" ' ) . 'name="mn" value="' . $mn . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';
|
||||
printf(_c('%1$s%2$s, %3$s @ %4$s : %5$s|1: month input, 2: day input, 3: year input, 4: hour input, 5: minute input'), $month, $day, $year, $hour, $minute);
|
||||
|
||||
echo '<input type="hidden" id="ss" name="ss" value="' . $ss . '" />';
|
||||
|
||||
if ( $multi ) return;
|
||||
|
||||
echo "\n\n";
|
||||
|
||||
Reference in New Issue
Block a user