Coding Standards: Fix WPCS issue in [49963].

Props pawki07, mukesh27.
Fixes #52316. See #51800.

git-svn-id: https://develop.svn.wordpress.org/trunk@49965 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2021-01-16 17:19:00 +00:00
parent 8a28115650
commit 994e657e74
+1 -1
View File
@@ -6223,7 +6223,7 @@ function wp_get_attachment_url( $attachment_id = 0 ) {
* @since 4.6.0
*
* @param int $post_id Optional. Attachment ID. Default is the ID of the global `$post`.
* @return string|false Attachment caption on success, false on failure.
* @return string|false Attachment caption on success, false on failure.
*/
function wp_get_attachment_caption( $post_id = 0 ) {
$post_id = (int) $post_id;