Skip to content

Commit 6bc2e3f

Browse files
committed
Fix php notice error
1 parent 5135027 commit 6bc2e3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/wp-org-api

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,14 @@ foreach ($packages['packages']["wordpress-language"]['core'] as $language => $of
175175
} else {
176176
$description = "Full Wordpress translation (including themes and core plugins) for $language";
177177
}
178+
178179
$repositories[] = array(
179180
"type" => "package",
180181
"package" => array(
181182
"name" => "koodimonni-language/{$language}",
182183
"type" => "wordpress-language",
183184
"keywords" => array("Wordpress","Translation","Full-Package",$block_name,$language),
184-
"description" => "Full Wordpress translation (including themes and core plugins) for {$languages_info[$language]['english_name']} - {$language}",
185+
"description" => $description,
185186
"version" => $version,
186187
"dist" => array(
187188
"url" => $dist['dist'],

0 commit comments

Comments
 (0)