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

Merge from master #5

Merged
merged 10 commits into from
Oct 14, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bug fixes
viruthagiri committed Sep 29, 2015
commit 83c02b87333b2b22416bc756a8c13373b2019e5a
5 changes: 5 additions & 0 deletions change_log.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v1.0.0
Compliment message uses slug name instead of singular name - FIXED
Send modal form not showing properly in mobile - FIXED


v0.0.9
Changed textdomain from defined constant to a string - CHANGED
Added filters and actions for whoop theme compatibility - ADDED
7 changes: 4 additions & 3 deletions css/bp-compliments.css
Original file line number Diff line number Diff line change
@@ -61,14 +61,15 @@
}
@media only screen and (max-width: 660px) {
.comp-modal {
left: 20%;
left: 11%;
width: 80%;
top: 10%;
}
}
@media only screen and (max-width: 480px) {
.comp-modal {
width: 98%;
left: 1%;
width: 80%;
left: 11%;
top: 10%;
}
}
2 changes: 1 addition & 1 deletion includes/bp-compliments-actions.php
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ function handle_compliments_form_data() {
if ( ! bp_compliments_start_compliment($args)) {
bp_core_add_message( sprintf( __( 'There was a problem when trying to send %s to %s, please contact administrator.', 'bp-compliments' ), strtolower(BP_COMP_SINGULAR_NAME), $receiver_name ), 'error' );
} else {
bp_core_add_message( sprintf( __( 'Your %s sent to %s.', 'bp-compliments' ), strtolower(BP_COMP_SINGULAR_NAME), $receiver_name ) );
bp_core_add_message( sprintf( __( 'Your %s sent to %s.', 'bp-compliments' ), BP_COMP_SINGULAR_NAME, $receiver_name ) );
}

$bp_compliment_can_see_others_comp_value = esc_attr( get_option('bp_compliment_can_see_others_comp'));