Title: https fix: wrong jquery inclusion and/or more fast inclusion &#8211; patch
Last modified: November 8, 2016

---

# https fix: wrong jquery inclusion and/or more fast inclusion – patch

 *  ResolvedPlugin Author [axew3](https://wordpress.org/support/users/axewww/)
 * (@axewww)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/https-fix-wrong-jquery-inclusion-andor-more-fast-inclusion-patch/)
 * A patch to file addons/**page-forum.php** to get jquery libs within WP and with
   correct https inclusion for the library, avoiding eventually jquery vers. conflicts
   and with more fast loading time. This is valid also for non https install.
 * You can download the archive and substitute the _page-forum.php_ of your WP template
   folder, with the new one you download and you found in folder _plugins/wp-w3all-
   phpbb-integration/addons/_ that has been just patched.
 * If you have made common changes to your page-forum.php or whatever you have name
   it), you may choose to patch just in this way:
    open you page-forum(or board 
   or etc).php inside your active template folder, search for the following code(
   function):
 *     ```
        function wp_w3all_hook_jresizer() {
   
        $s = "<script type=\"text/javascript\" src=\"".plugins_url()."/wp-w3all-phpbb-integration/addons/resizer/iframeResizer.min.js\"></script>
               <script type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js\"></script>
       ";
   
       	echo $s;
   
       }
       ```
   
 * just replace with:
 *     ```
        function wp_w3all_hook_jresizer() {
   
         $s = "<script type=\"text/javascript\" src=\"".get_home_url()."/wp-includes/js/jquery/jquery.js\"></script>
         <script type=\"text/javascript\" src=\"".get_home_url()."/wp-includes/js/jquery/jquery-migrate.min.js\"></script>
         <script type=\"text/javascript\" src=\"".plugins_url()."/wp-w3all-phpbb-integration/addons/resizer/iframeResizer.min.js\"></script>
       ";
   
       	echo $s;
   
       }
       ```
   

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

 *  Plugin Author [axew3](https://wordpress.org/support/users/axewww/)
 * (@axewww)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/https-fix-wrong-jquery-inclusion-andor-more-fast-inclusion-patch/#post-8410958)
 * After a test, **THE ABOVE NOT completely WORK**: it do not return correct fix
   for external pages redirects in iframe if https,
    so the code of page-forum.php
   has been reverted the the old one.
 * The only one bug resolved is the https bug with the one now available, while 
   the complete fix about the rest will be done on next version).
 * a post about also this problem and other is available here:
    [http://www.axew3.com/w3/forum/?forum_id=2&topic_id=207&post_id=974#p974](http://www.axew3.com/w3/forum/?forum_id=2&topic_id=207&post_id=974#p974)
    -  This reply was modified 9 years, 7 months ago by [axew3](https://wordpress.org/support/users/axewww/).
    -  This reply was modified 9 years, 7 months ago by [axew3](https://wordpress.org/support/users/axewww/).
 *  Plugin Author [axew3](https://wordpress.org/support/users/axewww/)
 * (@axewww)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/https-fix-wrong-jquery-inclusion-andor-more-fast-inclusion-patch/#post-8412800)
 * **The addons/page-forum.php has been just fixed to resolve all the above.**
    
   Just download (if needed) the plugin and replace it.
    -  This reply was modified 9 years, 7 months ago by [axew3](https://wordpress.org/support/users/axewww/).
    -  This reply was modified 9 years, 7 months ago by [axew3](https://wordpress.org/support/users/axewww/).

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

The topic ‘https fix: wrong jquery inclusion and/or more fast inclusion – patch’
is closed to new replies.

 * ![](https://ps.w.org/wp-w3all-phpbb-integration/assets/icon-128x128.png?rev=3375511)
 * [WP w3all phpBB](https://wordpress.org/plugins/wp-w3all-phpbb-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-w3all-phpbb-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-w3all-phpbb-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-w3all-phpbb-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-w3all-phpbb-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-w3all-phpbb-integration/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [axew3](https://wordpress.org/support/users/axewww/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/https-fix-wrong-jquery-inclusion-andor-more-fast-inclusion-patch/#post-8412800)
 * Status: resolved