Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Email Sender Name
Avatar
Brad Besner
Member
sp_UserOfflineSmall Offline
Aug 14, 2013 - 5:34 pm

This worked. Thank you for your help. I have been searching my site folder to see if I can find out what other plugin is using this filter with a high priority. I will keep looking but for now the issue is solved. I appreciate it.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 14, 2013 - 6:25 pm

it worked?  surprise!  but yes, does mean you have a theme or plugin that is overriding it at high priority...

please note if you changed the code as asked, you will lose it on updates...  I dont have an easy way for you to not modify our core though...

 

Avatar
Brad Besner
Member
sp_UserOfflineSmall Offline
Aug 15, 2013 - 3:15 am

Not a problem, I'll search for it in the code of the other plugins and will find it eventually. Maybe once I figure out what plugin is causing this it'll be easier to isolate the issue. Until then, I'll just make sure to re-program that section each time I do an update. I have faith that I will find the code in the other plugin shortly.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 15, 2013 - 3:16 am

We are curious to know....

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 15, 2013 - 3:17 am

okay, cool.. for reference, please let us know what you find...

Avatar
Brad Besner
Member
sp_UserOfflineSmall Offline
Sep 16, 2013 - 10:28 am

I ran the current update on simple:press to 5.3.1 and I'm getting the same issue again. I changed the priority on sp_mail_filter_from in sp-api-primitives.php back to 500 and after testing the sender name is showing as Wordpress again. I then changed it to 1000000 to see if a higher priority would do the trick and it still doesn't work.

 Is there something else that was changed in the update that would cause this?

The only other plugin which has wp_mail_from is wp-db-backup but I didn't see anything about priorities on it.

Does anyone have a suggestion on what may fix this after the update?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 16, 2013 - 10:57 am

We didnt change anything regarding the email filters in our version... but we are in the process of checking if wp changed something in 3.6 that might require plugins to make an update...

Avatar
Brad Besner
Member
sp_UserOfflineSmall Offline
Sep 17, 2013 - 11:56 am

I ended up just going into wp-includes->pluggable.php and changed line 309 from $from_name = Wordpress'; to $from_name = 'Security Camera King';.

From what I understand, any plugin now which may use the default from name will always use our company name instead of "Wordpress" hopefully this solves our issues with any further updates.

Do you know if this file updates whenever there is a wordpress update? If so, I'll always have to go back here and make the change every time WP has an update.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 17, 2013 - 2:36 pm

Yes - you would need to redo the change.

However - all the WP functions in the pluggable file can be replaced with your own so you could simply provide an alternative function and that will be used instead. Then it is safe from updates. Pluggable functions are covered on the WordPress codex if you want to try that route.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625