// Maybe they can modify the post (this is the more button)
if ($message['can_modify'] || ($context['can_report_moderator']))
echo '
<li class="listlevel1 subsections" aria-haspopup="true"><a', $message['can_modify'] && !empty($options['use_click_menu']) ? ' href="' . $scripturl . '?action=post;msg=' . $message['id'] . ';topic=' . $context['current_topic'] . '.' . $context['start'] . '"' : '', ' class="linklevel1 post_options">', $txt['post_options'], '</a>';
Is there any reason why the url is added to the "more" button only when the option "click-to-open" is enabled?
And in general: is there any reason why it is added at all?