mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 14:50:29 +00:00
Docs: In various @return tags, list the expected type first, instead of false or WP_Error.
Follow-up to [46696], [47060], [49926], [49927]. See #51800. git-svn-id: https://develop.svn.wordpress.org/trunk@49929 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -5060,7 +5060,7 @@ function get_enclosed( $post_id ) {
|
||||
* @since 4.7.0 `$post_id` can be a WP_Post object.
|
||||
*
|
||||
* @param int|WP_Post $post_id Post ID or object.
|
||||
* @return false|string[] Array of URLs already pinged for the given post, false if the post is not found.
|
||||
* @return string[]|false Array of URLs already pinged for the given post, false if the post is not found.
|
||||
*/
|
||||
function get_pung( $post_id ) {
|
||||
$post = get_post( $post_id );
|
||||
|
||||
Reference in New Issue
Block a user