Docs: Document optional parameters in `get_archives_link()`.
Props kiranpotphode. Fixes #34856. Built from https://develop.svn.wordpress.org/trunk@35886 git-svn-id: http://core.svn.wordpress.org/trunk@35850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
54b8c3e53b
commit
3da5165287
|
@ -1467,8 +1467,8 @@ function get_the_archive_description() {
|
|||
* @param string $url URL to archive.
|
||||
* @param string $text Archive text description.
|
||||
* @param string $format Optional, default is 'html'. Can be 'link', 'option', 'html', or custom.
|
||||
* @param string $before Optional.
|
||||
* @param string $after Optional.
|
||||
* @param string $before Optional. Content to prepend to the description. Default empty.
|
||||
* @param string $after Optional. Content to append to the description. Default empty.
|
||||
* @return string HTML link content for archive.
|
||||
*/
|
||||
function get_archives_link($url, $text, $format = 'html', $before = '', $after = '') {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-alpha-35885';
|
||||
$wp_version = '4.5-alpha-35886';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue