Docs: List the expected type first in a few functions:
* `is_allowed_http_origin()` * `doing_filter()` * `wp_get_post_revisions_url()` Follow-up to [28010], [28889], [30674], [46696], [47060], [48068], [49929], [49963], [52095], [51286], [52111]. See #55646. Built from https://develop.svn.wordpress.org/trunk@53770 git-svn-id: http://core.svn.wordpress.org/trunk@53329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -584,7 +584,7 @@ function wp_get_last_revision_id_and_total_count( $post = 0 ) {
|
||||
* @since 5.9.0
|
||||
*
|
||||
* @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`.
|
||||
* @return null|string The URL for editing revisions on the given post, otherwise null.
|
||||
* @return string|null The URL for editing revisions on the given post, otherwise null.
|
||||
*/
|
||||
function wp_get_post_revisions_url( $post = 0 ) {
|
||||
$post = get_post( $post );
|
||||
|
||||
Reference in New Issue
Block a user