From c4eeabe2fed4e5e11f6cca678231a71b46ad6f7f Mon Sep 17 00:00:00 2001 From: yhira Date: Wed, 4 Mar 2020 19:50:16 +0900 Subject: [PATCH] =?UTF-8?q?PHP=207.4=20=E3=81=A7=E3=81=AE=20Deprecated=20?= =?UTF-8?q?=E3=82=A8=E3=83=A9=E3=83=BC=E3=81=8C=E5=87=BA=E3=82=8B=E3=81=AE?= =?UTF-8?q?=E3=81=AB=E5=AF=BE=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 0b71185..a0d84a8 100644 --- a/functions.php +++ b/functions.php @@ -373,7 +373,7 @@ function get_the_keywores(){ foreach($categories as $category): array_push( $category_names, $category -> cat_name); endforeach ; - $keywords = implode($category_names, ','); + $keywords = implode(',', $category_names); } return $keywords; }