Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#20906 closed defect (bug) (fixed)

Incorrect docs for WP_Admin_Bar::remove_node()

Reported by: scribu's profile scribu Owned by: nacin's profile nacin
Milestone: 3.5 Priority: normal
Severity: trivial Version:
Component: Inline Docs Keywords: has-patch commit
Focuses: Cc:

Description

The doc says that it returns the removed node, but that's simply not true.

Attachments (1)

20906.diff (413 bytes) - added by scribu 12 years ago.

Download all attachments as: .zip

Change History (5)

@scribu
12 years ago

#1 @nacin
12 years ago

It did, until we introduced get_node().

#2 @scribu
12 years ago

I know. Still a bug, either way. :P

#3 @SergeyBiryukov
12 years ago

  • Milestone changed from Awaiting Review to 3.5

#4 @nacin
12 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [21608]:

Remove the @return for WP_Admin_Bar::remove_node(). props scribu. fixes #20906.

Note: See TracTickets for help on using tickets.