Fix typos in phpdoc. props jcastaneda. fixes #24230.
git-svn-id: http://core.svn.wordpress.org/trunk@24147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4705c96648
commit
183e0e25e5
|
@ -340,7 +340,7 @@ function search_theme_directories( $force = false ) {
|
||||||
|
|
||||||
// Set up maybe-relative, maybe-absolute array of theme directories.
|
// Set up maybe-relative, maybe-absolute array of theme directories.
|
||||||
// We always want to return absolute, but we need to cache relative
|
// We always want to return absolute, but we need to cache relative
|
||||||
// use in for get_theme_root().
|
// to use in get_theme_root().
|
||||||
foreach ( $wp_theme_directories as $theme_root ) {
|
foreach ( $wp_theme_directories as $theme_root ) {
|
||||||
if ( 0 === strpos( $theme_root, WP_CONTENT_DIR ) )
|
if ( 0 === strpos( $theme_root, WP_CONTENT_DIR ) )
|
||||||
$relative_theme_roots[ str_replace( WP_CONTENT_DIR, '', $theme_root ) ] = $theme_root;
|
$relative_theme_roots[ str_replace( WP_CONTENT_DIR, '', $theme_root ) ] = $theme_root;
|
||||||
|
@ -544,7 +544,7 @@ function locale_stylesheet() {
|
||||||
/**
|
/**
|
||||||
* Start preview theme output buffer.
|
* Start preview theme output buffer.
|
||||||
*
|
*
|
||||||
* Will only preform task if the user has permissions and template and preview
|
* Will only perform task if the user has permissions and template and preview
|
||||||
* query variables exist.
|
* query variables exist.
|
||||||
*
|
*
|
||||||
* @since 2.6.0
|
* @since 2.6.0
|
||||||
|
|
Loading…
Reference in New Issue