WordPress.org

Make WordPress Core

Ticket #20401: 20401.diff

File 20401.diff, 721 bytes (added by coffee2code, 3 years ago)

Aforementioned path.

  • wp-includes/formatting.php

     
    10941094        $tagqueue = ''; 
    10951095        $newtext = ''; 
    10961096        $single_tags = array( 'br', 'hr', 'img', 'input' ); // Known single-entity/self-closing tags 
    1097         $nestable_tags = array( 'blockquote', 'div', 'span', 'q' ); // Tags that can be immediately nested within themselves 
     1097        $nestable_tags = array( 'blockquote', 'div', 'object', 'q', 'span' ); // Tags that can be immediately nested within themselves 
    10981098 
    10991099        // WP bug fix for comments - in case you REALLY meant to type '< !--' 
    11001100        $text = str_replace('< !--', '<    !--', $text);