Changeset 16314 for trunk/wp-admin/includes/meta-boxes.php
- Timestamp:
- 11/12/2010 04:05:33 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/meta-boxes.php
r16198 r16314 171 171 <div id="post-formats-select" class="hide-if-js"> 172 172 <input type="hidden" id="old-post-format" value="<?php echo esc_attr( $post_format ); ?>" /> 173 <select id="post-format" name="post_format"> 174 <option value="0" <?php selected( $post_format, '0' ); ?>><?php _e('Default'); ?></option> 173 <input type="radio" name="post_format" class="post-format" id="post-format-0" value="0" <?php checked( $post_format, '0' ); ?> /> <label for="post-format-0"><?php _e('Default'); ?></label> 175 174 <?php foreach ( $post_formats[0] as $format ) : ?> 176 < option value="<?php echo esc_attr( $format ); ?>" <?php selected( $post_format, $format ); ?>><?php echo esc_html( get_post_format_string( $format ) ); ?></option>177 <?php endforeach; ?> 178 </select>175 <br /><input type="radio" name="post_format" class="post-format" id="post-format-<?php echo esc_attr( $format ); ?>" value="<?php echo esc_attr( $format ); ?>" <?php checked( $post_format, $format ); ?> /> <label for="post-format-<?php echo esc_attr( $format ); ?>"><?php echo esc_html( get_post_format_string( $format ) ); ?></label> 176 <?php endforeach; ?><br /> 177 <p> 179 178 <a href="#post-formats" class="save-post-format hide-if-no-js button"><?php _e('OK'); ?></a> 180 179 <a href="#post-formats" class="cancel-post-format hide-if-no-js"><?php _e('Cancel'); ?></a> 180 </p> 181 181 </div> 182 182 </div><?php // /misc-pub-section ?>
Note: See TracChangeset
for help on using the changeset viewer.