Hospedaje-Trotamundos / buddypress-media

Automatically exported from code.google.com/p/buddypress-media
0 stars 0 forks source link

Unnecessary constants defined in bp-album-core.php #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[What steps will reproduce the problem? (We need detailed, specific steps)]
In bp-album-core.php, BP Media checks if WP_CONTENT_DIR, WP_CONTENT_URL, 
WP_PLUGIN_DIR and WP_PLUGIN_URL are defined.

This is unnecessary as these are always defined in 
/wp-includes/default.constants.php (or /wp-settings.php in older versions of WP)

[What version of BP Media are you using?]
bp-album-2010-08-08

[What version of WordPress are you using?]
WP 3.0

Original issue reported on code.google.com by r-...@gmx.com on 9 Aug 2010 at 8:49

GoogleCodeExporter commented 9 years ago
I wrote a 'TODO:' in the code to check if declaring was necessary but still 
didn't checked, thanks!

Original comment by francesco.laffi on 10 Aug 2010 at 8:47