Skip to content
Snippets Groups Projects
Commit e6b538d7 authored by Erick Hitter's avatar Erick Hitter
Browse files

Correct output escaping in metabox

Fixes #4
parent 92163b49
No related branches found
No related tags found
1 merge request!4Add bulk actions
Checking pipeline status
......@@ -341,7 +341,7 @@ class WP_Revisions_Control {
'Limit this post to %1$s revisions. Leave this field blank for default behavior.',
'wp_revisions_control'
),
'<input type="text" name="' . esc_attr( $this->settings_section ) . '_qty" value="' . (int) $this->get_post_revisions_to_keep( $post->ID ) . '" id="' . esc_attr( $this->settings_section ) . '_qty" size="2" />'
'<input type="text" name="' . esc_attr( $this->settings_section ) . '_qty" value="' . esc_attr( $this->get_post_revisions_to_keep( $post->ID ) ) . '" id="' . esc_attr( $this->settings_section ) . '_qty" size="2" />'
);
?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment