Changeset 25830 for trunk/src/wp-admin/options-general.php
- Timestamp:
- 10/17/2013 06:17:20 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-general.php
r25616 r25830 230 230 <fieldset><legend class="screen-reader-text"><span><?php _e('Date Format') ?></span></legend> 231 231 <?php 232 233 $date_formats = array_unique( apply_filters( 'date_formats', array( 234 __('F j, Y'), 235 'Y/m/d', 236 'm/d/Y', 237 'd/m/Y', 238 ) ) ); 232 /** 233 * Filter the default date formats. 234 * 235 * @since 2.7.0 236 * 237 * @param array $default_date_formats Array of default date formats. 238 */ 239 $date_formats = array_unique( apply_filters( 'date_formats', array( __( 'F j, Y' ), 'Y/m/d', 'm/d/Y', 'd/m/Y' ) ) ); 239 240 240 241 $custom = true; … … 263 264 <fieldset><legend class="screen-reader-text"><span><?php _e('Time Format') ?></span></legend> 264 265 <?php 265 266 $time_formats = array_unique( apply_filters( 'time_formats', array( 267 __('g:i a'), 268 'g:i A', 269 'H:i', 270 ) ) ); 266 /** 267 * Filter the default time formats. 268 * 269 * @since 2.7.0 270 * 271 * @param array $default_time_formats Array of default time formats. 272 */ 273 $time_formats = array_unique( apply_filters( 'time_formats', array( __( 'g:i a' ), 'g:i A', 'H:i' ) ) ); 271 274 272 275 $custom = true;
Note: See TracChangeset
for help on using the changeset viewer.