removing extra code from the login check script
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 12 Nov 2018 21:34:45 +0000 (16:34 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 12 Nov 2018 21:34:45 +0000 (16:34 -0500)
functions.php
inc/glm-dev.php

index fa42aa8..2d05acd 100644 (file)
@@ -190,8 +190,8 @@ function accesspress_parallax_scripts() {
        wp_enqueue_script( 'accesspress-parallax-custom', get_template_directory_uri() . '/js/custom.js', array('jquery'), '1.0.3', true );
     wp_localize_script( 'accesspress-parallax-custom', 'ap_params', $slider_parameters );
     
-    wp_enqueue_script( 'glm-dev', get_template_directory_uri() . '/assets/js/glm-dev.js', array(), '1.0.3', true );
-       wp_enqueue_style( 'glm-style', get_template_directory_uri() . '/assets/css/glm-dev.css', false, "1.0.3" );
+    wp_enqueue_script( 'glm-dev', get_template_directory_uri() . '/assets/js/glm-dev.js', array(), '1.0.4', true );
+       wp_enqueue_style( 'glm-style', get_template_directory_uri() . '/assets/css/glm-dev.css', false, "1.0.4" );
 
        if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
                wp_enqueue_script( 'comment-reply' );
index e3750cc..cabe417 100644 (file)
@@ -1,11 +1,5 @@
 
 <?php
-if( isset( $_GET['login'] ) && $_GET['login'] == 'failed' ) { ?>
-    The information you entered is incorrect. Please try again.
-<?php }
-    else if( isset( $_GET['login'] ) && $_GET['login'] == 'empty' ) { ?>
-    Please enter both username and password.
-<?php }
 
 function glm_login_form( $atts ){
     ob_start(); ?>