Make WordPress Core


Ignore:
Timestamp:
05/23/2016 05:27:19 PM (7 years ago)
Author:
DrewAPicture
Message:

Docs: Apply inline @see tags to hooks referenced in DocBlocks for wp-admin/* files.

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

See #36921.

File:
1 edited

Legend:

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

    r37488 r37537  
    571571     * Filters the legacy (pre-3.5.0) media buttons.
    572572     *
     573     * Use {@see 'media_buttons'} action instead.
     574     *
    573575     * @since 2.5.0
    574      * @deprecated 3.5.0 Use 'media_buttons' action instead.
     576     * @deprecated 3.5.0 Use {@see 'media_buttons'} action instead.
    575577     *
    576578     * @param string $string Media buttons context. Default empty.
     
    11331135 * post_title from the file name if none supplied.
    11341136 *
    1135  * Illustrates the use of the attachment_fields_to_save filter
     1137 * Illustrates the use of the {@see 'attachment_fields_to_save'} filter
    11361138 * which can be used to add default values to any field before saving to DB.
    11371139 *
Note: See TracChangeset for help on using the changeset viewer.