<commit_before><?php
namespace Gwa\Wordpress\Zero\Controller\Traits;

trait ParseLinkTrait
{
    /**
     * Link can be a URL, or an post ID.
     *
     * @param string $link URL, or WP post numeric ID
     * @return string URL
     */
    protected function parseLink($link)
    {
        if (is_numeric($link)) {
            return $this->getWpBridge()->getPermalink($idpost);
        }
<commit_msg>fix wrong variable<commit_after><?php
namespace Gwa\Wordpress\Zero\Controller\Traits;

trait ParseLinkTrait
{
    /**
     * Link can be a URL, or an post ID.
     *
     * @param string $link URL, or WP post numeric ID
     * @return string URL
     */
    protected function parseLink($link)
    {
        if (is_numeric($link)) {
            return $this->getWpBridge()->getPermalink($link);
        }

{'fraction_non_alphanumeric': 0.11895910780669144, 'fraction_numerical': 0.0, 'mean_word_length': 2.3807531380753137, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3003806', 'n_tokens_mistral': 254, 'n_tokens_neox': 253, 'n_words': 68}