Make WordPress Core


Ignore:
Timestamp:
11/28/2014 08:59:45 AM (11 years ago)
Author:
DrewAPicture
Message:

4.1 Docs Audit: Fix a variety of issues with the DocBlock for the default_page_template_title filter.

Includes hyphenating 'drop-down', ensuring the DocBlock itself is correctly indented, and wraps lines at an appropriate length.

See #30469.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/meta-boxes.php

    r30360 r30601  
    746746<label class="screen-reader-text" for="page_template"><?php _e('Page Template') ?></label><select name="page_template" id="page_template">
    747747<?php
    748 /**
    749 * Filter the title of the default page template displayed in the dropdown.
    750 *
    751 * @since 4.1.0
    752 *
    753 * @param string $label   The display value for the default page template title.
    754 * @param string $context Where the option label is displayed. Possible values include 'meta-box' and 'quick-edit'.
    755 */
     748/**
     749 * Filter the title of the default page template displayed in the drop-down.
     750 *
     751 * @since 4.1.0
     752 *
     753 * @param string $label   The display value for the default page template title.
     754 * @param string $context Where the option label is displayed. Possible values
     755 *                        include 'meta-box' or 'quick-edit'.
     756 */
    756757$default_title = apply_filters( 'default_page_template_title',  __( 'Default Template' ), 'meta-box' );
    757758?>
Note: See TracChangeset for help on using the changeset viewer.