[wp-trac] [WordPress Trac] #37671: Emptying Bin with large amount of posts results in whitescreen

WordPress Trac noreply at wordpress.org
Mon Aug 15 16:21:40 UTC 2016


#37671: Emptying Bin with large amount of posts results in whitescreen
-------------------------------+------------------------------
 Reporter:  atomicjack         |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  4.5.3
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:  administration
-------------------------------+------------------------------

Comment (by justingreerbbi):

 Replying to [comment:3 atomicjack]:
 > Replying to [comment:2 hiddenpearls]:
 > > This might be because of max_execution_time of your server. Please
 increase it.
 >
 > In this case, would it be better for WordPress to check the max
 execution time and display a message before it occurs? So that the user
 has feedback, rather than a plain white page.

 No. WP can not know how much time it needs to remove the old posts. You
 may be able to run a execution timer that errors out right before it hits
 it limit but there is just too many variables in play. For an issue that
 can be remedied with a resource adjustment, there is not much need for a
 complex system. You are more than welcome to make a patch and submit it!

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


More information about the wp-trac mailing list