WordPress.org

Making WordPress.org

Ticket #2925: 2925.patch

File 2925.patch, 539 bytes (added by Dency, 4 years ago)
  • src/wp-includes/kses.php

     
    12371237 * @since 1.0.0
    12381238 *
    12391239 * @param string $string
    1240  * @param array $options Set 'slash_zero' => 'keep' when '\0' is allowed. Default is 'remove'.
     1240 * @param array $options Set 'slash_zero' => 'keep' when '\\\\0' is allowed. Default is 'remove'.
    12411241 * @return string
    12421242 */
    12431243function wp_kses_no_null( $string, $options = null ) {