From c914ad1731c311d4e78ca5bc2020c2685889ef5c Mon Sep 17 00:00:00 2001 From: nacin Date: Fri, 5 Nov 2010 21:14:43 +0000 Subject: [PATCH] Add missing arguments to post_type_archive_title. props greenshady, see #13818. git-svn-id: http://svn.automattic.com/wordpress/trunk@16211 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 2fc225e5d..53a3a83f7 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -662,7 +662,7 @@ function single_post_title($prefix = '', $display = true) { * @param bool $display Optional, default is true. Whether to display or retrieve title. * @return string|null Title when retrieving, null when displaying or failure. */ -function post_type_archive_title() { +function post_type_archive_title( $prefix = '', $display = true ) { if ( ! is_post_type_archive() ) return;