mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
Fix typos in phpdoc. props TheLastCicada. fixes #24302.
git-svn-id: http://core.svn.wordpress.org/trunk@24229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fb6293b714
commit
74638ccb5a
@ -58,7 +58,7 @@ function _sort_name_callback( $a, $b ) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Show the widgets and their settings for a sidebar.
|
* 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
|
* @since 2.5.0
|
||||||
*
|
*
|
||||||
|
@ -621,7 +621,7 @@ window.wp = window.wp || {};
|
|||||||
}, true );
|
}, true );
|
||||||
},
|
},
|
||||||
|
|
||||||
// go the the previous revision
|
// go to the previous revision
|
||||||
previousRevision: function() {
|
previousRevision: function() {
|
||||||
if ( Diff.rightDiff > 1 ) // unless at left boundry
|
if ( Diff.rightDiff > 1 ) // unless at left boundry
|
||||||
Diff.rightDiff = Diff.rightDiff - 1 ;
|
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.
|
* 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'.
|
* Otherwise, 'stylesheet' is the same as 'template'.
|
||||||
*
|
*
|
||||||
* @access private
|
* @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.
|
* 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().
|
* Otherwise, get_stylesheet() is the same as get_template().
|
||||||
*
|
*
|
||||||
* @since 3.4.0
|
* @since 3.4.0
|
||||||
|
@ -391,7 +391,7 @@ function rss_enclosure() {
|
|||||||
foreach ( (array) $val as $enc ) {
|
foreach ( (array) $val as $enc ) {
|
||||||
$enclosure = explode("\n", $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]) );
|
$t = preg_split('/[ \t]/', trim($enclosure[2]) );
|
||||||
$type = $t[0];
|
$type = $t[0];
|
||||||
|
|
||||||
|
@ -1913,7 +1913,7 @@ function _wp_iso_convert( $match ) {
|
|||||||
*
|
*
|
||||||
* @since 1.2.0
|
* @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 $string The date to be converted.
|
||||||
* @param string $format The format string for the returned date (default is Y-m-d H:i:s)
|
* @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.
|
* @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
|
* search engines from caching the message. Custom DB messages should do the
|
||||||
* same.
|
* same.
|
||||||
*
|
*
|
||||||
* This function was backported to the the WordPress 2.3.2, but originally was
|
* This function was backported to WordPress 2.3.2, but originally was added
|
||||||
* added in WordPress 2.5.0.
|
* in WordPress 2.5.0.
|
||||||
*
|
*
|
||||||
* @since 2.3.2
|
* @since 2.3.2
|
||||||
* @uses $wpdb
|
* @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
|
* * 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.
|
* 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.
|
* - 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().
|
* - 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={post_type_key}
|
||||||
* * ?{post_type_key}={single_post_slug}
|
* * ?{post_type_key}={single_post_slug}
|
||||||
|
Loading…
Reference in New Issue
Block a user