mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +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:
@@ -116,7 +116,7 @@ function get_bookmark_field( $field, $bookmark, $context = 'display' ) {
|
||||
* Accepts 'ASC' (ascending) or 'DESC' (descending). Default 'ASC'.
|
||||
* @type int $limit Amount of bookmarks to display. Accepts any positive number or
|
||||
* -1 for all. Default -1.
|
||||
* @type string $category Comma-separated list of category ids to include links from.
|
||||
* @type string $category Comma-separated list of category IDs to include links from.
|
||||
* Default empty.
|
||||
* @type string $category_name Category to retrieve links for by name. Default empty.
|
||||
* @type int|bool $hide_invisible Whether to show or hide links marked as 'invisible'. Accepts
|
||||
@@ -321,13 +321,12 @@ function get_bookmarks( $args = '' ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sanitizes all bookmark fields
|
||||
* Sanitizes all bookmark fields.
|
||||
*
|
||||
* @since 2.3.0
|
||||
*
|
||||
* @param stdClass|array $bookmark Bookmark row
|
||||
* @param string $context Optional, default is 'display'. How to filter the
|
||||
* fields
|
||||
* @param stdClass|array $bookmark Bookmark row.
|
||||
* @param string $context Optional. How to filter the fields. Default 'display'.
|
||||
* @return stdClass|array Same type as $bookmark but with fields sanitized.
|
||||
*/
|
||||
function sanitize_bookmark( $bookmark, $context = 'display' ) {
|
||||
|
||||
Reference in New Issue
Block a user