SYNOWORDPRESS and WP Activity plug-in

Discussion room for Wordpress, a weblog based social networking community.
Forum rules
Please note the Disclaimer before modifying your Synology Product.

SYNOWORDPRESS and WP Activity plug-in

Postby Dax » Wed May 16, 2012 12:42 pm

Installing the WP Activity plug-in on a SYNO version of Wordpress (3.2.1 or 3.3) BREAKS Wordpress!

After much head-scratching, I have tracked this down (I think) to the custom implementation of get_home_path() function, used in wp-admin\includes\file.php (line 84).

By switching off the SYNO customisations - commenting out the following line (82 in my installation) in wp-config.php, the plug-in now appears to be working...
Code: Select all
define('SYNOWORDPRESS', 'Synology Inc.');

to
Code: Select all
/* define('SYNOWORDPRESS', 'Synology Inc.'); */



... but what are the other consequences/risks of doing this? Anyone know?
Dax
I'm New!
I'm New!
 
Posts: 3
Joined: Wed Jan 06, 2010 11:43 am

Re: SYNOWORDPRESS and WP Activity plug-in

Postby Dax » Fri May 18, 2012 11:21 am

For info - this was the response from Synology Developer:

If the user's "WordPress Address (URL)" and "Site Address (URL)" are difference.
Our custom implementation of get_home_path() would try to find home absolute path according by difference between "WordPress Address (URL)" and "Site Address (URL)". Otherwise would run function that wordpress had defined.

If your "WordPress Address (URL)" and "Site Address (URL)" domain name are difference may caught somethings wrong.
We will add filter next version to avoid run this function if "WordPress Address (URL)" and "Site Address (URL)" have difference domain name.
Dax
I'm New!
I'm New!
 
Posts: 3
Joined: Wed Jan 06, 2010 11:43 am


Return to Wordpress

Who is online

Users browsing this forum: No registered users and 0 guests