bugfix in link(s) to release(s)
This commit is contained in:
parent
ffd8fd7f30
commit
db6308e791
@ -192,7 +192,7 @@ class LinuxfooGitlab {
|
||||
$out .=
|
||||
'<p class="releases">'.
|
||||
__('Latest release', 'linuxfoo-gitlab').': '.
|
||||
'<a href="'.$releases[0]->evidences->_links->self.'">'.$releases[0]->name.'</a>'.
|
||||
'<a href="'.$releases[0]->_links->self.'">'.$releases[0]->name.'</a>'.
|
||||
'</p>';
|
||||
}
|
||||
elseif($atts['releases']=='all') {
|
||||
@ -205,7 +205,7 @@ class LinuxfooGitlab {
|
||||
foreach($releases as $release) {
|
||||
$out .=
|
||||
'<li>'.
|
||||
'<a href="'.$release->evidences->_links->self.'">'.$release->name.'</a>'.
|
||||
'<a href="'.$release->_links->self.'">'.$release->name.'</a>'.
|
||||
'</li>';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user