Title: actionscripted's Replies | WordPress.org

---

# actionscripted

  [  ](https://wordpress.org/support/users/actionscripted/)

 *   [Profile](https://wordpress.org/support/users/actionscripted/)
 *   [Topics Started](https://wordpress.org/support/users/actionscripted/topics/)
 *   [Replies Created](https://wordpress.org/support/users/actionscripted/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/actionscripted/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/actionscripted/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/actionscripted/engagements/)
 *   [Favorites](https://wordpress.org/support/users/actionscripted/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HyperDB] Supported?](https://wordpress.org/support/topic/supported-6/)
 *  [actionscripted](https://wordpress.org/support/users/actionscripted/)
 * (@actionscripted)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/supported-6/#post-9528906)
 * If you check the plugin’s development tab you can find links to the source repository
   and it does indeed look like it’s in active development.
 * Not a whole lot has changed, but they’ve updated the readme.txt to include support
   for WordPress 4.8.1: [https://plugins.trac.wordpress.org/changeset/1730766/hyperdb/trunk/readme.txt](https://plugins.trac.wordpress.org/changeset/1730766/hyperdb/trunk/readme.txt)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HyperDB] Why HypeDB plugin is not under active development and updated](https://wordpress.org/support/topic/why-hypedb-plugin-is-not-under-active-development-and-updated/)
 *  [actionscripted](https://wordpress.org/support/users/actionscripted/)
 * (@actionscripted)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/why-hypedb-plugin-is-not-under-active-development-and-updated/#post-9528901)
 * If you check the plugin’s development tab you can find links to the source repository
   and it does indeed look like it’s in active development.
 * Not a whole lot has changed, but they’ve updated the readme.txt to include support
   for WordPress 4.8.1: [https://plugins.trac.wordpress.org/changeset/1730766/hyperdb/trunk/readme.txt](https://plugins.trac.wordpress.org/changeset/1730766/hyperdb/trunk/readme.txt)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Private groups] pg_Replies_Widget missing “after_widget” when $allowed_posts is empty](https://wordpress.org/support/topic/pg_replies_widget-missing-after_widget-when-allowed_posts-is-empty/)
 *  Thread Starter [actionscripted](https://wordpress.org/support/users/actionscripted/)
 * (@actionscripted)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/pg_replies_widget-missing-after_widget-when-allowed_posts-is-empty/#post-9353539)
 * Awesome Robin, thanks so much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Private groups] pg_Forums_Widget title output adjustment](https://wordpress.org/support/topic/pg_forums_widget-title-output-adjustment/)
 *  Thread Starter [actionscripted](https://wordpress.org/support/users/actionscripted/)
 * (@actionscripted)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/pg_forums_widget-title-output-adjustment/#post-9350334)
 * Awesome Robin, thanks so much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Dashboard activity widget](https://wordpress.org/support/topic/dashboard-activity-widget/)
 *  [actionscripted](https://wordpress.org/support/users/actionscripted/)
 * (@actionscripted)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/dashboard-activity-widget/#post-7638598)
 * [@wfalaa](https://wordpress.org/support/users/wfalaa/)
 * We were able to resolve the issue by updating the premium key so it would seem
   that for us at least the problem was that some sort of check was failing and 
   not being handled gracefully.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Dashboard activity widget](https://wordpress.org/support/topic/dashboard-activity-widget/)
 *  [actionscripted](https://wordpress.org/support/users/actionscripted/)
 * (@actionscripted)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/dashboard-activity-widget/#post-7638590)
 * [@wfalaa](https://wordpress.org/support/users/wfalaa/)
 * We’re seeing the same issue. There aren’t any errors in the frontend console 
   or in the backend logs. We’ve disabled all plugins but Wordfence and the issue
   persists.
 * The entire admin dashboard output ends right before the content for the Wordfence
   activity widget. This is the end of the source on a dashboard where this is happening:
 *     ```
       <div id="wordfence_activity_report_widget" class="postbox " >
       <button type="button" class="handlediv button-link" aria-expanded="true"><span class="screen-reader-text">Toggle panel: Wordfence activity in the past 2 weeks</span><span class="toggle-indicator" aria-hidden="true"></span></button><h2 class='hndle'><span>Wordfence activity in the past 2 weeks</span></h2>
       <div class="inside">
       ```
   
 * About this install:
    - Not multisite
    - Using premium Wordfence
    - Everything up-to-date
    - PHP 5.6
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Activating WordFence Mixed Content Over SSL](https://wordpress.org/support/topic/activating-wordfence-mixed-content-over-ssl/)
 *  [actionscripted](https://wordpress.org/support/users/actionscripted/)
 * (@actionscripted)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/activating-wordfence-mixed-content-over-ssl/#post-6633739)
 * Matt,
 * If it helps at all I suspect this has to do with how redirects are being handled
   in Wordfence. The JS written to the page is correct and protocal-relative but
   when you try and request the script directly it 302s from https to http. I’m 
   not familiar enough with the WF codebase to say for sure but I’m wondering if
   it has anything to do with how/where wp_redirect() is used.
 * To see it in action:
    `curl -v https://www.[somesite].com/?wordfence_logHuman
   =1`
 * General output:
 *     ```
       < HTTP/1.1 302 Found
       < Date: Tue, 19 Jul 2016 21:06:31 GMT
       < Content-Type: text/html; charset=UTF-8
       < Set-Cookie: wfvt_1364334534=578e96570281b; expires=Tue, 19-Jul-2016 21:36:31 GMT; Max-Age=1800; path=/; httponly
       < X-Pingback: https://www.[somesite].com/xmlrpc.php
       < Location: http://www.[somesite].com/?wordfence_logHuman=1
       ```
   
 * Perhaps there could be a check in WF redirects to respond with the appropriate
   request protocol? Looking at WF source I’m wondering if it might also make sense
   to use wp_safe_redirect() instead of wp_redirect().
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Taxonomy Sort] Illegal string offset 'orderby'](https://wordpress.org/support/topic/illegal-string-offset-orderby-1/)
 *  [actionscripted](https://wordpress.org/support/users/actionscripted/)
 * (@actionscripted)
 * [11 years ago](https://wordpress.org/support/topic/illegal-string-offset-orderby-1/#post-5322793)
 * [@qstudio](https://wordpress.org/support/users/qstudio/) is correct. You should
   change this twice in the plugin.
 * Line 295 should become:
 *     ```
       if ( isset($args['orderby']) && $this->get_control_type() == 'off' && $args['orderby'] != $this->orderby_parameter ) return $terms;
       ```
   
 * Lines 328-331 should become:
 *     ```
       if (
           (
               isset( $args['order'] )
               && isset( $args['orderby'] )
               && $args['orderby'] == $this->orderby_parameter
               && $args['order'] == 'DESC'
            ) || (
               isset( $args['orderby'] )
               && $args['orderby'] != $this->orderby_parameter
               && $this->get_sort_order() == 'DESC'
            )
       ) {
           krsort( $ordered_terms );
       }
       ```
   
 * But even then, things seem wonky at best. There are several other post sorting
   plugins and I would suggest avoiding this one. It hasn’t been updated in four
   years.
 * One alternative we’ve been okay with that comes with a nagging donation screen:
   [https://wordpress.org/plugins/post-types-order/](https://wordpress.org/plugins/post-types-order/)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Image thumbnails](https://wordpress.org/support/topic/image-thumbnails-3/)
 *  [actionscripted](https://wordpress.org/support/users/actionscripted/)
 * (@actionscripted)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/image-thumbnails-3/#post-878246)
 * [@mfields](https://wordpress.org/support/users/mfields/)
 * You have an unclosed anchor tag in your template code. The print line should 
   look like this:
 *     ```
       print "\n\n" . '<div><a href="' . $link . '"><img src="' . $img . '" alt="" /></a></div>';
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to link directly to first subpage of a parent page](https://wordpress.org/support/topic/how-to-link-directly-to-first-subpage-of-a-parent-page/)
 *  [actionscripted](https://wordpress.org/support/users/actionscripted/)
 * (@actionscripted)
 * [17 years ago](https://wordpress.org/support/topic/how-to-link-directly-to-first-subpage-of-a-parent-page/#post-916718)
 * And the sample output from the code above:
 *     ```
       <ul>
         <li><a href="http://www.somesite.com/about-us/history/">About Us</a></li>
         <li class="current"><a href="http://www.somesite.com/products/by-category/">Products</a></li>
         <li><a href="http://www.somesite.com/custom-orders/">Custom Orders</a></li>
         <li><a href="http://www.somesite.com/design-ideas/">Design Ideas</a></li>
         <li><a href="http://www.somesite.com/deliveries/">Deliveries</a></li>
         <li><a href="http://www.somesite.com/promotions-coupons/">Promotions + Coupons</a></li>
         <li><a href="http://www.somesite.com/contact-us/">Contact Us</a></li>
       </ul>
       ```
   
 * Assuming you have the following page setup:
    - About Us
 *  - History
 *  - Products
 *  - By Category
 *  - Custom Orders
    - Design Ideas
    - Deliveries
    - Promotions + Coupons
    - Contact Us
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to link directly to first subpage of a parent page](https://wordpress.org/support/topic/how-to-link-directly-to-first-subpage-of-a-parent-page/)
 *  [actionscripted](https://wordpress.org/support/users/actionscripted/)
 * (@actionscripted)
 * [17 years ago](https://wordpress.org/support/topic/how-to-link-directly-to-first-subpage-of-a-parent-page/#post-916717)
 * Here’s some rough code that’ll build a top-level list that links parent categories
   to their first child. Use this as a basis for things, and you can step-through
   children to build a nested list if you’d like by removing the “number=1” bit:
 *     ```
       <?php
                 $parents = get_pages('&sort_column=menu_order,post_title&child_of=0&parent=0');
                 $current = $post;
   
                 while($current->post_parent) {
                   $current = get_post($current->post_parent);
                 }
   
                 foreach ($parents as $parent_index => $parent) {
                   if ($parent->post_title == 'Home') continue;
   
                   $first_child = get_pages('&sort_column=menu_order,post_title&number=1&child_of=' . $parent->ID . '&parent=' . $parent->ID);
                   $parent_link = get_page_link($parent->ID);
   
                   if ($first_child) {
                     $child       = $first_child[0];
                     $parent_link = get_page_link($child->ID);
                   }
   
                   if ($current->ID == $parent->ID) {
                     echo '<li class="current"><a href="' . $parent_link . '">' . $parent->post_title . '</a></li>' . "\r\n";
                   } else {
                     echo '<li><a href="' . $parent_link . '">' . $parent->post_title . '</a></li>' . "\r\n";
                   }
                 }
               ?>
       ```
   

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