Changeset 58129 for trunk/src/wp-admin/export.php
- Timestamp:
- 05/10/2024 06:07:17 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/export.php
r56633 r58129 239 239 <option value="0"><?php _e( 'All' ); ?></option> 240 240 <?php 241 $post_stat i= get_post_stati( array( 'internal' => false ), 'objects' );242 foreach ( $post_stat ias $status ) :241 $post_statuses = get_post_stati( array( 'internal' => false ), 'objects' ); 242 foreach ( $post_statuses as $status ) : 243 243 ?> 244 244 <option value="<?php echo esc_attr( $status->name ); ?>"><?php echo esc_html( $status->label ); ?></option> … … 290 290 <select name="page_status" id="page-status"> 291 291 <option value="0"><?php _e( 'All' ); ?></option> 292 <?php foreach ( $post_stat ias $status ) : ?>292 <?php foreach ( $post_statuses as $status ) : ?> 293 293 <option value="<?php echo esc_attr( $status->name ); ?>"><?php echo esc_html( $status->label ); ?></option> 294 294 <?php endforeach; ?>
Note: See TracChangeset
for help on using the changeset viewer.