Making WordPress.org


Ignore:
Timestamp:
01/08/2015 06:13:42 PM (10 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Rename get_long_description() to get_description() to match documentation standard nomenclature

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php

    r1092 r1104  
    10501050
    10511051    /**
    1052      * Gets the long description.
    1053      *
    1054      * The long description is stored in the 'wporg_parsed_content' meta field.
     1052     * Gets the description.
     1053     *
     1054     * The (long) description is stored in the 'post_content' get_post_field.
    10551055     *
    10561056     * @param  null|WP_Post Optiona. The post.
    10571057     * @return string
    10581058     */
    1059     function get_long_description( $post = null ) {
     1059    function get_description( $post = null ) {
    10601060        $post = get_post( $post );
    10611061
Note: See TracChangeset for help on using the changeset viewer.