Missing argument in custom markup – need to update the plugin
-
The plugin needs a missing argument for the rpwe_markup filter. I’ve been getting errors that it is missing argument 2.
On includes/functions.php around line 223:
return wp_kses_post( $args['before'] ) . apply_filters( 'rpwe_markup', $html) . wp_kses_post( $args['after'] );This needs to be:
return wp_kses_post( $args['before'] ) . apply_filters( 'rpwe_markup', $html, $args ) . wp_kses_post( $args['after'] );
The topic ‘Missing argument in custom markup – need to update the plugin’ is closed to new replies.