Title: gridpost FIX pull request
Last modified: August 18, 2022

---

# gridpost FIX pull request

 *  [mcbence](https://wordpress.org/support/users/mcbence/)
 * (@mcbence)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/gridpost-fix-pull-request/)
 * Hi!
 * I’ve just discovered a bug in your code that gave me headache.
    Please replace
   addons/wpmm-gridpost/wpmm-gridpost.php:ln221
 * from:
    echo ! empty($args[‘after_widget’]) ? $args[‘after_widget’] : ”; to: echo
   isset($after_widget) ? $after_widget : ”;
 * explanation:
    $args you refer to is supposed to be the functions initial argument,
   but it is being overwritten later in the function when running queries. In line
   18 it is extracted, so we can use it as a separate variable.
 * sympthoms:
    For me, closing </div> was missing in footer widget, since it was
   stored is $args[‘after_widget’]
 * Thx for the plugin. Keep up the good work 😉
 * Regards
    Bence Gacsályi

Viewing 1 replies (of 1 total)

 *  [largbasket](https://wordpress.org/support/users/largbasket/)
 * (@largbasket)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/gridpost-fix-pull-request/#post-15930406)
 * Dear [@mcbence](https://wordpress.org/support/users/mcbence/)
 * Thank you very much for your help, I will share it with our team. I hope they
   will update the plugin very soon.
 * Thank you

Viewing 1 replies (of 1 total)

The topic ‘gridpost FIX pull request’ is closed to new replies.

 * ![](https://ps.w.org/wp-megamenu/assets/icon-256x256.jpg?rev=2451874)
 * [WP Mega Menu](https://wordpress.org/plugins/wp-megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-megamenu/reviews/)

## Tags

 * [bugfix](https://wordpress.org/support/topic-tag/bugfix/)

 * 1 reply
 * 2 participants
 * Last reply from: [largbasket](https://wordpress.org/support/users/largbasket/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/gridpost-fix-pull-request/#post-15930406)
 * Status: not resolved