Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #62361, comment 8


Ignore:
Timestamp:
11/13/2024 09:58:12 PM (2 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #62361, comment 8

    initial v1  
    33> I guess running wp_kses_post() makes sense.
    44
    5 Not so sure about that :) KSES, and `wp_kses_post()` are really slow and are only intended to sanitize HTML on saving to the database. What would be the reason to run KSES on content retrieved from the database? It is assumed it was run when that content was saved.
     5Not so sure about that :) KSES, and `wp_kses_post()` are really slow and are only intended to sanitize HTML on saving to the database. What would be the reason to run KSES on content retrieved from the database? It is assumed it was run when that content was saved (which seems to be the case here too).