From 6e8102dae64a9f15347f94c892f32a3527cce6c7 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 10 Jun 2016 00:03:28 +0000 Subject: [PATCH] Docs: Add documentation for the variadic second parameter, `$args`, accepted by `add_theme_support()`. h/t kevinwhoffman Fixes #37067. Built from https://develop.svn.wordpress.org/trunk@37672 git-svn-id: http://core.svn.wordpress.org/trunk@37638 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/theme.php | 7 ++++--- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 74c5ccda78..724406e71f 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -1524,9 +1524,10 @@ function get_editor_stylesheets() { * * @global array $_wp_theme_features * - * @param string $feature The feature being added. Likely core values include 'post-formats', - * 'post-thumbnails', 'html5', 'custom-logo', 'custom-header-uploads', - * 'custom-header', 'custom-background', 'title-tag', etc. + * @param string $feature The feature being added. Likely core values include 'post-formats', + * 'post-thumbnails', 'html5', 'custom-logo', 'custom-header-uploads', + * 'custom-header', 'custom-background', 'title-tag', etc. + * @param mixed $args,... Optional extra arguments to pass along with certain features. * @return void|bool False on failure, void otherwise. */ function add_theme_support( $feature ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 66e4738c28..0337bfab1f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37671'; +$wp_version = '4.6-alpha-37672'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.