Update files for after pull request
This commit is contained in:
parent
935ecb8512
commit
aee612d2c8
|
|
@ -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;
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue