Skip to content

Commit

Permalink
Add a default value for store_name
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Jul 14, 2022
1 parent 23c4dba commit f264777
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class WP_Style_Engine_CSS_Rules_Store {
*
* @return WP_Style_Engine_CSS_Rules_Store
*/
public static function get_store( $store_name ) {
public static function get_store( $store_name = 'default' ) {
if ( ! isset( static::$stores[ $store_name ] ) ) {
static::$stores[ $store_name ] = new WP_Style_Engine_CSS_Rules_Store( $store_name );
}
Expand Down

0 comments on commit f264777

Please sign in to comment.