More than one subscriber
When I installed PuSHPress on my self-hosted blog, and started using it, I didn’t receive any pings. After wondering why and staring at the code a lot, I inserted some “mail” commands in the code, to find out what went wrong. To my surprise, it sent a ping to somebody else ( Google ), and then stopped. Looking a bit harder revealed that it uses the loading of a template to send the ping, and by default it is “require_once”, but you can change this by setting a parameter. I did, and it worked. I assumed it would be fixed in a couple of days, but it wasn’t.
In send-ping.php, I added a second parameter like this :
@load_template( ABSPATH . WPINC . ‘/feed-rss2.php’, false );
and this :
@load_template( ABSPATH . WPINC . ‘/feed-atom.php’, false );
After that, it worked fine. I could subscribe as many times as I wanted.
- The topic ‘More than one subscriber’ is closed to new replies.