Make WordPress Core


Ignore:
Timestamp:
07/13/2020 10:08:16 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Miscellaneous docblock corrections and improvements.

See #49572

File:
1 edited

Legend:

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

    r48356 r48462  
    23562356
    23572357/**
    2358  * Sanitize post field based on context.
     2358 * Sanitizes a post field based on context.
    23592359 *
    23602360 * Possible context values are:  'raw', 'edit', 'db', 'display', 'attribute' and
     
    23682368 * @param mixed  $value   The Post Object value.
    23692369 * @param int    $post_id Post ID.
    2370  * @param string $context Optional. How to sanitize post fields. Looks for 'raw', 'edit',
     2370 * @param string $context Optional. How to sanitize the field. Possible values are 'raw', 'edit',
    23712371 *                        'db', 'display', 'attribute' and 'js'. Default 'display'.
    23722372 * @return mixed Sanitized value.
     
    24952495             * @param int    $post_id Post ID.
    24962496             * @param string $context Context for how to sanitize the field. Possible
    2497              *                        values include 'raw', 'edit', 'db', 'display',
     2497             *                        values include 'edit', 'display',
    24982498             *                        'attribute' and 'js'.
    24992499             */
Note: See TracChangeset for help on using the changeset viewer.