[wp-trac] [WordPress Trac] #23058: Corrected inline docs for cache.php

WordPress Trac noreply at wordpress.org
Thu Dec 27 09:51:35 UTC 2012


#23058: Corrected inline docs for cache.php
--------------------------+------------------
 Reporter:  ocean90       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.6
Component:  Inline Docs   |     Version:  2.5
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by SergeyBiryukov):

 Replying to [comment:3 ocean90]:
 > But other implementations should be able to return false too. For
 example [http://php.net/manual/en/memcache.set.php memcache::set].

 Then `wp_cache_flush()` and `WP_Object_Cache::flush()` comments should
 probably also say "False on failure, true on success".

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


More information about the wp-trac mailing list