WordPress.org

Make WordPress Core

Ticket #29807: kses.patch

File kses.patch, 563 bytes (added by drrobotnik, 3 years ago)

add srcset and sizes to uri array

  • wp-includes/kses.php

     
    917917        $attrarr = array();
    918918        $mode = 0;
    919919        $attrname = '';
    920         $uris = array('xmlns', 'profile', 'href', 'src', 'cite', 'classid', 'codebase', 'data', 'usemap', 'longdesc', 'action');
     920        $uris = array('xmlns', 'profile', 'href', 'src', 'srcset', 'sizes', 'cite', 'classid', 'codebase', 'data', 'usemap', 'longdesc', 'action');
    921921
    922922        // Loop through the whole attribute list
    923923