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
This commit is contained in:
nacin 2010-11-05 21:14:43 +00:00
parent cd8c19d46d
commit c914ad1731

View File

@ -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;