WordPress.org

Ready to get started?Download WordPress

Forums

WP htaccess Control
[resolved] Remove Short Tag in wp-htaccess-control-ui.php (3 posts)

  1. caillou
    Member
    Posted 3 years ago #

    If I use your plugin with short PHP tags disabled, I get the following error message when viewing the plugin in the admin:

    Parse error: syntax error, unexpected $end in /wp-content/plugins/wp-htaccess-control/wp-htaccess-control-ui.php on line 437

    Here is a patch, it would be nice if you'd apply it:


    Index: wp-htaccess-control-ui.php
    ===================================================================
    --- wp-htaccess-control-ui.php (revision 390784)
    +++ wp-htaccess-control-ui.php (working copy)
    @@ -33,7 +33,7 @@

    </div>
    </div>
    - <? } ?>
    + <?php } ?>
    <div class="wphtc-section">
    <div class="wphtc-section-title stuffbox">
    <!--<div title="Click to toggle" class="handlediv" style="background:url('<?php bloginfo("wpurl")?>/wp-admin/images/menu-bits.gif') no-repeat scroll left -111px transparent">
    </div>-->

  2. Antonio
    Member
    Posted 3 years ago #

    Thank you caillou! This should be fixed on 2.5.1.

  3. caillou
    Member
    Posted 3 years ago #

    Thx! Works like a charm now!

    I am amazed by the speed at which you did this!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic