Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Originally, I just wanted to replace the missing short description of the
get_inline_data
function with the comment directly placed above the PHPDoc block. But then I fixed several other things that either my IDE complained about or that I just saw while plowing through the code.Applying the attached patch does the following:
get_inline_data
function;'1'
ofint
variable$position
inwp_comment_reply
function with1
;return;
statements for_list_meta_row
function with@return string
PHPDoc comment withreturn '';
;false
ofstring
variable$selected
inwp_dropdown_roles
function with''
;wp_dropdown_roles
function;$limit_styles
iniframe_header
function (as well as the according PHPDoc comment);$current_user
variable iniframe_header function
;@return string
PHPDoc comment forget_submit_button
function;null
ofstring
variable$text
andarray
variable$other_attribues
inget_submit_button
function with appropriate values (i.e.,''
andarray()
);@param
PHPDoc comments forenqueue_scripts
anddismiss_pointers_for_new_users
functions.This mirrors ticket #31248 on WordPress Trac.