Version Description
Download this release
Release Info
Developer | brainstormworg |
Plugin | Astra Starter Sites |
Version | 1.4.1 |
Comparing to | |
See all releases |
Code changes from version 1.4.0 to 1.4.1
- astra-sites.php +2 -2
- inc/classes/class-astra-sites-wp-cli.php +3 -1
- readme.txt +4 -1
astra-sites.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Astra Starter Sites
|
4 |
* Plugin URI: http://www.wpastra.com/pro/
|
5 |
* Description: Import free sites build with Astra theme.
|
6 |
-
* Version: 1.4.
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: http://www.brainstormforce.com
|
9 |
* Text Domain: astra-sites
|
@@ -19,7 +19,7 @@ if ( ! defined( 'ASTRA_SITES_NAME' ) ) {
|
|
19 |
}
|
20 |
|
21 |
if ( ! defined( 'ASTRA_SITES_VER' ) ) {
|
22 |
-
define( 'ASTRA_SITES_VER', '1.4.
|
23 |
}
|
24 |
|
25 |
if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
|
3 |
* Plugin Name: Astra Starter Sites
|
4 |
* Plugin URI: http://www.wpastra.com/pro/
|
5 |
* Description: Import free sites build with Astra theme.
|
6 |
+
* Version: 1.4.1
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: http://www.brainstormforce.com
|
9 |
* Text Domain: astra-sites
|
19 |
}
|
20 |
|
21 |
if ( ! defined( 'ASTRA_SITES_VER' ) ) {
|
22 |
+
define( 'ASTRA_SITES_VER', '1.4.1' );
|
23 |
}
|
24 |
|
25 |
if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
|
inc/classes/class-astra-sites-wp-cli.php
CHANGED
@@ -59,8 +59,10 @@ if ( class_exists( 'WP_CLI_Command' ) && ! class_exists( 'Astra_Sites_WP_CLI' )
|
|
59 |
* @since 1.4.0
|
60 |
* @param array $args Arguments.
|
61 |
* @param array $assoc_args Associated Arguments.
|
|
|
|
|
62 |
*/
|
63 |
-
public function
|
64 |
|
65 |
$per_page = isset( $assoc_args['per-page'] ) ? $assoc_args['per-page'] : 10;
|
66 |
$search = isset( $assoc_args['search'] ) ? $assoc_args['search'] : '';
|
59 |
* @since 1.4.0
|
60 |
* @param array $args Arguments.
|
61 |
* @param array $assoc_args Associated Arguments.
|
62 |
+
*
|
63 |
+
* @alias list
|
64 |
*/
|
65 |
+
public function list_sites( $args, $assoc_args ) {
|
66 |
|
67 |
$per_page = isset( $assoc_args['per-page'] ) ? $assoc_args['per-page'] : 10;
|
68 |
$search = isset( $assoc_args['search'] ) ? $assoc_args['search'] : '';
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: Elementor,Beaver Builder,Templates,Gutenberg,Astra Starter Sites
|
|
5 |
Requires at least: 4.4
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 5.2
|
8 |
-
Stable tag: 1.4.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -117,6 +117,9 @@ We are open to suggestions and would love to work on topics that our users are l
|
|
117 |
|
118 |
== Changelog ==
|
119 |
|
|
|
|
|
|
|
120 |
v1.4.0 - 30-October-2019
|
121 |
- New: Added the WP CLI command `wp astra-sites list` to list the demo sites.
|
122 |
- New: Added the WP CLI command `wp astra-sites import <id>` to import the demo with ID.
|
5 |
Requires at least: 4.4
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 5.2
|
8 |
+
Stable tag: 1.4.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
117 |
|
118 |
== Changelog ==
|
119 |
|
120 |
+
v1.4.1 - 31-October-2019
|
121 |
+
- Fix: PHP Error on PHP Versions below 7.0 due to usage of a PHP reserved function name.
|
122 |
+
|
123 |
v1.4.0 - 30-October-2019
|
124 |
- New: Added the WP CLI command `wp astra-sites list` to list the demo sites.
|
125 |
- New: Added the WP CLI command `wp astra-sites import <id>` to import the demo with ID.
|