Inline documentation for hooks in wp-admin/options-general.php.

Props siobhyb for the initial patch.
Fixes #25454.

Built from https://develop.svn.wordpress.org/trunk@25830


git-svn-id: http://core.svn.wordpress.org/trunk@25742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2013-10-17 06:18:10 +00:00
parent 21b24c1fba
commit 73f3f80a1d

View File

@ -229,13 +229,14 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists
<td> <td>
<fieldset><legend class="screen-reader-text"><span><?php _e('Date Format') ?></span></legend> <fieldset><legend class="screen-reader-text"><span><?php _e('Date Format') ?></span></legend>
<?php <?php
/**
$date_formats = array_unique( apply_filters( 'date_formats', array( * Filter the default date formats.
__('F j, Y'), *
'Y/m/d', * @since 2.7.0
'm/d/Y', *
'd/m/Y', * @param array $default_date_formats Array of default date formats.
) ) ); */
$date_formats = array_unique( apply_filters( 'date_formats', array( __( 'F j, Y' ), 'Y/m/d', 'm/d/Y', 'd/m/Y' ) ) );
$custom = true; $custom = true;
@ -262,12 +263,14 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists
<td> <td>
<fieldset><legend class="screen-reader-text"><span><?php _e('Time Format') ?></span></legend> <fieldset><legend class="screen-reader-text"><span><?php _e('Time Format') ?></span></legend>
<?php <?php
/**
$time_formats = array_unique( apply_filters( 'time_formats', array( * Filter the default time formats.
__('g:i a'), *
'g:i A', * @since 2.7.0
'H:i', *
) ) ); * @param array $default_time_formats Array of default time formats.
*/
$time_formats = array_unique( apply_filters( 'time_formats', array( __( 'g:i a' ), 'g:i A', 'H:i' ) ) );
$custom = true; $custom = true;