diff --git a/Puc/v4p1/Plugin/UpdateChecker.php b/Puc/v4p1/Plugin/UpdateChecker.php index 598f2fe..724ca48 100644 --- a/Puc/v4p1/Plugin/UpdateChecker.php +++ b/Puc/v4p1/Plugin/UpdateChecker.php @@ -361,7 +361,7 @@ if ( !class_exists('Puc_v4p1_Plugin_UpdateChecker', false) ): if ( !empty($linkText) && !$this->getUpdate() ) { /** @noinspection HtmlUnknownTarget */ - $pluginMeta[] = sprintf('%s', esc_attr($linkUrl), $linkText); + $pluginMeta[] = sprintf( '%s', esc_attr($linkUrl), $linkText ); } } return $pluginMeta; diff --git a/languages/plugin-update-checker-pt_BR.mo b/languages/plugin-update-checker-pt_BR.mo index 0446df9..9d88d57 100644 Binary files a/languages/plugin-update-checker-pt_BR.mo and b/languages/plugin-update-checker-pt_BR.mo differ diff --git a/languages/plugin-update-checker-pt_BR.po b/languages/plugin-update-checker-pt_BR.po index fe9db79..0b3d8b8 100644 --- a/languages/plugin-update-checker-pt_BR.po +++ b/languages/plugin-update-checker-pt_BR.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: plugin-update-checker\n" "POT-Creation-Date: 2017-05-20 18:28-0300\n" -"PO-Revision-Date: 2017-05-20 18:28-0300\n" +"PO-Revision-Date: 2017-05-20 19:17-0300\n" "Last-Translator: \n" "Language-Team: \n" "Language: pt_BR\n" diff --git a/vendor/readme-parser.php b/vendor/readme-parser.php index 6511319..159abed 100644 --- a/vendor/readme-parser.php +++ b/vendor/readme-parser.php @@ -127,12 +127,6 @@ class PucReadmeParser { $title = $this->sanitize_text( $_sections[$i-1] ); $sectionSlug = str_replace(' ', '_', strtolower($title)); - // Alias for section if search "[ALIAS]" - if( preg_match( "/([^]]+)\s*\[([^]]+)\]/i", $title, $titleNickname ) ) { - $title = trim( $titleNickname[2] ); - $sectionSlug = str_replace(' ', '_', strtolower( trim( $titleNickname[1] ) ) ); - } - $sections[ $sectionSlug ] = array('title' => $title, 'content' => $_sections[$i]); }