WordPress.org

Make WordPress Core

Changeset 16211


Ignore:
Timestamp:
11/05/2010 09:14:43 PM (9 years ago)
Author:
nacin
Message:

Add missing arguments to post_type_archive_title. props greenshady, see #13818.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r16156 r16211  
    663663 * @return string|null Title when retrieving, null when displaying or failure.
    664664 */
    665 function post_type_archive_title() {
     665function post_type_archive_title( $prefix = '', $display = true ) {
    666666    if ( ! is_post_type_archive() )
    667667        return;
Note: See TracChangeset for help on using the changeset viewer.