Changeset 48462 for trunk/src/wp-includes/post.php
- Timestamp:
- 07/13/2020 10:08:16 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r48356 r48462 2356 2356 2357 2357 /** 2358 * Sanitize post field based on context.2358 * Sanitizes a post field based on context. 2359 2359 * 2360 2360 * Possible context values are: 'raw', 'edit', 'db', 'display', 'attribute' and … … 2368 2368 * @param mixed $value The Post Object value. 2369 2369 * @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', 2371 2371 * 'db', 'display', 'attribute' and 'js'. Default 'display'. 2372 2372 * @return mixed Sanitized value. … … 2495 2495 * @param int $post_id Post ID. 2496 2496 * @param string $context Context for how to sanitize the field. Possible 2497 * values include ' raw', 'edit', 'db', 'display',2497 * values include 'edit', 'display', 2498 2498 * 'attribute' and 'js'. 2499 2499 */
Note: See TracChangeset
for help on using the changeset viewer.