Skip to content

Commit 43d027f

Browse files
committed
Fill in the @param types for the args for functions missing them in wp-admin/includes/template.php.
See #30224. git-svn-id: https://develop.svn.wordpress.org/trunk@30196 602fd350-edb4-49c9-b593-d223f7449a82
1 parent aff2817 commit 43d027f

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/wp-admin/includes/template.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ function wp_popular_terms_checklist( $taxonomy, $default = 0, $number = 10, $ech
289289
*
290290
* @since 2.5.1
291291
*
292-
* @param unknown_type $link_id
292+
* @param int $link_id
293293
*/
294294
function wp_link_category_checklist( $link_id = 0 ) {
295295
$default = 1;
@@ -324,7 +324,7 @@ function wp_link_category_checklist( $link_id = 0 ) {
324324
*
325325
* @since 2.7.0
326326
*
327-
* @param unknown_type $post
327+
* @param WP_Post $post
328328
*/
329329
function get_inline_data($post) {
330330
$post_type_object = get_post_type_object($post->post_type);
@@ -519,7 +519,7 @@ function wp_comment_trashnotice() {
519519
*
520520
* @since 1.2.0
521521
*
522-
* @param unknown_type $meta
522+
* @param array $meta
523523
*/
524524
function list_meta( $meta ) {
525525
// Exit if no meta
@@ -562,9 +562,9 @@ function list_meta( $meta ) {
562562
*
563563
* @since 2.5.0
564564
*
565-
* @param unknown_type $entry
566-
* @param unknown_type $count
567-
* @return unknown
565+
* @param array $entry
566+
* @param int $count
567+
* @return string
568568
*/
569569
function _list_meta_row( $entry, &$count ) {
570570
static $update_nonce = false;
@@ -1429,7 +1429,7 @@ function settings_errors( $setting = '', $sanitize = false, $hide_on_update = fa
14291429
*
14301430
* @since 2.7.0
14311431
*
1432-
* @param unknown_type $found_action
1432+
* @param string $found_action
14331433
*/
14341434
function find_posts_div($found_action = '') {
14351435
?>

0 commit comments

Comments
 (0)