[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 21:34:56 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:  lowest        |   Milestone:  Future Release
Component:  General       |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------------

Comment (by hakre):

 Replying to [comment:2 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.

 &&

 Replying to [comment:3 westi]:
 > This changes the prototype of wp_kses_split2 in a backward incompatible
 way. ...

 Both feedback has been addressed in the updated patch. Should the
 deprecated function move into that deprecated function file?

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


More information about the wp-trac mailing list