Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mediafoks committed Nov 9, 2024
1 parent 6782e00 commit 94f68d6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ksmeta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<license>GNU General Public License version 2 or later</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl></authorUrl>
<version>1.0.1</version>
<version>1.0.2</version>
<description>PLG_SYSTEM_KSMETA_XML_DESCRIPTION</description>
<namespace path="src">Joomla\Plugin\System\KsMeta</namespace>
<files>
Expand Down
2 changes: 1 addition & 1 deletion services/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*
* @return void
*
* @since 1.0.1
* @since 1.0.2
*/
public function register(Container $container): void
{
Expand Down
10 changes: 5 additions & 5 deletions src/Extension/KsMeta.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
/**
* Ks Meta plugin
*
* @since 1.0
* @since 1.0.2
*/
class KsMeta extends CMSPlugin implements SubscriberInterface
{
/**
* Load the language file on instantiation
*
* @var boolean
* @since 1.0
* @since 1.0.2
*/
protected $autoloadLanguage = true;

Expand All @@ -38,7 +38,7 @@ class KsMeta extends CMSPlugin implements SubscriberInterface
*
* @return array
*
* @since 1.0
* @since 1.0.2
*/
public static function getSubscribedEvents(): array
{
Expand All @@ -56,7 +56,7 @@ public function renderMeta($params): void
empty($params->get('title_prefix')) ?: $head['title'] = $params->get('title_prefix') . $head['title'];
empty($params->get('title_suffix')) ?: $head['title'] = $head['title'] . $params->get('title_suffix');
empty($params->get('description_prefix')) ?: $head['description'] = $params->get('description_prefix') . $head['description'];
empty($params->get('description_prefix')) ?: $head['description'] = $head['description'] . $params->get('description_suffix');
empty($params->get('description_suffix')) ?: $head['description'] = $head['description'] . $params->get('description_suffix');

$doc->setHeadData($head);
}
Expand All @@ -69,7 +69,7 @@ public function renderMeta($params): void
*
* @return void
*
* @since 1.0
* @since 1.0.2
*/
public function onBeforeCompileHead(): void
{
Expand Down
4 changes: 2 additions & 2 deletions update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<element>ksmeta</element>
<type>plugin</type>
<folder>system</folder>
<version>1.0.1</version>
<version>1.0.2</version>
<downloads>
<downloadurl type="full" format="zip">https://github.com/mediafoks/plg_system_ksmeta/archive/refs/tags/v1.0.1.zip</downloadurl>
<downloadurl type="full" format="zip">https://github.com/mediafoks/plg_system_ksmeta/archive/refs/tags/v1.0.2.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
Expand Down

0 comments on commit 94f68d6

Please sign in to comment.