Update files for after pull request

This commit is contained in:
Italo Izaac 2017-05-20 19:19:00 -03:00
parent 935ecb8512
commit aee612d2c8
4 changed files with 2 additions and 8 deletions

View File

@ -361,7 +361,7 @@ if ( !class_exists('Puc_v4p1_Plugin_UpdateChecker', false) ):
if ( !empty($linkText) && !$this->getUpdate() ) {
/** @noinspection HtmlUnknownTarget */
$pluginMeta[] = sprintf('<a href="%s" class="thickbox open-plugin-details-modal">%s</a>', esc_attr($linkUrl), $linkText);
$pluginMeta[] = sprintf( '<a href="%s" class="thickbox open-plugin-details-modal">%s</a>', esc_attr($linkUrl), $linkText );
}
}
return $pluginMeta;

View File

@ -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"

View File

@ -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]);
}