Changeset 53778 for trunk/src/wp-includes/revision.php
- Timestamp:
- 07/25/2022 07:18:41 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/revision.php
r53770 r53778 535 535 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post. 536 536 * @return WP_Error|array { 537 * Returns associative array with la st revision ID and total count.538 * 539 * @type int $revision The la st revision post ID or 0 if no revisions exist.537 * Returns associative array with latest revision ID and total count. 538 * 539 * @type int $revision The latest revision post ID or 0 if no revisions exist. 540 540 * @type int $count The total count of revisions for the given post. 541 541 * } 542 542 */ 543 function wp_get_la st_revision_id_and_total_count( $post = 0 ) {543 function wp_get_latest_revision_id_and_total_count( $post = 0 ) { 544 544 $post = get_post( $post ); 545 545
Note: See TracChangeset
for help on using the changeset viewer.