Make WordPress Core


Ignore:
Timestamp:
04/07/2014 08:17:55 PM (11 years ago)
Author:
DrewAPicture
Message:

Use suggested language conventions in the hook docs description for the theme_page_templates filter.

See #27700.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme.php

    r27745 r28000  
    969969
    970970        /**
    971          * Remove or rename page templates for a theme.
     971         * Filter list of page templates for a theme.
    972972         *
    973973         * This filter does not currently allow for page templates to be added.
     
    981981         */
    982982        $return = apply_filters( 'theme_page_templates', $page_templates, $this, $post );
     983
    983984        return array_intersect_assoc( $return, $page_templates );
    984985    }
Note: See TracChangeset for help on using the changeset viewer.