Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#20906 closed defect (bug) (fixed)

Incorrect docs for WP_Admin_Bar::remove_node()

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

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 14 years ago.

Download all attachments as: .zip

Change History (5)

@scribu
14 years ago

#1 @nacin
14 years ago

It did, until we introduced get_node().

#2 @scribu
14 years ago

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

#3 @SergeyBiryukov
14 years ago

  • Milestone Awaiting Review → 3.5

#4 @nacin
14 years ago

  • Owner set to nacin
  • Resolution → fixed
  • Status new → closed

In [21608]:

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

Note: See TracTickets for help on using tickets.