[wp-trac] [WordPress Trac] #55304: Remove error logging in sanitize_post

WordPress Trac noreply at wordpress.org
Thu Mar 3 13:23:13 UTC 2022


#55304: Remove error logging in sanitize_post
-------------------------------+----------------------
 Reporter:  legalweb           |       Owner:  (none)
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:  5.9.1
 Severity:  normal             |  Resolution:  invalid
 Keywords:                     |     Focuses:
-------------------------------+----------------------
Changes (by swissspidy):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Hi there, welcome to WordPress Trac!

 Could it be that this file was manually edited on your site?

 This function does not include any `error_log()` call in WordPress.

 See https://github.com/WordPress/wordpress-
 develop/blob/b28dcfd83243459e9cc08f46f70418ebfde9dde8/src/wp-
 includes/post.php#L2711-L2723

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55304#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list