• Resolved spottedpaint

    (@spottedpaint)


    Hi,

    There are a couple of undefined errors and a couple of excess td tags in the init file. Perhaps because I’m on the free version. If you go there the page layout is broken I think because of the error output. I’ve hedged around them a bit this is a patch of the changes I’ve made. I’m on version 1.5.0

    --- loginizerB/init.php	2020-07-25 11:43:24.000000000 +0100
    +++ loginizer/init.php	2020-07-27 08:47:34.000000000 +0100
    @@ -3411,8 +3411,9 @@
     					<span class="exp"><?php echo __('If set, then all Login URL\'s will still point to '.$loginizer['login_basename'].' and users will have to access the New Login Slug by typing it in the browser.', 'loginizer'); ?></span>
     				</td>
     				<td>
    -					<input type="checkbox" value="1" name="rename_login_secret" <?php echo lz_POSTchecked('rename_login_secret', (empty($loginizer['rename_login_secret']) ? false : true)); ?> /></td>
    +					<input type="checkbox" value="1" name="rename_login_secret" <?php echo lz_POSTchecked('rename_login_secret', (empty($loginizer['rename_login_secret']) ? false : true)); ?> />
     				</td>
    +				<!-- </td> -->
     			</tr>
     	
     <?php
    @@ -3567,13 +3568,14 @@
     					<span class="exp"><?php echo __('If set, then only the new admin slug will work and access to the Old Admin Slug i.e. wp-admin will be disabled. If anyone accesses wp-admin, a warning will be shown.<br><label>NOTE: Please use this option cautiously !</label>', 'loginizer'); ?></span>
     				</td>
     				<td>
    -					<input type="checkbox" id="lz_restrict_wp_admin" onchange="lz_wp_admin_msg_toggle()" value="1" name="restrict_wp_admin" <?php echo lz_POSTchecked('restrict_wp_admin', (empty($loginizer['restrict_wp_admin']) ? false : true)); ?> /></td>
    +					<input type="checkbox" id="lz_restrict_wp_admin" onchange="lz_wp_admin_msg_toggle()" value="1" name="restrict_wp_admin" <?php echo lz_POSTchecked('restrict_wp_admin', (empty($loginizer['restrict_wp_admin']) ? false : true)); ?> />
     				</td>
    +				<!-- </td> -->
     			</tr>
     			<tr id="lz_wp_admin_msg_row" style="display:none">
     				<td scope="row" valign="top">
     					<label><?php echo __('WP-Admin Error Message', 'loginizer'); ?></label><br>
    -					<span class="exp"><?php echo __('Error message to show if someone accesses wp-admin', 'loginizer'); ?></span> Default : <?php echo $loginizer['wp_admin_d_msg']; ?>
    +					<span class="exp"><?php echo __('Error message to show if someone accesses wp-admin', 'loginizer'); ?></span> Default : <?php echo (isset($loginizer['wp_admin_d_msg'])) ? $loginizer['wp_admin_d_msg'] : ''; ?>
     				</td>
     				<td>
     					<input type="text" size="50" value="<?php echo lz_htmlizer(!empty($_POST['wp_admin_msg']) ? stripslashes($_POST['wp_admin_msg']) : @$loginizer['wp_admin_msg']); ?>" name="wp_admin_msg" id="lz_wp_admin_msg" />
    @@ -3640,7 +3642,9 @@
     					<span class="exp"><?php echo __('The new Username you want to set for the admin user <br>i.e. UID : 1', 'loginizer'); ?></span>
     				</td>
     				<td>
    +					<?php if($current_admin !== false){ ?>
     					<input type="text" size="50" value="<?php echo lz_optpost('new_username', $current_admin->user_login); ?>" name="new_username" />
    +					<?php } ?>
     				</td>
     			</tr>
     		</table><br />
    

    Hope that helps.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor loginizer

    (@loginizer)

    Hi,

    Thank you for reporting.

    We have fixed the undefined index notices and the extra td tags.

    It will be released in the next version of Loginizer.

    Regarding the page, this page is available only in the premium version hence you will not be able to make changes to this page in the Free version.

    In the Free version you can use the Brute Force features which are available on the Brute Force page.

    For other features you will need to upgrade to pro.

    Plugin Contributor loginizer

    (@loginizer)

    Hi,

    We have released v1.5.1 which resolves the warnings and extra tds issue.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Security Settings – Blank Page’ is closed to new replies.