mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Docs: Capitalize "ID", when referring to a post ID, term ID, etc. in a more consistent way.
See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48104 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4329,7 +4329,7 @@ function get_post_galleries( $post, $html = true ) {
|
||||
$shortcode_attrs = array();
|
||||
}
|
||||
|
||||
// Specify the post id of the gallery we're viewing if the shortcode doesn't reference another post already.
|
||||
// Specify the post ID of the gallery we're viewing if the shortcode doesn't reference another post already.
|
||||
if ( ! isset( $shortcode_attrs['id'] ) ) {
|
||||
$shortcode[3] .= ' id="' . intval( $post->ID ) . '"';
|
||||
}
|
||||
@@ -4502,7 +4502,7 @@ function attachment_url_to_postid( $url ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters an attachment id found by URL.
|
||||
* Filters an attachment ID found by URL.
|
||||
*
|
||||
* @since 4.2.0
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user