[wp-trac] [WordPress Trac] #24900: PHPDocs for $wp_admin_bar in admin-bar.php

WordPress Trac noreply at wordpress.org
Thu Sep 5 20:46:31 UTC 2013


#24900: PHPDocs for $wp_admin_bar in admin-bar.php
--------------------------+-----------------------
 Reporter:  jeremyfelt    |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.7
Component:  Inline Docs   |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by SergeyBiryukov):

 Replying to [comment:6 toscho]:
 > Currently, these functions accept any class with a matching set of
 public methods, no matter what they do.

 Isn't it the same for functions that accept `WP_Post`, `WP_User`, or
 `WP_Screen` (see [comment:ticket:24992:2])?.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24900#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list