Changeset 55398 for trunk/src/wp-includes/revision.php
- Timestamp:
- 02/21/2023 04:37:03 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/revision.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/revision.php
r55254 r55398 261 261 * 262 262 * @param int $post_id The post ID. 263 * @param int $user_id Optional. The post author ID. 263 * @param int $user_id Optional. The post author ID. Default 0. 264 264 * @return WP_Post|false The autosaved data or false on failure or when no autosave exists. 265 265 */ … … 344 344 * @param int|WP_Post|array|null $post Post ID, post object OR post array. 345 345 * @param bool $autosave Optional. Whether the revision is an autosave or not. 346 * Default false. 346 347 * @return int|WP_Error WP_Error or 0 if error, new revision ID if success. 347 348 */ … … 392 393 * correspond to a WP_Post object, an associative array, or a numeric array, 393 394 * respectively. Default OBJECT. 394 * @param string $filter Optional sanitization filter. See sanitize_post(). 395 * @param string $filter Optional sanitization filter. See sanitize_post(). Default 'raw'. 395 396 * @return WP_Post|array|null WP_Post (or array) on success, or null on failure. 396 397 */
Note: See TracChangeset
for help on using the changeset viewer.