WordPress.org

Make WordPress Core

Opened 5 weeks ago

Last modified 5 weeks ago

#40840 new defect (bug)

Missing @deprecated tag for WP_Admin_Bar::recursive_render()

Reported by: coffee2code Owned by:
Milestone: Awaiting Review Priority: normal
Severity: trivial Version:
Component: General Keywords: has-patch
Focuses: docs Cc:

Description

WP_Admin_Bar::recursive_render() in wp-includes/class-wp-admin-bar.php was deprecated in v3.3 via [19501] but a @deprecated phpdoc tag was not added. Attached is a patch that adds it.

Attachments (2)

40840.diff (574 bytes) - added by coffee2code 5 weeks ago.
Adds missing @deprecated tag
40840.2.diff (498 bytes) - added by coffee2code 5 weeks ago.
Adds missing @deprecated and @see tags (and puts them above @param tags)

Download all attachments as: .zip

Change History (4)

@coffee2code
5 weeks ago

Adds missing @deprecated tag

#1 @swissspidy
5 weeks ago

Thanks for the patch!

According to the inline documentation standards we also add a @see annotation for deprecated functions/methods.

@coffee2code
5 weeks ago

Adds missing @deprecated and @see tags (and puts them above @param tags)

#2 @coffee2code
5 weeks ago

According to the inline documentation standards we also add a @see annotation for deprecated functions/methods.

Patch updated to add @see tags and to move patched additions before the @param tags.

Note: See TracTickets for help on using tickets.