~canonical-sysadmins/wordpress/4.5.1

« back to all changes in this revision

Viewing changes to wp-includes/kses.php

  • Committer: Haw Loeung
  • Date: 2016-02-03 02:21:54 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: haw.loeung@canonical.com-20160203022154-0xy5mh0a1wc09e1f
Merge WP4.4.2 from upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1581
1581
}
1582
1582
 
1583
1583
/**
 
1584
 * Navigates through an array, object, or scalar, and sanitizes content for
 
1585
 * allowed HTML tags for post content.
 
1586
 *
 
1587
 * @since 4.4.2
 
1588
 *
 
1589
 * @param mixed $value The array or string to filter.
 
1590
 * @return mixed $value The filtered content.
 
1591
 */
 
1592
function wp_kses_post_deep( $data ) {
 
1593
        return map_deep( $data, 'wp_kses_post' );
 
1594
}
 
1595
 
 
1596
/**
1584
1597
 * Strips all of the HTML in the content.
1585
1598
 *
1586
1599
 * @since 2.1.0