From f5faa8bec959144b36a07f484cb49957a927e26b Mon Sep 17 00:00:00 2001
From: Daniel Llewellyn <daniel@bowlhat.net>
Date: Wed, 13 Nov 2019 21:03:56 +0000
Subject: [PATCH] Update wp-admin/includes/post.php
Set return type of `_admin_notice_post_locked` to `void`.
---
wp-admin/includes/post.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php
index e99b9de6a4..5646af7322 100644
a
|
b
|
function wp_set_post_lock( $post_id ) { |
1632 | 1632 | * Outputs the HTML for the notice to say that someone else is editing or has taken over editing of this post. |
1633 | 1633 | * |
1634 | 1634 | * @since 2.8.5 |
1635 | | * @return none |
| 1635 | * @return void |
1636 | 1636 | */ |
1637 | 1637 | function _admin_notice_post_locked() { |
1638 | 1638 | $post = get_post(); |