Make WordPress Core


Ignore:
Timestamp:
05/23/2016 07:01:40 PM (10 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.php

    r37504 r37544  
    1313/**
    1414 * Creates the initial post types when 'init' action is fired.
     15 *
     16 * See {@see 'init'}.
    1517 *
    1618 * @since 2.9.0
     
    39593961 * though this does not always mean the status has actually changed before and after
    39603962 * the save. This function fires a number of action hooks related to that transition:
    3961  * the generic 'transition_post_status' action, as well as the dynamic hooks
    3962  * `"{$old_status}_to_{$new_status}"` and `"{$new_status}_{$post->post_type}"`. Note
     3963 * the generic {@see 'transition_post_status'} action, as well as the dynamic hooks
     3964 * {@see '$old_status_to_$new_status'} and {@see '$new_status_$post->post_type'}. Note
    39633965 * that the function does not transition the post object in the database.
    39643966 *
     
    59275929 *
    59285930 * Prevents loops from forming and breaks those that it finds. Attached
    5929  * to the 'wp_insert_post_parent' filter.
     5931 * to the {@see 'wp_insert_post_parent'} filter.
    59305932 *
    59315933 * @since 3.1.0
Note: See TracChangeset for help on using the changeset viewer.