mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-25 13:52:59 +02:00
Docs: Correct the DocBlock for get_header_video_url()
.
Props keesiemeijer. Fixes #39468. Built from https://develop.svn.wordpress.org/trunk@39676 git-svn-id: http://core.svn.wordpress.org/trunk@39616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
64bb76d122
commit
7a83036227
@ -1325,13 +1325,14 @@ function has_header_video() {
|
||||
return (bool) get_header_video_url();
|
||||
}
|
||||
|
||||
/* Retrieve header video URL for custom header.
|
||||
/**
|
||||
* Retrieve header video URL for custom header.
|
||||
*
|
||||
* Uses a local video if present, or falls back to an external video. Returns false if there is no video.
|
||||
* Uses a local video if present, or falls back to an external video.
|
||||
*
|
||||
* @since 4.7.0
|
||||
*
|
||||
* @return string|false
|
||||
* @return string|false Header video URL or false if there is no video.
|
||||
*/
|
||||
function get_header_video_url() {
|
||||
$id = absint( get_theme_mod( 'header_video' ) );
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.8-alpha-39675';
|
||||
$wp_version = '4.8-alpha-39676';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user