[wp-trac] [WordPress Trac] #51962: Race condition in wp_get_custom_css_post() would clear the custom CSS entry

WordPress Trac noreply at wordpress.org
Tue Dec 8 04:59:57 UTC 2020


#51962: Race condition in wp_get_custom_css_post() would clear the custom CSS entry
-------------------------------+------------------------------
 Reporter:  candrei            |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Customize          |     Version:  4.7
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by dlh):

 * keywords:   => reporter-feedback
 * version:  5.5.3 => 4.7
 * component:  General => Customize


Comment:

 Hi @candrei, and welcome to WordPress Trac!

 Did you have any ideas for what kind of error handling could be added to
 `wp_get_custom_css_post()` that would have prevented this issue? I confess
 that I'm not sure I see the race condition yet.

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


More information about the wp-trac mailing list