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

WordPress Trac noreply at wordpress.org
Mon Aug 5 22:05:25 UTC 2013


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

Comment (by nacin):

 ` * @param $wp_admin_bar WP_Admin_Bar.` should actually be ` * @param
 WP_Admin_Bar $wp_admin_bar` — type comes before name. Since there is no
 explanation, there should also not be a period.

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


More information about the wp-trac mailing list