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
This commit is contained in:
parent
61b9bfba92
commit
30ada3d17d
|
@ -662,7 +662,7 @@ function single_post_title($prefix = '', $display = true) {
|
||||||
* @param bool $display Optional, default is true. Whether to display or retrieve title.
|
* @param bool $display Optional, default is true. Whether to display or retrieve title.
|
||||||
* @return string|null Title when retrieving, null when displaying or failure.
|
* @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() )
|
if ( ! is_post_type_archive() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue