Make WordPress Core

Opened 4 weeks ago

Last modified 4 weeks ago

#44224 assigned defect (bug)

Missing @return in Doc comment

Reported by: subrataemfluence Owned by: subrataemfluence
Milestone: 5.0 Priority: normal
Severity: normal Version: trunk
Component: Plugins Keywords: has-patch good-first-bug needs-refresh
Focuses: docs Cc:


File name: wp-admin/includes/plugin.php

Function/Methods missing @return in Doc comment

get_plugin_page_hookname and user_can_access_admin_page

I have uploaded a patch.

Attachments (2)

44224.diff (785 bytes) - added by subrataemfluence 4 weeks ago.
44224-2.diff (1.0 KB) - added by subrataemfluence 4 weeks ago.

Download all attachments as: .zip

Change History (7)

#1 @desrosj
4 weeks ago

  • Keywords good-first-bug added
  • Milestone changed from Awaiting Review to 5.0
  • Owner set to subrataemfluence
  • Status changed from new to assigned

@subrataemfluence good catch!

Can we also add function and parameter descriptions, which are also missing? The return value should have a description as well.

Marking as good-first-bug and assigning as to mark as claimed.

Related: #42505.

#2 @subrataemfluence
4 weeks ago

Sure! I would love to :) Thank you for assigning me the task.

#3 @desrosj
4 weeks ago

  • Component changed from General to Plugins
  • Focuses docs added; coding-standards removed

#4 @netweb
4 weeks ago

  • Keywords needs-refresh added; 2nd-opinion removed

#5 @subrataemfluence
4 weeks ago

@desrosj Please let me know if the patch looks ok!

Note: See TracTickets for help on using tickets.