From 3da5165287cacdfd85a391063a512bbb4a186b17 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 12 Dec 2015 15:52:27 +0000 Subject: [PATCH] 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 --- wp-includes/general-template.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index f554e1fdc5..dbc70530bf 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -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 = '') { diff --git a/wp-includes/version.php b/wp-includes/version.php index 408ed3a37e..46a1451eae 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.