Make WordPress Core


Ignore:
Timestamp:
05/23/2016 07:01:40 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Apply inline @see tags to hooks referenced in DocBlocks in a variety of wp-includes/* files.

Applying these specially-crafted @see tags allows the Code Reference parser to recognize and link these elements as actions and filters.

Fixes #36921.

File:
1 edited

Legend:

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

    r37501 r37544  
    416416
    417417/**
    418  * Retrieve the classes for the post div as an array.
     418 * Retrieves the classes for the post div as an array.
    419419 *
    420420 * The class names are many. If the post is a sticky, then the 'sticky'
     
    422422 * post thumbnail, 'has-post-thumbnail' is added as a class. For each taxonomy that
    423423 * the post belongs to, a class will be added of the format '{$taxonomy}-{$slug}' -
    424  * eg 'category-foo' or 'my_custom_taxonomy-bar'. The 'post_tag' taxonomy is a special
     424 * eg 'category-foo' or 'my_custom_taxonomy-bar'.
     425 *
     426 * The 'post_tag' taxonomy is a special
    425427 * case; the class has the 'tag-' prefix instead of 'post_tag-'. All classes are
    426  * passed through the filter, 'post_class' with the list of classes, followed by
     428 * passed through the filter, {@see 'post_class'}, with the list of classes, followed by
    427429 * $class parameter value, with the post ID as the last parameter.
    428430 *
Note: See TracChangeset for help on using the changeset viewer.