Skip to content

Commit

Permalink
Merge pull request #1193 from xwp/release/3.6.0
Browse files Browse the repository at this point in the history
Version 3.6.0
  • Loading branch information
kasparsd committed Oct 14, 2020
2 parents 1847504 + aba3a21 commit 88b7840
Show file tree
Hide file tree
Showing 23 changed files with 2,808 additions and 393 deletions.
2 changes: 1 addition & 1 deletion classes/class-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function extra_tablenav( $which ) {
public function no_items() {
?>
<div class="stream-list-table-no-items">
<p><?php esc_html_e( 'Sorry, no activity records were found.', 'stream' ); ?></p>
<p><?php esc_html_e( 'No activity records were found.', 'stream' ); ?></p>
</div>
<?php
}
Expand Down
2 changes: 1 addition & 1 deletion classes/class-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Plugin {
*
* @const string
*/
const VERSION = '3.5.1';
const VERSION = '3.6.0';

/**
* WP-CLI command
Expand Down
10 changes: 10 additions & 0 deletions classes/class-query.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,16 @@ public function query( $args ) {

$select = implode( ', ', $selects );

/**
* Filters query WHERE statement as an alternative to filtering
* the $query using the hook below.
*
* @param string $where WHERE statement.
*
* @return string
*/
$where = apply_filters( 'wp_stream_db_query_where', $where );

/**
* BUILD THE FINAL QUERY
*/
Expand Down
16 changes: 14 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"homepage": "https://wordpress.org/plugins/stream/",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"repositories": [
{
"type":"composer",
"url":"https://wpackagist.org"
}
],
"require": {
"composer/installers": "~1.0"
},
Expand All @@ -15,7 +21,10 @@
"wp-cli/wp-cli-bundle": "^2.2",
"wp-coding-standards/wpcs": "^2.2",
"wp-phpunit/wp-phpunit": "^5.4",
"wpsh/local": "^0.2.3"
"wpsh/local": "^0.2.3",
"wpackagist-plugin/advanced-custom-fields": "5.8.12",
"wpackagist-plugin/easy-digital-downloads": "^2.9.23",
"wpackagist-plugin/user-switching": "^1.5.5"
},
"config": {
"process-timeout": 600,
Expand All @@ -25,7 +34,10 @@
}
},
"extra": {
"wordpress-install-dir": "local/public"
"wordpress-install-dir": "local/public",
"installer-paths": {
"local/public/wp-content/plugins/{$name}/": ["type:wordpress-plugin"]
}
},
"scripts": {
"release": [
Expand Down
Loading

0 comments on commit 88b7840

Please sign in to comment.