From fd7e928f355e5535ab763fb1bda9e375b9de8cdd Mon Sep 17 00:00:00 2001 From: Muhibul Haque Date: Sun, 1 Nov 2026 16:10:42 +0600 Subject: [PATCH] Tests: Cover wp_meta(). See #65819. Props devmuhib009. --- tests/phpunit/tests/general/wpMeta.php | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 tests/phpunit/tests/general/wpMeta.php diff --git a/tests/phpunit/tests/general/wpMeta.php b/tests/phpunit/tests/general/wpMeta.php new file mode 100644 index 0000000000000..b4d8c1bb53033 --- /dev/null +++ b/tests/phpunit/tests/general/wpMeta.php @@ -0,0 +1,34 @@ +Custom Meta'; + } + ); + + $this->expectOutputString( '
  • Custom Meta
  • ' ); + wp_meta(); + + $this->assertSame( 1, $action->get_call_count() ); + } +}