Fix translation support
Compare changes
- Erick Hitter authored
+ 36
− 20
@@ -246,9 +246,9 @@ class Automatically_Paginate_Posts {
<input type="checkbox" name="<?php echo esc_attr( $this->option_name_post_types ); ?>[]" id="post-type-<?php echo esc_attr( $post_type ); ?>" value="<?php echo esc_attr( $post_type ); ?>"<?php checked( in_array( $post_type, $current_types ) ); ?> /> <label for="post-type-<?php echo esc_attr( $post_type ); ?>"><?php echo esc_html( $atts->label ); ?></label><br />
@@ -299,8 +299,8 @@ class Automatically_Paginate_Posts {
@@ -308,11 +308,12 @@ class Automatically_Paginate_Posts {
@@ -403,17 +404,28 @@ class Automatically_Paginate_Posts {
<input type="checkbox" name="<?php echo esc_attr( $this->meta_key_disable_autopaging ); ?>" id="<?php echo esc_attr( $this->meta_key_disable_autopaging ); ?>_checkbox" value="1"<?php checked( (bool) get_post_meta( $post->ID, $this->meta_key_disable_autopaging, true ) ); ?> /> <label for="<?php echo esc_attr( $this->meta_key_disable_autopaging ); ?>_checkbox">Disable autopaging for this post?</label>
@@ -422,22 +434,24 @@ class Automatically_Paginate_Posts {
@@ -452,14 +466,15 @@ class Automatically_Paginate_Posts {
@@ -468,7 +483,7 @@ class Automatically_Paginate_Posts {
@@ -477,7 +492,7 @@ class Automatically_Paginate_Posts {
@@ -500,8 +515,8 @@ class Automatically_Paginate_Posts {
@@ -558,5 +573,6 @@ class Automatically_Paginate_Posts {