Make WordPress Core

Ticket #56562: 56562.patch

File 56562.patch, 503 bytes (added by rajanpanchal2028, 18 months ago)

Patch added.

  • src/wp-mail.php

    diff --git a/src/wp-mail.php b/src/wp-mail.php
    index d3a86352f2..018f9d5b45 100644
    a b for ( $i = 1; $i <= $count; $i++ ) { 
    175175                        $content = explode( $delim[0], $content );
    176176                        $content = $content[1];
    177177                }
    178                 $content = strip_tags( $content, '<img><p><br><i><b><u><em><strong><strike><font><span><div>' );
     178                $content = strip_tags( $content, '<img><p><br /><i><b><u><em><strong><strike><font><span><div>' );
    179179        }
    180180        $content = trim( $content );
    181181