Page 1 of 1

Editing Core Files

PostPosted: January 4th, 2012, 8:06 pm
by Stephem
Hey guys,

I've moved some s2Member paypal template files into my theme directory and made changes, making sure they are not overwritten with future updates. I was wondering how i could do this with includes such as sc-profile-in.inc.php?

Re: Editing Core Files

PostPosted: January 5th, 2012, 3:50 am
by Cristián Lávaque
I haven't tried it, but since it checks if the class exists before creating it, you could probably make a copy of the file and put it in the /wp-content/mu-plugins/ directory and edit that. It won't be updated when an improved version comes out in a future release, but it won't be overwritten either.

Let me know if that helps. :)

Re: Editing Core Files

PostPosted: January 5th, 2012, 7:35 pm
by Stephem
Thanks for the reply Cristian,

I did what you said and made a few changes and it seems to be working.

Re: Editing Core Files

PostPosted: January 7th, 2012, 4:26 am
by Cristián Lávaque
Excellent. Thanks for the update. :)