Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMPB-1510 Listings imported with IMPress Listings do not include the MLS disclaimer #493

Open
wants to merge 4 commits into
base: release/3.1.0
Choose a base branch
from

Commits on Oct 26, 2022

  1. remove ?disclaimers=true from the query used to retrieve listing info…

    …rmation from the api when importing listings
    
    the idx-api.php client_properties() function adds ?disclaimers=true to all requests made through it, so including ?disclaimers=true in the initial request results in our API not including the disclaimer when it returns results
    lainvineyard committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    ae4264c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6532a47 View commit details
    Browse the repository at this point in the history
  3. remove esc_html when displaying disclaimer

    since this data originates from our API and is never modified by the user, it should be fine to output it directly to the page
    lainvineyard committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    103bb6a View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2022

  1. add &disclaimers=true to subsequent queries through client_properties…

    … when there are more than 50 featured listings on an account
    
    the next value returned by the api does not include disclaimers=true even if it's included in the initial request, so it needs to be added back if a subsequent query needs to be made to fetch all the listings.
    lainvineyard committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    bc8993b View commit details
    Browse the repository at this point in the history