[wp-trac] [WordPress Trac] #48613: Return type of _admin_notice_post_locked unknown phpdoc keyword

WordPress Trac noreply at wordpress.org
Thu Nov 14 09:55:06 UTC 2019


#48613: Return type of _admin_notice_post_locked unknown phpdoc keyword
----------------------------+---------------------
 Reporter:  diddledan       |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  5.4
Component:  Administration  |     Version:
 Severity:  trivial         |  Resolution:
 Keywords:  has-patch       |     Focuses:  docs
----------------------------+---------------------

Comment (by SergeyBiryukov):

 I think this can just be removed. Per the
 [https://make.wordpress.org/core/handbook/best-practices/inline-
 documentation-standards/php/ documentation standards]:
 > Note: `@return void` should not be used outside of the default bundled
 themes.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48613#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list