• Resolved Cliff Seal

    (@cliffseal)


    Howdy! Cool plugin.

    I noticed that in inc/class-leadin.php on line 67, you make the assumption that the plugin is in wp-content/plugins by linking directly to your icon. That’s not a good assumption, as it’s very permissable to change the name of the content folder and relocate it. 🙂

    Could you, perhaps, use <img src="' . content_url() . '/plugins/leadin/images/leadin-svg-icon.svg" style="height:16px; width:16px;">, instead, please? 🙂

    https://ww.wp.xz.cn/plugins/leadin/

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

The topic ‘Plugin Directory Assumption in inc/class-leadin.php’ is closed to new replies.