From f3135ab673251cbe69e2fd6f37a004262c82819a Mon Sep 17 00:00:00 2001
From: jrfnl <jrfnl@users.noreply.github.com>
Date: Thu, 19 Sep 2019 06:13:56 +0200
Subject: [PATCH] Fix implode argument order after 46175
---
tests/phpunit/tests/functions/doEnclose.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/phpunit/tests/functions/doEnclose.php b/tests/phpunit/tests/functions/doEnclose.php
index 196fe0c30a..7b2c62ed2c 100644
a
|
b
|
class Tests_Functions_DoEnclose extends WP_UnitTestCase { |
252 | 252 | * @return string All enclosure data for the given post. |
253 | 253 | */ |
254 | 254 | protected function get_enclosed_by_post_id( $post_id ) { |
255 | | return join( (array) get_post_meta( $post_id, 'enclosure', false ), '' ); |
| 255 | return implode( '', (array) get_post_meta( $post_id, 'enclosure', false ) ); |
256 | 256 | } |
257 | 257 | |
258 | 258 | /** |