WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/23/2016 06:53:05 PM (3 years ago)
Author:
DrewAPicture
Message:

Docs: Apply inline @see tags to hooks referenced in DocBlocks for core classes.

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-includes/class-wp-rewrite.php

    r37492 r37539  
    12531253     * Constructs rewrite matches and queries from permalink structure.
    12541254     *
    1255      * Runs the action 'generate_rewrite_rules' with the parameter that is an
     1255     * Runs the action {@see 'generate_rewrite_rules'} with the parameter that is an
    12561256     * reference to the current WP_Rewrite instance to further manipulate the
    1257      * permalink structures and rewrite rules. Runs the 'rewrite_rules_array'
     1257     * permalink structures and rewrite rules. Runs the {@see 'rewrite_rules_array'}
    12581258     * filter on the full rewrite rule array.
    12591259     *
    12601260     * There are two ways to manipulate the rewrite rules, one by hooking into
    1261      * the 'generate_rewrite_rules' action and gaining full control of the
     1261     * the {@see 'generate_rewrite_rules'} action and gaining full control of the
    12621262     * object or just manipulating the rewrite rule array before it is passed
    12631263     * from the function.
     
    18731873     * WP_Rewrite::init() after the option is updated.
    18741874     *
    1875      * Fires the 'permalink_structure_changed' action once the init call has
     1875     * Fires the {@see 'permalink_structure_changed'} action once the init call has
    18761876     * processed passing the old and new values
    18771877     *
Note: See TracChangeset for help on using the changeset viewer.