Plugin Directory

Changeset 1670898


Ignore:
Timestamp:
06/05/2017 10:02:44 AM (9 years ago)
Author:
proodos
Message:

bugfix for the break of the year
adding custom icon

Location:
pdsweather
Files:
3 added
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • pdsweather/tags/3.2/pdsAdmin.php

    r1670879 r1670898  
    1515
    1616function pds_weather_menu(){
    17     add_menu_page('Weather plugin by Proodos','Weather plugin','manage_options','pds-weather-parent','pds_weather_options');
     17    add_menu_page('Weather plugin by Proodos','Weather plugin','manage_options','pds-weather-parent','pds_weather_options',plugin_dir_url( __FILE__ ) . 'images/sun.png');
    1818    add_submenu_page('pds-weather-parent','Weather settings','Settings','manage_options','pds-weather-settings','pds_weather_set');
    1919}
  • pdsweather/trunk/pdsAdmin.php

    r1407132 r1670898  
    1515
    1616function pds_weather_menu(){
    17     add_menu_page('Weather plugin by Proodos','Weather plugin','manage_options','pds-weather-parent','pds_weather_options');
     17    add_menu_page('Weather plugin by Proodos','Weather plugin','manage_options','pds-weather-parent','pds_weather_options',plugin_dir_url( __FILE__ ) . 'images/sun.png');
    1818    add_submenu_page('pds-weather-parent','Weather settings','Settings','manage_options','pds-weather-settings','pds_weather_set');
    1919}
Note: See TracChangeset for help on using the changeset viewer.