Make WordPress Core


Ignore:
Timestamp:
05/29/2015 09:36:38 PM (11 years ago)
Author:
wonderboymusic
Message:

After [32656], add @access annotations to methods that have no doc block in wp-includes/*.
Makes it easier to search for no doc blocks via }[\n\t\r ]+(protected|private|public).

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-feed.php

    r31188 r32657  
    3737        }
    3838
     39        /**
     40         * @access public
     41         */
    3942        public function save($data) {
    4043                if ( $data instanceof SimplePie ) {
     
    4750        }
    4851
     52        /**
     53         * @access public
     54         */
    4955        public function load() {
    5056                return get_transient($this->name);
    5157        }
    5258
     59        /**
     60         * @access public
     61         */
    5362        public function mtime() {
    5463                return get_transient($this->mod_name);
    5564        }
    5665
     66        /**
     67         * @access public
     68         */
    5769        public function touch() {
    5870                return set_transient($this->mod_name, time(), $this->lifetime);
    5971        }
    6072
     73        /**
     74         * @access public
     75         */
    6176        public function unlink() {
    6277                delete_transient($this->name);
Note: See TracChangeset for help on using the changeset viewer.