Changeset 24337
- Timestamp:
- 05/23/2013 06:40:16 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-media-list-table.php
r24189 r24337 176 176 177 177 function display_rows() { 178 global $post , $id;178 global $post; 179 179 180 180 add_filter( 'the_title','esc_html' ); … … 192 192 $att_title = _draft_or_post_title(); 193 193 ?> 194 <tr id='post-<?php echo $ id; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top">194 <tr id='post-<?php echo $post->ID; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top"> 195 195 <?php 196 196 -
trunk/wp-includes/comment-template.php
r24207 r24337 1598 1598 */ 1599 1599 function comment_form( $args = array(), $post_id = null ) { 1600 global $id;1601 1602 1600 if ( null === $post_id ) 1603 $post_id = $id;1601 $post_id = get_the_ID(); 1604 1602 else 1605 1603 $id = $post_id;
Note: See TracChangeset
for help on using the changeset viewer.