Title: Possible bug maybe?
Last modified: August 22, 2016

---

# Possible bug maybe?

 *  Resolved [snoopy_virtual](https://wordpress.org/support/users/snoopy_virtual/)
 * (@snoopy_virtual)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/possible-bug-maybe/)
 * Hi
 * I downloaded yesterday your Affiliates plugin v2.7.3 (the free one) and before
   I decided if I was going to use it or not I have been reading the code inside
   it (as I do with everything I install in my sites).
 * First of all, congratulations for your plugin. As I said, I haven’t tried it 
   yet, but the code is really beautiful and just reading it I can say it must work
   very well.
 * Anyway, reading the code I found in the file **wp-init.php** line 802 this:
 *     ```
       require_once( 'class-affiliates-service.php' );
       ```
   
 * Shouldn’t it be this instead?:
 *     ```
       require_once( AFFILIATES_CORE_LIB . '/class-affiliates-service.php' );
       ```
   
 * [https://wordpress.org/plugins/affiliates/](https://wordpress.org/plugins/affiliates/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [itthinx](https://wordpress.org/support/users/itthinx/)
 * (@itthinx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/possible-bug-maybe/#post-5628481)
 * Hi, thank you for your kind comment on the code 🙂 Regarding the line you mention,
   it’s ok as it is there but if you need to include the file in a customization,
   you would have to include it as you propose.

Viewing 1 replies (of 1 total)

The topic ‘Possible bug maybe?’ is closed to new replies.

 * ![](https://ps.w.org/affiliates/assets/icon-256x256.png?rev=1118899)
 * [Affiliates](https://wordpress.org/plugins/affiliates/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/affiliates/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/affiliates/)
 * [Active Topics](https://wordpress.org/support/plugin/affiliates/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/affiliates/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/affiliates/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [itthinx](https://wordpress.org/support/users/itthinx/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/possible-bug-maybe/#post-5628481)
 * Status: resolved