Changeset 15513
- Timestamp:
- 08/20/2010 11:43:32 AM (14 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r15512 r15513 720 720 if ( ! $comment ) die('1'); 721 721 722 $modes = array( 'single', 'detail', 'dashboard' );723 $mode = isset($_POST['mode']) && in_array( $_POST['mode'], $modes ) ? $_POST['mode'] : 'detail';724 722 $position = ( isset($_POST['position']) && (int) $_POST['position']) ? (int) $_POST['position'] : '-1'; 725 723 $checkbox = ( isset($_POST['checkbox']) && true == $_POST['checkbox'] ) ? 1 : 0; … … 760 758 edit_comment(); 761 759 762 $mode = ( isset($_POST['mode']) && 'single' == $_POST['mode'] ) ? 'single' : 'detail';763 760 $position = ( isset($_POST['position']) && (int) $_POST['position']) ? (int) $_POST['position'] : '-1'; 764 761 $checkbox = ( isset($_POST['checkbox']) && true == $_POST['checkbox'] ) ? 1 : 0; -
trunk/wp-admin/includes/default-list-tables.php
r15512 r15513 1985 1985 'number' => $number, 1986 1986 'post_id' => $post_id, 1987 ' plural' => $comment_type,1987 'type' => $comment_type, 1988 1988 'orderby' => @$_REQUEST['orderby'], 1989 1989 'order' => @$_REQUEST['order'], … … 2044 2044 ?> 2045 2045 <select name="comment_type"> 2046 <option value=" all"><?php _e( 'Show all comment types' ); ?></option>2046 <option value=""><?php _e( 'Show all comment types' ); ?></option> 2047 2047 <?php 2048 2048 $comment_types = apply_filters( 'admin_comment_types_dropdown', array(
Note: See TracChangeset
for help on using the changeset viewer.