From 30ada3d17db36e0f816ea3c7b0ada35331a93c09 Mon Sep 17 00:00:00 2001 From: Andrew 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: https://develop.svn.wordpress.org/trunk@16211 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 2fc225e5d5..53a3a83f76 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;