[Plugin: Events Manager] Fix to pagination for events_list shortcode
-
I noticed that with the recent update to the events manager plugin, the pagination on my past events page stopped working. In em-shortcode.php, I noticed that in em_get_events_list_shortcode, the second to last line should read:
$atts[‘page’] = ( !empty($_GET[‘pno’]) && is_numeric($_GET[‘pno’]) )? $_GET[‘pno’] : $atts[‘page’]
instead of;
$atts[‘page’] = ( !empty($_GET[‘page’]) && is_numeric($_GET[‘page’]) )? $_GET[‘pno’] : $atts[‘page’]
That got it working. If this is the appropriate fix to the bug, please update the codebase accordingly.
Thanks,
Nehal
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Events Manager] Fix to pagination for events_list shortcode’ is closed to new replies.