Changeset 14749 for trunk/wp-includes/post-template.php
- Timestamp:
- 05/19/2010 06:36:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r14687 r14749 1170 1170 1171 1171 if ( $post->ID != $revision->ID && $can_edit_post ) 1172 $actions = '<a href="' . wp_nonce_url( add_query_arg( array( 'revision' => $revision->ID, ' diff' => false, 'action' => 'restore' ) ), "restore-post_$post->ID|$revision->ID" ) . '">' . __( 'Restore' ) . '</a>';1172 $actions = '<a href="' . wp_nonce_url( add_query_arg( array( 'revision' => $revision->ID, 'action' => 'restore' ) ), "restore-post_$post->ID|$revision->ID" ) . '">' . __( 'Restore' ) . '</a>'; 1173 1173 else 1174 1174 $actions = ''; 1175 1175 1176 1176 $rows .= "<tr$class>\n"; 1177 $rows .= "\t<th style='white-space: nowrap' scope='row'><input type='radio' name='left' value='$revision->ID'$left_checked /> \n";1177 $rows .= "\t<th style='white-space: nowrap' scope='row'><input type='radio' name='left' value='$revision->ID'$left_checked /></th>\n"; 1178 1178 $rows .= "\t<th style='white-space: nowrap' scope='row'><input type='radio' name='right' value='$revision->ID'$right_checked /></th>\n"; 1179 1179 $rows .= "\t<td>$date</td>\n";
Note: See TracChangeset
for help on using the changeset viewer.