WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24301, comment 6


Ignore:
Timestamp:
05/10/13 15:28:53 (11 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24301, comment 6

    initial v1  
    11Apart from a missing quote, it's also fairly easy to break the admin by inserting a closing `</div>` tag here. 
    22 
    3 [attachment:24301.patch] adds `strip_tags( $value, '<img>' )`. It turned out that it also helps with the missing quote too, `strip_tags()` removes the broken markup. 
     3[attachment:24301.patch] adds `strip_tags( $value, '<img>' )`. It turned out that it helps with the missing quote too, `strip_tags()` removes the broken markup.