diff --git src/wp-admin/edit-form-advanced.php src/wp-admin/edit-form-advanced.php
index 50796814a6..75cdeccd68 100644
|
|
$messages['attachment'] = array_fill( 1, 10, __( 'Media file updated.' ) ); // H |
167 | 167 | * |
168 | 168 | * @since 3.0.0 |
169 | 169 | * |
170 | | * @param array $messages Post updated messages. For defaults @see $messages declarations above. |
| 170 | * @param string[] $messages Post updated messages. For defaults @see $messages declarations above. |
171 | 171 | */ |
172 | 172 | $messages = apply_filters( 'post_updated_messages', $messages ); |
173 | 173 | |
diff --git src/wp-admin/edit.php src/wp-admin/edit.php
index d97932b11f..e09f13b8e4 100644
|
|
$bulk_messages['page'] = array( |
293 | 293 | * |
294 | 294 | * @since 3.7.0 |
295 | 295 | * |
296 | | * @param array $bulk_messages Arrays of messages, each keyed by the corresponding post type. Messages are |
297 | | * keyed with 'updated', 'locked', 'deleted', 'trashed', and 'untrashed'. |
298 | | * @param array $bulk_counts Array of item counts for each message, used to build internationalized strings. |
| 296 | * @param string[] $bulk_messages Arrays of messages, each keyed by the corresponding post type. Messages are |
| 297 | * keyed with 'updated', 'locked', 'deleted', 'trashed', and 'untrashed'. |
| 298 | * @param int[] $bulk_counts Array of item counts for each message, used to build internationalized strings. |
299 | 299 | */ |
300 | 300 | $bulk_messages = apply_filters( 'bulk_post_updated_messages', $bulk_messages, $bulk_counts ); |
301 | 301 | $bulk_counts = array_filter( $bulk_counts ); |
diff --git src/wp-admin/includes/ajax-actions.php src/wp-admin/includes/ajax-actions.php
index 3f3c0fc7e8..1a09e38530 100644
|
|
function wp_ajax_nopriv_heartbeat() { |
37 | 37 | * @since 3.6.0 |
38 | 38 | * |
39 | 39 | * @param array|object $response The no-priv Heartbeat response object or array. |
40 | | * @param array $data An array of data passed via $_POST. |
| 40 | * @param string[] $data An array of data passed via $_POST. |
41 | 41 | * @param string $screen_id The screen id. |
42 | 42 | */ |
43 | 43 | $response = apply_filters( 'heartbeat_nopriv_received', $response, $data, $screen_id ); |
diff --git src/wp-admin/includes/bookmark.php src/wp-admin/includes/bookmark.php
index cd952a7f11..4cc3624bf2 100644
|
|
function wp_insert_link( $linkdata, $wp_error = false ) { |
245 | 245 | * @since 2.1.0 |
246 | 246 | * |
247 | 247 | * @param int $link_id ID of the link to update. |
248 | | * @param array $link_categories Array of link categories to add the link to. |
| 248 | * @param int[] $link_categories Array of link category IDs to add the link to. |
249 | 249 | */ |
250 | 250 | function wp_set_link_cats( $link_id = 0, $link_categories = array() ) { |
251 | 251 | // If $link_categories isn't already an array, make it one: |
diff --git src/wp-admin/includes/class-wp-comments-list-table.php src/wp-admin/includes/class-wp-comments-list-table.php
index 37e65cfc19..770bdc6a20 100644
|
|
class WP_Comments_List_Table extends WP_List_Table { |
272 | 272 | * |
273 | 273 | * @since 2.5.0 |
274 | 274 | * |
275 | | * @param array $status_links An array of fully-formed status links. Default 'All'. |
276 | | * Accepts 'All', 'Pending', 'Approved', 'Spam', and 'Trash'. |
| 275 | * @param string[] $status_links An array of fully-formed status links. Default 'All'. |
| 276 | * Accepts 'All', 'Pending', 'Approved', 'Spam', and 'Trash'. |
277 | 277 | */ |
278 | 278 | return apply_filters( 'comment_status_links', $status_links ); |
279 | 279 | } |