WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/05/2014 01:42:02 AM (7 years ago)
Author:
wonderboymusic
Message:

When a video shortcode has content in its body, append it as inner HTML in the resulting <video>.

Reverts [27096].
Fixes #26628.
See #27016.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/formatting.php

    r27094 r27097  
    35853585/**
    35863586 * Properly strip all HTML tags including script and style
    3587  * 
    3588  * This differs from strip_tags() because it removes the contents of 
     3587 *
     3588 * This differs from strip_tags() because it removes the contents of
    35893589 * the <script> and <style> tags. E.g. strip_tags( '<script>something</script>' )
    35903590 * will return 'something'. wp_strip_all_tags will return ''
Note: See TracChangeset for help on using the changeset viewer.