[wp-trac] [WordPress Trac] #16059: wp_kses_split2() is private, no need to create a function with the sole purpose to call a function.

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 1 17:44:53 UTC 2011


#16059: wp_kses_split2() is private, no need to create a function with the sole
purpose to call a function.
--------------------------+------------------------------
 Reporter:  hakre         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Perhaps we can also rename the resulting `wp_kses_split2()` function to
 `_wp_kses_split_callback()`? Seems like a more accurate name to me.

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


More information about the wp-trac mailing list