Make WordPress Core


Ignore:
Timestamp:
05/02/2016 03:59:56 AM (7 years ago)
Author:
DrewAPicture
Message:

Docs: Remove inline @see tags from function, class, and method references in inline docs.

Known functions, classes, and methods are now auto-linked in Code Reference pages following #meta1483.

Note: Hook references are still linked via inline @see tags due to the unlikelihood of reliably matching for known hooks based on a RegEx pattern.

See #32246.

File:
1 edited

Legend:

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

    r37334 r37342  
    904904 *     @type array       $labels               An array of labels for this post type. If not set, post
    905905 *                                             labels are inherited for non-hierarchical types and page
    906  *                                             labels for hierarchical ones. {@see get_post_type_labels()}.
     906 *                                             labels for hierarchical ones. get_post_type_labels().
    907907 *     @type string      $description          A short descriptive summary of what the post type is.
    908908 *                                             Default empty.
     
    917917 *                                             results. Default is the opposite value of $public.
    918918 *     @type bool        $publicly_queryable   Whether queries can be performed on the front end for the post type
    919  *                                             as part of {@see parse_request()}. Endpoints would include:
     919 *                                             as part of parse_request(). Endpoints would include:
    920920 *                                             * ?post_type={post_type_key}
    921921 *                                             * ?{post_type_key}={single_post_slug}
     
    948948 *     @type array       $capabilities         Array of capabilities for this post type. $capability_type is used
    949949 *                                             as a base to construct capabilities by default.
    950  *                                             {@see get_post_type_capabilities()}.
     950 *                                             See get_post_type_capabilities().
    951951 *     @type bool        $map_meta_cap         Whether to use the internal default meta capability handling.
    952952 *                                             Default false.
    953  *     @type array       $supports             An alias for calling {@see add_post_type_support()} directly.
    954  *                                             Defaults to array containing 'title' & 'editor'.
     953 *     @type array       $supports             An alias for calling add_post_type_support() directly. Defaults to array
     954 *                                             containing 'title' & 'editor'.
    955955 *     @type callable    $register_meta_box_cb Provide a callback function that sets up the meta boxes for the
    956956 *                                             edit form. Do remove_meta_box() and add_meta_box() calls in the
    957957 *                                             callback. Default null.
    958958 *     @type array       $taxonomies           An array of taxonomy identifiers that will be registered for the
    959  *                                             post type. Taxonomies can be registered later with
    960  *                                             {@see register_taxonomy()} or {@see register_taxonomy_for_object_type()}.
     959 *                                             post type. Taxonomies can be registered later with register_taxonomy()
     960 *                                             or register_taxonomy_for_object_type().
    961961 *                                             Default empty array.
    962962 *     @type bool|string $has_archive          Whether there should be post type archives, or if a string, the
     
    54895489     * @param string $date     Date the last post was published.
    54905490     * @param string $timezone Location to use for getting the post published date.
    5491      *                         See {@see get_lastpostdate()} for accepted `$timezone` values.
     5491     *                         See get_lastpostdate() for accepted `$timezone` values.
    54925492     */
    54935493    return apply_filters( 'get_lastpostdate', _get_last_post_time( $timezone, 'date', $post_type ), $timezone );
     
    55045504 * @since 4.4.0 The `$post_type` argument was added.
    55055505 *
    5506  * @param string $timezone  Optional. The timezone for the timestamp. See {@see get_lastpostdate()}
     5506 * @param string $timezone  Optional. The timezone for the timestamp. See get_lastpostdate()
    55075507 *                          for information on accepted values.
    55085508 *                          Default 'server'.
     
    55195519     *                                 Returning anything other than false will short-circuit the function.
    55205520     * @param string $timezone         Location to use for getting the post modified date.
    5521      *                                 See {@see get_lastpostdate()} for accepted `$timezone` values.
     5521     *                                 See get_lastpostdate() for accepted `$timezone` values.
    55225522     * @param string $post_type        The post type to check.
    55235523     */
     
    55415541     * @param string $lastpostmodified Date the last post was modified.
    55425542     * @param string $timezone         Location to use for getting the post modified date.
    5543      *                                 See {@see get_lastpostdate()} for accepted `$timezone` values.
     5543     *                                 See get_lastpostdate() for accepted `$timezone` values.
    55445544     */
    55455545    return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone );
     
    58465846 * @param int     $deprecated Not used. Can be set to null. Never implemented. Not marked
    58475847 *                            as deprecated with _deprecated_argument() as it conflicts with
    5848  *                            wp_transition_post_status() and the default filter for
    5849  *                            {@see _future_post_hook()}.
     5848 *                            wp_transition_post_status() and the default filter for _future_post_hook().
    58505849 * @param WP_Post $post       Post object.
    58515850 */
Note: See TracChangeset for help on using the changeset viewer.