id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 45849,Missing @return statement in function,subrataemfluence,SergeyBiryukov,"Are we already tracking the following or fixed already? If not, `get_admin_page_parent` function in `wp-admin/includes/plugin.php` has no `return` type specified in its Doc block. Also, it does not have a signature for `$parent` argument in Doc block as well. I think the Doc block may be rewritten in the following manner: {{{ /** * * @global string $parent_file * @global array $menu * @global array $submenu * @global string $pagenow * @global string $typenow * @global string $plugin_page * @global array $_wp_real_parent_file * @global array $_wp_menu_nopriv * @global array $_wp_submenu_nopriv * * $parent string. Name of admin page parent. Default is empty when current page has no parent. * @return string. */ function get_admin_page_parent( $parent = '' ) { ... } }}} ",defect (bug),closed,normal,5.5,Plugins,5.0.2,normal,fixed,needs-patch,,"docs, coding-standards"