Docs: Various docblock corrections.

See #32246


git-svn-id: https://develop.svn.wordpress.org/trunk@36250 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2016-01-10 01:25:44 +00:00
parent 61fbfa9947
commit ba5f0fdc7b
9 changed files with 36 additions and 7 deletions
+12
View File
@@ -9,6 +9,11 @@ class WP_Feed_Cache extends SimplePie_Cache {
*
* @static
* @access public
*
* @param string $location URL location (scheme is used to determine handler).
* @param string $filename Unique identifier for cache object.
* @param string $extension 'spi' or 'spc'.
* @return WP_Feed_Cache_Transient Feed cache handler object that uses transients.
*/
public function create($location, $filename, $extension) {
return new WP_Feed_Cache_Transient($location, $filename, $extension);
@@ -20,6 +25,13 @@ class WP_Feed_Cache_Transient {
public $mod_name;
public $lifetime = 43200; //Default lifetime in cache of 12 hours
/**
* Class instantiator.
*
* @param string $location URL location (scheme is used to determine handler).
* @param string $filename Unique identifier for cache object.
* @param string $extension 'spi' or 'spc'.
*/
public function __construct($location, $filename, $extension) {
$this->name = 'feed_' . $filename;
$this->mod_name = 'feed_mod_' . $filename;