Make WordPress Core

Ticket #52333: patch.diff

File patch.diff, 530 bytes (added by dziudek, 4 years ago)

Patch which adds the colon entity to the allowed entities list

  • wp-includes/kses.php

    From 4a87bc6c74d137ebfb11c9bd6348467b8ab9d848 Mon Sep 17 00:00:00 2001
    From: Tomasz Dziuda <dziudek@gmail.com>
    Date: Wed, 20 Jan 2021 21:34:41 +0100
    Subject: [PATCH] Add colon entity
    
    ---
     wp-includes/kses.php | 1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/wp-includes/kses.php b/wp-includes/kses.php
    index b7f135377c..b1bfbfe3f7 100644
    a b if ( ! CUSTOM_TAGS ) { 
    703703                'frac12',
    704704                'frac34',
    705705                'there4',
     706                'colon'
    706707        );
    707708
    708709        /**