[wp-trac] Re: [WordPress Trac] #8901: Sends menu icons for plugin menus over HTTP regardless of SSL settings

WordPress Trac wp-trac at lists.automattic.com
Mon May 4 11:52:31 GMT 2009


#8901: Sends menu icons for plugin menus over HTTP regardless of SSL settings
-------------------------------------+--------------------------------------
 Reporter:  brandonhorn              |        Owner:  ryan    
     Type:  defect (bug)             |       Status:  reopened
 Priority:  normal                   |    Milestone:  2.8     
Component:  Administration           |      Version:  2.7     
 Severity:  minor                    |   Resolution:          
 Keywords:  has-patch tested commit  |  
-------------------------------------+--------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  has-patch => has-patch tested commit


Comment:

 my guess, if any, is he's using a plugin that adds an icon with a path
 like this:

 {{{
 $icon = WP_PLUGIN_DIR . 'my-plugin/icon.png';
 }}}

 this should be replaced by:

 {{{
 $icon = plugin_dir_url(__FILE__) . 'icon.png';
 }}}

 and the problem gets fixed. but yeah, your patch gets it fixed by WP
 directly.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/8901#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list