mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Comments: Deprecate wp_queue_comments_for_comment_meta_lazyload function.
As of [55749] wp_queue_comments_for_comment_meta_lazyload is no longer used in core. This commit, deprecates this function. Update docs and tests accordingly. Props sh4lin, spacedmonkey, costdev, peterwilsoncc. Fixes #58301. git-svn-id: https://develop.svn.wordpress.org/trunk@55855 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -26,6 +26,8 @@ class Tests_Lazy_Load_Comment_Meta extends WP_UnitTestCase {
|
||||
* @ticket 57901
|
||||
*
|
||||
* @covers ::wp_queue_comments_for_comment_meta_lazyload
|
||||
*
|
||||
* @expectedDeprecated wp_queue_comments_for_comment_meta_lazyload
|
||||
*/
|
||||
public function test_wp_queue_comments_for_comment_meta_lazyload() {
|
||||
$filter = new MockAction();
|
||||
@@ -45,6 +47,8 @@ class Tests_Lazy_Load_Comment_Meta extends WP_UnitTestCase {
|
||||
* @ticket 57901
|
||||
*
|
||||
* @covers ::wp_queue_comments_for_comment_meta_lazyload
|
||||
*
|
||||
* @expectedDeprecated wp_queue_comments_for_comment_meta_lazyload
|
||||
*/
|
||||
public function test_wp_queue_comments_for_comment_meta_lazyload_new_comment() {
|
||||
$filter = new MockAction();
|
||||
|
||||
Reference in New Issue
Block a user