From 8fc8d7f925938723506f64fd6e0f1f13399cd80b Mon Sep 17 00:00:00 2001 From: Champ Camba Date: Fri, 30 Aug 2019 20:06:42 +0800 Subject: [PATCH 1/4] Update travis.yml --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index e73a5fb4..f2330f83 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,8 @@ # Tell Travis CI we're using PHP language: php +dist: trusty + # Setup a global environment and overide as needed env: global: From b5e8f9749193779b07bac24d44d2993764f50db6 Mon Sep 17 00:00:00 2001 From: Champ Camba Date: Fri, 30 Aug 2019 20:12:42 +0800 Subject: [PATCH 2/4] Test travis-ci build status --- includes/core/class-ajax-common.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/core/class-ajax-common.php b/includes/core/class-ajax-common.php index 9fd939cb..b5798d9b 100644 --- a/includes/core/class-ajax-common.php +++ b/includes/core/class-ajax-common.php @@ -26,8 +26,9 @@ if ( ! class_exists( 'um\core\AJAX_Common' ) ) { add_action( 'wp_ajax_um_' . $action, array( $this, $action ) ); - if ( $nopriv ) + if ( $nopriv ){ add_action( 'wp_ajax_nopriv_um_' . $action, array( $this, $action ) ); + } } From 0ae57fd382c632621ae74061337ef8f1b19c28f6 Mon Sep 17 00:00:00 2001 From: Champ Camba Date: Fri, 30 Aug 2019 20:19:33 +0800 Subject: [PATCH 3/4] Update travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f2330f83..b34a21b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -92,7 +92,7 @@ before_script: - chmod +x ./tests/prepare-wordpress.sh - chmod +x ./tests/run-travis.sh - ./tests/prepare-wordpress.sh - - mysql -e "set global wait_timeout = 3600;" + ## - mysql -e "set global wait_timeout = 3600;" script: - ./tests/run-travis.sh From dd6b7169b0af20cb17f1eff15f70e56de0e40c4c Mon Sep 17 00:00:00 2001 From: Champ Camba Date: Fri, 30 Aug 2019 20:21:53 +0800 Subject: [PATCH 4/4] Update register styles --- includes/core/class-enqueue.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/core/class-enqueue.php b/includes/core/class-enqueue.php index 2aa1e5f2..490d85e1 100644 --- a/includes/core/class-enqueue.php +++ b/includes/core/class-enqueue.php @@ -144,9 +144,10 @@ if ( ! class_exists( 'um\core\Enqueue' ) ) { /** - * + * Register styles */ function register_styles() { + //FontAwesome and FontIcons styles wp_register_style( 'um_fonticons_ii', $this->css_baseurl . 'um-fonticons-ii.css', array(), ultimatemember_version ); wp_register_style( 'um_fonticons_fa', $this->css_baseurl . 'um-fonticons-fa.css', array(), ultimatemember_version ); @@ -170,6 +171,7 @@ if ( ! class_exists( 'um\core\Enqueue' ) ) { wp_register_style( 'um_profile', $this->css_baseurl . 'um-profile.css', array(), ultimatemember_version ); wp_register_style( 'um_account', $this->css_baseurl . 'um-account.css', array(), ultimatemember_version ); wp_register_style( 'um_misc', $this->css_baseurl . 'um-misc.css', array(), ultimatemember_version ); + }