• Deprecated: Function create_function() is deprecated in /home/xxxx/xxxxxxxx.com/public_html/wp-content/plugins/baw-login-logout-menu/bawllm.php on line 13

    Replace all the code in the bawllm.php file with the code below. Save it, uploaded it and the problem is fixed.

    <?php
    /*
    Plugin Name: BAW Login/Logout menu
    Plugin URI: https://www.boiteaweb.fr/?p=3337
    Description: You can now add a correct login & logout link in your WP menus.
    Author: Juliobox
    Author URI: https://wp-rocket.me
    Version: 1.3.3
    */
    
    define( 'BAWLLM_VERSION', '1.3.3' );
    
    add_action( 'plugins_loaded', function() {
    $filename = "inc/";
    $filename .= is_admin() ? "backend-" : "frontend-";
    $filename .= defined( "DOING_AJAX" ) && DOING_AJAX ? "" : "no";
    $filename .= "ajax.inc.php";
    if( file_exists( plugin_dir_path( __FILE__ ) . $filename ) )
    include( plugin_dir_path( __FILE__ ) . $filename );
    $filename = "inc/";
    $filename .= "bothend-";
    $filename .= defined( "DOING_AJAX" ) && DOING_AJAX ? "" : "no";
    $filename .= "ajax.inc.php";
    if( file_exists( plugin_dir_path( __FILE__ ) . $filename ) )
    include( plugin_dir_path( __FILE__ ) . $filename );
    });
    • This topic was modified 6 years, 2 months ago by a4jp.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter a4jp

    (@a4jpcom)

    Can you update the plugin please? It’s a wonderful plugin. I can take over with updates or version tests if you like.

    Can you just fork the plugin and take it over? I think its a wonderful plugin also, but it seems that its been abandoned.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Deprecated: Function create_function() is deprecated in /home/xxxx/xxxxxxxx.c’ is closed to new replies.