Make WordPress Core

Changeset 34622


Ignore:
Timestamp:
09/27/2015 01:39:37 AM (9 years ago)
Author:
DrewAPicture
Message:

Restore and deprecate the WP_Widget_Recent_Comments::flush_widget_cache() method, removed in [34580].

Fixes #25556.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-recent-comments.php

    r34614 r34622  
    159159        <?php
    160160    }
     161
     162    /**
     163     * Flushes the Recent Comments widget cache.
     164     *
     165     * @since 2.8.0
     166     * @access public
     167     *
     168     * @deprecated 4.4.0 Fragment caching was removed in favor of split queries.
     169     */
     170    public function flush_widget_cache() {
     171        _deprecated_function( __METHOD__, '4.4' );
     172    }
    161173}
Note: See TracChangeset for help on using the changeset viewer.