mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user