WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/13/2015 12:50:32 AM (7 years ago)
Author:
DrewAPicture
Message:

Ensure we're using the correct @ignore phpDocumentor tag to mark elements that should be skipped when parsing.

Up to this point, various core elements' DocBlocks incorrectly included an @internal tag as a means for skipping the parsing process. When paired with a description (inline or otherwise), @internal is a valid tag meant to provide internal-only context, but not necessarily to skip parsing the entire element.

See #30987.

File:
1 edited

Legend:

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

    r31120 r31170  
    26852685 * Perform sanity checks on data that shall be encoded to JSON.
    26862686 *
    2687  * @see wp_json_encode()
    2688  *
     2687 * @ignore
    26892688 * @since 4.1.0
    26902689 * @access private
    2691  * @internal
     2690 *
     2691 * @see wp_json_encode()
    26922692 *
    26932693 * @param mixed $data  Variable (usually an array or object) to encode as JSON.
     
    27482748 * Convert a string to UTF-8, so that it can be safely encoded to JSON.
    27492749 *
    2750  * @see _wp_json_sanity_check()
    2751  *
     2750 * @ignore
    27522751 * @since 4.1.0
    27532752 * @access private
    2754  * @internal
     2753 *
     2754 * @see _wp_json_sanity_check()
    27552755 *
    27562756 * @param string $string The string which is to be converted.
     
    43214321 * Return a MySQL expression for selecting the week number based on the start_of_week option.
    43224322 *
    4323  * @internal
     4323 * @ignore
    43244324 * @since 3.0.0
    43254325 *
Note: See TracChangeset for help on using the changeset viewer.