Fix typos in phpdoc. props TheLastCicada. fixes #24302.
git-svn-id: https://develop.svn.wordpress.org/trunk@24229 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1e66ba73ed
commit
2b1420456d
|
@ -58,7 +58,7 @@ function _sort_name_callback( $a, $b ) {
|
|||
|
||||
/**
|
||||
* Show the widgets and their settings for a sidebar.
|
||||
* Used in the the admin widget config screen.
|
||||
* Used in the admin widget config screen.
|
||||
*
|
||||
* @since 2.5.0
|
||||
*
|
||||
|
|
|
@ -621,7 +621,7 @@ window.wp = window.wp || {};
|
|||
}, true );
|
||||
},
|
||||
|
||||
// go the the previous revision
|
||||
// go to the previous revision
|
||||
previousRevision: function() {
|
||||
if ( Diff.rightDiff > 1 ) // unless at left boundry
|
||||
Diff.rightDiff = Diff.rightDiff - 1 ;
|
||||
|
|
|
@ -87,7 +87,7 @@ final class WP_Theme implements ArrayAccess {
|
|||
/**
|
||||
* The directory name of the theme's files, inside the theme root.
|
||||
*
|
||||
* In the case of a child theme, this is directory name of the the child theme.
|
||||
* In the case of a child theme, this is directory name of the child theme.
|
||||
* Otherwise, 'stylesheet' is the same as 'template'.
|
||||
*
|
||||
* @access private
|
||||
|
@ -720,7 +720,7 @@ final class WP_Theme implements ArrayAccess {
|
|||
/**
|
||||
* The directory name of the theme's "stylesheet" files, inside the theme root.
|
||||
*
|
||||
* In the case of a child theme, this is directory name of the the child theme.
|
||||
* In the case of a child theme, this is directory name of the child theme.
|
||||
* Otherwise, get_stylesheet() is the same as get_template().
|
||||
*
|
||||
* @since 3.4.0
|
||||
|
|
|
@ -391,7 +391,7 @@ function rss_enclosure() {
|
|||
foreach ( (array) $val as $enc ) {
|
||||
$enclosure = explode("\n", $enc);
|
||||
|
||||
//only get the the first element eg, audio/mpeg from 'audio/mpeg mpga mp2 mp3'
|
||||
// only get the first element, e.g. audio/mpeg from 'audio/mpeg mpga mp2 mp3'
|
||||
$t = preg_split('/[ \t]/', trim($enclosure[2]) );
|
||||
$type = $t[0];
|
||||
|
||||
|
|
|
@ -1913,7 +1913,7 @@ function _wp_iso_convert( $match ) {
|
|||
*
|
||||
* @since 1.2.0
|
||||
*
|
||||
* @uses get_option() to retrieve the the value of 'gmt_offset'.
|
||||
* @uses get_option() to retrieve the value of 'gmt_offset'.
|
||||
* @param string $string The date to be converted.
|
||||
* @param string $format The format string for the returned date (default is Y-m-d H:i:s)
|
||||
* @return string GMT version of the date provided.
|
||||
|
|
|
@ -2743,8 +2743,8 @@ function wp_ob_end_flush_all() {
|
|||
* search engines from caching the message. Custom DB messages should do the
|
||||
* same.
|
||||
*
|
||||
* This function was backported to the the WordPress 2.3.2, but originally was
|
||||
* added in WordPress 2.5.0.
|
||||
* This function was backported to WordPress 2.3.2, but originally was added
|
||||
* in WordPress 2.5.0.
|
||||
*
|
||||
* @since 2.3.2
|
||||
* @uses $wpdb
|
||||
|
|
|
@ -1074,7 +1074,7 @@ function get_post_types( $args = array(), $output = 'names', $operator = 'and' )
|
|||
* * While the default settings of exclude_from_search, publicly_queryable, show_ui, and show_in_nav_menus are
|
||||
* inherited from public, each does not rely on this relationship and controls a very specific intention.
|
||||
* - exclude_from_search - Whether to exclude posts with this post type from front end search results.
|
||||
* * If not set, the the opposite of public's current value is used.
|
||||
* * If not set, the opposite of public's current value is used.
|
||||
* - publicly_queryable - Whether queries can be performed on the front end for the post type as part of parse_request().
|
||||
* * ?post_type={post_type_key}
|
||||
* * ?{post_type_key}={single_post_slug}
|
||||
|
|
Loading…
Reference in New Issue