Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docblocks completed, translation fixes, whoop compatibility bug fixes #5

Merged
merged 6 commits into from
Jun 29, 2015

Conversation

viruthagiri
Copy link
Contributor

No description provided.

@viruthagiri viruthagiri changed the title Added docblocks and fixed translation strings docblocks completed, translation fixes, whoop compatibility bug fixes Jun 29, 2015
@@ -28,18 +28,32 @@
*
* @since 0.0.1
* @package BuddyPress_Compliments
*
* @global object $bp BuddyPress instance.
* @global object $wpdb WordPress db object.
*/
function bp_compliments_init() {
global $wpdb, $bp;
// get plugin version from plugin data.
$plugin_data = get_plugin_data( __FILE__ );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Giri, this is not the best way to get the version number, the function get_plugin_data will have to read the file contents just simply to get the version number when you could simply just write it again in the file, please don't ever do it this way.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. Got it.

Stiofan pushed a commit that referenced this pull request Jun 29, 2015
docblocks completed, translation fixes, whoop compatibility bug fixes
@Stiofan Stiofan merged commit c13d053 into GeoDirectory:master Jun 29, 2015
Stiofan pushed a commit that referenced this pull request Aug 25, 2015
Stiofan pushed a commit that referenced this pull request Feb 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants