diff -uNr a/blog/README b/blog/README --- a/blog/README e399879ca9cdb5982e2aa0c97e1acef94cc1dc914ef7a4c7bc05508ecfaef5997101b537303257f1539ebc05937bf19d7661118aacd294b10ac21621079ecfe3 +++ b/blog/README 79bcd56ecd0c4b94f4c2815f6dc86fef10ea681c19352811eec384bbd8dee5f94a610b77b2c5625fecbbfabc462d24911ede7f28e36dec88d98776166b2b04b7 @@ -99,6 +99,12 @@ Fix static functions (these need the 'static' modifier in php5.6) Fix some implicit object creations (these need to be explicit) +mp-wp-part2-fix-comments +------------------------ + +Update the default theme, to get the right suffic in the comments input. +Fix a php5.6 problem, inner function needs to have a 'use' to bind the local variables of the outer function. + === END diff -uNr a/blog/wp-content/themes/default/comments.php b/blog/wp-content/themes/default/comments.php --- a/blog/wp-content/themes/default/comments.php 02d4f911b1c67fbf3e1dbdee49e59317812448b4ddb91883339f3cf760c59048bc5b7ca07fd5f3b044966f95e83c52b05ef24e85d3f7e8a9f1e41b98d404857d +++ b/blog/wp-content/themes/default/comments.php 3be3c4b990857e66f015e612264b09faab706f565f75ffca247cd3f2618f75a3aecd6d35c70ee230c42bd7315acffddee0c4cb77aacdf972945cc82dc228ec97 @@ -68,7 +68,7 @@ - +

/>

diff -uNr a/blog/wp-includes/kses.php b/blog/wp-includes/kses.php --- a/blog/wp-includes/kses.php 2daa9c70fee5ac2290de8d1b2e9daefbe18e123b2da4338c8e7cc6d2f159e7bfe1706a213e92009596eda9f9a511c508d871e32e6d3887ca57ce50db7301b11b +++ b/blog/wp-includes/kses.php 8c54e028ee8813572d4b0dfea8861b2dd7b0bb38e0d3557990ae5ce21b2f581d2f407f8c0b2299bb35af99c10751bc346212f1c9e83c6d386261b6d09e97bec1 @@ -395,7 +395,7 @@ */ function wp_kses_split($string, $allowed_html, $allowed_protocols) { return preg_replace_callback('%((|$))|(<[^>]*(>|$)|>))%', - function($match) { + function($match) use($allowed_html, $allowed_protocols) { return wp_kses_split2($match[1], $allowed_html, $allowed_protocols); }, $string); }