Admin page may not display correctly
-
On line 86 of multiedit.php the plugin is using the shorthand for an echo. For servers that have the php.ini option short_open_tag disabled and are running less than php 5.4 this will cause the multi edit option page to not work correctly.
<td><input type="radio" name="opts[shortcode]" value="1" <?= $opts['shortcodes'] == 1 ? "checked='checked'" : ''?> /><label>Yes</label> <input type="radio" name="opts[shortcode]" value="0" <?= $opts['shortcodes'] == 0 ? "checked='checked'" : ''?>/><label>No</label> <br/><span class="description"><?php _e('Enables Shortcode support for multi-edit regions. Caution this will enable all filters for the region like including social media buttons and other such nonsense in your output.' ); ?></span></td>
Should be replaced with:
<td><input type="radio" name="opts[shortcode]" value="1" <?php echo $opts['shortcodes'] == 1 ? "checked='checked'" : ''?> /><label>Yes</label> <input type="radio" name="opts[shortcode]" value="0" <?php echo $opts['shortcodes'] == 0 ? "checked='checked'" : ''?>/><label>No</label> <br/><span class="description"><?php _e('Enables Shortcode support for multi-edit regions. Caution this will enable all filters for the region like including social media buttons and other such nonsense in your output.' ); ?></span></td>
https://www.ads-software.com/extend/plugins/pagely-multiedit/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Admin page may not display correctly’ is closed to new replies.