mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 06:03:38 +09:00
Merge branch 'master' of https://github.com/ultimatemember/ultimatemember into beta/2.1.0
This commit is contained in:
+3
-1
@@ -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:
|
||||
@@ -90,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
|
||||
|
||||
@@ -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 ) );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -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 );
|
||||
@@ -173,6 +174,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 );
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user