diff --git a/wp-includes/class-feed.php b/wp-includes/class-feed.php index 01acff82e6..6e109e1616 100644 --- a/wp-includes/class-feed.php +++ b/wp-includes/class-feed.php @@ -36,6 +36,9 @@ class WP_Feed_Cache_Transient { $this->lifetime = apply_filters( 'wp_feed_cache_transient_lifetime', $lifetime, $filename); } + /** + * @access public + */ public function save($data) { if ( $data instanceof SimplePie ) { $data = $data->data; @@ -46,18 +49,30 @@ class WP_Feed_Cache_Transient { return true; } + /** + * @access public + */ public function load() { return get_transient($this->name); } + /** + * @access public + */ public function mtime() { return get_transient($this->mod_name); } + /** + * @access public + */ public function touch() { return set_transient($this->mod_name, time(), $this->lifetime); } + /** + * @access public + */ public function unlink() { delete_transient($this->name); delete_transient($this->mod_name); diff --git a/wp-includes/class-wp-admin-bar.php b/wp-includes/class-wp-admin-bar.php index cb65465c62..785ecb3c34 100644 --- a/wp-includes/class-wp-admin-bar.php +++ b/wp-includes/class-wp-admin-bar.php @@ -27,6 +27,9 @@ class WP_Admin_Bar { } } + /** + * @access public + */ public function initialize() { $this->user = new stdClass; @@ -245,6 +248,9 @@ class WP_Admin_Bar { unset( $this->nodes[ $id ] ); } + /** + * @access public + */ public function render() { $root = $this->_bind(); if ( $root ) @@ -536,6 +542,9 @@ class WP_Admin_Bar { $this->_render_item( $node ); } + /** + * @access public + */ public function add_menus() { // User related, aligned right. add_action( 'admin_bar_menu', 'wp_admin_bar_my_account_menu', 0 ); diff --git a/wp-includes/class-wp-customize-control.php b/wp-includes/class-wp-customize-control.php index d280596a2e..6dae971184 100644 --- a/wp-includes/class-wp-customize-control.php +++ b/wp-includes/class-wp-customize-control.php @@ -1025,6 +1025,9 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control { } + /** + * @access public + */ public function enqueue() { wp_enqueue_media(); wp_enqueue_script( 'customize-views' ); @@ -1066,6 +1069,9 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control { $this->uploaded_headers = $custom_image_header->get_uploaded_header_images(); } + /** + * @access public + */ public function print_header_image_template() { ?>