mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Administration: Escape post type output as field attribute.
Props viralsampat. Fixes #59190. git-svn-id: https://develop.svn.wordpress.org/trunk@56456 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0c82e15d72
commit
b1f5563e31
@ -482,7 +482,7 @@ $_SERVER['REQUEST_URI'] = remove_query_arg( array( 'locked', 'skipped', 'updated
|
||||
<?php $wp_list_table->search_box( $post_type_object->labels->search_items, 'post' ); ?>
|
||||
|
||||
<input type="hidden" name="post_status" class="post_status_page" value="<?php echo ! empty( $_REQUEST['post_status'] ) ? esc_attr( $_REQUEST['post_status'] ) : 'all'; ?>" />
|
||||
<input type="hidden" name="post_type" class="post_type_page" value="<?php echo $post_type; ?>" />
|
||||
<input type="hidden" name="post_type" class="post_type_page" value="<?php echo esc_attr( $post_type ); ?>" />
|
||||
|
||||
<?php if ( ! empty( $_REQUEST['author'] ) ) { ?>
|
||||
<input type="hidden" name="author" value="<?php echo esc_attr( $_REQUEST['author'] ); ?>" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user