class-property-meta.php bug?

Viewing 3 posts - 1 through 3 (of 3 total)

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

  • Author
    Posts
  • #4008
    Alex
    Spectator

    Hi Merv!
    Today tried to tweak for themselves and saw in the code “Easy-Property-Listings-1.3-public-beta-3/lib/includes/class-property-meta.php” in line #474 in the “property bathrooms” appeal to “property_bedrooms”.
    Maybe it’s not a bug, but I decided to tell you.

    
    // property bathrooms
    public function get_property_bath($returntype = 'i') {
    if($this->get_property_meta('property_bathrooms') == '')
    return;
    $bath['i'] = '<span title="'.__('Bathrooms', 'epl').'" class="icon bath"><span class="icon-value">'. $this->get_property_meta('property_bathrooms') . '</span></span>';
    $bath['d'] = $this->get_property_meta('property_bedrooms') . ' '.__('bath', 'epl').' ';
    $bath['l'] = '<li class="bathrooms">' . $this->get_property_meta('property_bathrooms') . ' '.__('bath', 'epl').'</li>';
    return $bath[$returntype];
    }
    #4023
    Merv Barrett
    Keymaster

    Thanks for picking that up, Issuing a fix

    #4024
    Merv Barrett
    Keymaster

    Updated that bug and updated Public Beta 3

    https://github.com/easypropertylistings/Easy-Property-Listings/tree/1.3-public-beta-3

    Thanks again Alex

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Basic Support’ is closed to new topics and replies.