Skip to content

Commit

Permalink
Update README and make sure the activity component is active before l…
Browse files Browse the repository at this point in the history
…oading the admin
  • Loading branch information
imath committed Jul 19, 2017
1 parent a2aee52 commit 69fefef
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 10 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# BP Reshare

![Personal stream](https://c1.staticflickr.com/5/4305/35212895163_f459cb68c6_o.png)

This is a **BuddyPress** plugin extending the Activity component with a reshare feature. Members will be able to promote the activity updates they found interesting by **re**-sharing them into their personal activity stream.

![Users list](https://c1.staticflickr.com/5/4318/35177996884_6fe6dc2114_o.png)
Expand Down Expand Up @@ -53,7 +55,7 @@ WordPress **4.8+** and BuddyPress **2.8+**

## Installation & Updates

![Installation & Updates](https://c1.staticflickr.com/5/4296/35177996804_b226ee8266_o.png)
![Installation & Updates](https://c1.staticflickr.com/5/4292/35184370524_015ba027d0_o.png)

BP Reshare is registered into the [Entrepôt](https://github.com/imath/entrepot/releases). If you use this alternative source of free and open source WordPress plugins, installing or updating BP Reshare is automatic.

Expand Down
6 changes: 3 additions & 3 deletions bp-reshare.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ private function includes() {
if ( defined( 'WP_DEBUG' ) && true === WP_DEBUG ) {
require( $this->includes_dir . 'deprecated.php' );
}
}

if ( is_admin() ) {
require( $this->includes_dir . 'settings.php' );
if ( is_admin() ) {
require( $this->includes_dir . 'settings.php' );
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion js/notifications.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/posts.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/request.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/script.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 69fefef

Please sign in to comment.