[wp-trac] [WordPress Trac] #15881: wp_cache_get generates fatal error

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 18 20:02:38 UTC 2010


#15881: wp_cache_get generates fatal error
-------------------------------------------------+-------------------------
 Reporter:  pixelgeek                            |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Cache                                |  Review
 Severity:  critical                             |     Version:  3.0.3
 Keywords:  $wp_object_cache, wp_cache_get       |  Resolution:
  cache.php                                      |
-------------------------------------------------+-------------------------

Comment (by pixelgeek):

 Maybe its just me but it seems like bad coding practice to assume good
 coding on the part of people using an API when a bad use of the API will
 result in the server possibly becoming unresponsive.

 All that needs to happen is that the status of $wp_object_cache needs to
 be tested and then there is no problem.

 There are a lot of people coding for WP and it seems that this is the
 easiest solution to this issue.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15881#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list