• Resolved jhnpldng

    (@jhnpldng)


    When I go to my hosting and change my php version back to 5.4, BPS gives me this message.

    PHP/php.ini handler htaccess code was found in your root .htaccess file, but was NOT found in BPS Custom Code.
    It is recommended that you copy your PHP/php.ini handler htaccess code in your root htaccess file to BPS Custom Code.

    I know what php.ini is but what on earth is PHP/php.ini handler htaccess code and where is BPS Custom Code located. I’ve seen the tutorial linked from the plugin page but it’s not clear at all. The warning on the plugin is not clear at all either. Someone with BPS really rushes when they write things it seems or English is not their first language maybe. No offense intended.

    PHP/php.ini handler htaccess code

    Is this part or all of php.ini or .htaccess or something else. Neither htaccess or php.ini looks like the example in the tutorial/forum.

    https://www.ads-software.com/plugins/bulletproof-security/

Viewing 6 replies - 16 through 21 (of 21 total)
  • Plugin Author AITpro

    (@aitpro)

    wp_register_style('jquery-ui-core', piklist::$urls['piklist'] . '/parts/css/jquery-ui/jquery-ui.piklist.css', false, $jquery_ui_core->ver);
    
        wp_enqueue_style('jquery-ui-core');

    Code should be changed to something like this with a unique script identifier for your style.

    wp_register_style('piklist-css', piklist::$urls['piklist'] . '/parts/css/jquery-ui/jquery-ui.piklist.css', false, $jquery_ui_core->ver);
    
    wp_enqueue_style('piklist-css', piklist::$urls['piklist'] . '/parts/css/jquery-ui/jquery-ui.piklist.css'));

    @aitpro– There are probably hundreds of plugins that use jQuery UI CSS.

    You might want to consider using the WordPress built-in styles for tabbed settings. Changing your settings page to the WordPress default settings would solve this issue, and also make your plugin look like it belongs in WordPress.

    Plugin Author AITpro

    (@aitpro)

    No worries. I have added unique class names to all BPS jQuery code and css. .bps-dialog etc. In addition I have added additional new filters that WordPress created in 4.1 to filter out/null other plugin’s scripts from loading in the BPS plugin pages. My goal was always just to let you know what was occurring and not to make you wrong about anything. Maybe I phrased things in a way that made you take a defensive position. So I apologize if that is the case and for reacting to your response in the way that I did. All is well.

    @aitpro– There were never any worries.

    Piklist is a difficult plugin to explain. It’s an incredibly powerful framework that allows the user to modify everything in the WordPress admin.

    We’re glad you name spaced your css. That will prevent any plugin that uses jQuery UI CSS to conflict with your plugin… not just Piklist.

    All is definitely well!

    Plugin Author AITpro

    (@aitpro)

    We’re glad you name spaced your css. That will prevent any plugin that uses jQuery UI CSS to conflict with your plugin… not just Piklist.

    That did not work, but the new WordPress 4.1 filters do the trick. ??

    Plugin Author AITpro

    (@aitpro)

    For anyone else looking for these awesome WP 4.1 filters check out these filters:

    add_filter('style_loader_tag', 'some_unique_function_name');
    add_filter('script_loader_tag', 'some_unique_function_name');
Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘BPS keeps bumping me back to php 5.2’ is closed to new replies.