[wp-trac] [WordPress Trac] #41151: Fatal error on Plugin Activation if it bundled in theme
    WordPress Trac 
    noreply at wordpress.org
       
    Sun Jun 25 03:49:00 UTC 2017
    
    
  
#41151: Fatal error on Plugin Activation if it bundled in theme
------------------------------------------+------------------------------
 Reporter:  rinkuyadav999                 |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Plugins                       |     Version:  trunk
 Severity:  normal                        |  Resolution:
 Keywords:  has-screenshots dev-feedback  |     Focuses:  administration
------------------------------------------+------------------------------
Changes (by rinkuyadav999):
 * keywords:  reporter-feedback => has-screenshots dev-feedback
 * version:   => trunk
 * type:  enhancement => defect (bug)
Comment:
 Hi @knutsp
 Suppose i am not a theme developer and some developer bundled it and now
 he want to use this plugin, then this plugin will not activate. I used
 'Hello Dolly' plugin just for example because it is simplest plugin in
 plugin directory. It is properly modified and bundled in theme. This
 should not display Fatal Error on Activation because already declare
 function in inside condition.
 PS: I am testing core WordPress instead developing a theme and using
 'Hello Dolly' plugin. It is just for example. I know i can simply rename
 functions of 'Hello Dolly' and use it in theme but this not what you are
 understanding.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41151#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list