WordPress.org

Ready to get started?Download WordPress

Forums

Yahoo! Weather Forecasts
Unit sign missing (3 posts)

  1. MassimoD
    Member
    Posted 1 year ago #

    Unit signs are missing from several places.

    For example the temperature should be:

    $content .= '<p class="temperature">' . $weather->get_temperature() . ' °' . $weather->get_units_temp() . '</p>';

    (the "$weather->get_units_temp()") was missing.

    http://wordpress.org/extend/plugins/yahoo-weather-forecasts/

  2. zourbuth
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, I never found case like that before.
    But thanks for noticing. Could you please send me an example of
    the missing units?

  3. MassimoD
    Member
    Posted 1 year ago #

    Using Celcius there was only the temperature. No C sign.

    Looking at the code below i realized and added it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.