Fix translation support
Compare changes
- Erick Hitter authored
+ 236
− 125
@@ -94,7 +181,7 @@ class Automatically_Paginate_Posts {
@@ -106,24 +193,25 @@ class Automatically_Paginate_Posts {
@@ -137,55 +225,59 @@ 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 />
@@ -193,12 +285,12 @@ class Automatically_Paginate_Posts {
@@ -212,30 +304,33 @@ class Automatically_Paginate_Posts {
@@ -243,7 +338,7 @@ class Automatically_Paginate_Posts {
@@ -251,9 +346,9 @@ class Automatically_Paginate_Posts {
@@ -262,10 +357,10 @@ class Automatically_Paginate_Posts {
@@ -277,9 +372,9 @@ class Automatically_Paginate_Posts {
@@ -294,11 +389,11 @@ class Automatically_Paginate_Posts {
@@ -307,42 +402,56 @@ 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>
@@ -350,42 +459,43 @@ class Automatically_Paginate_Posts {
@@ -405,24 +515,24 @@ class Automatically_Paginate_Posts {
@@ -434,7 +544,7 @@ class Automatically_Paginate_Posts {
@@ -444,14 +554,14 @@ class Automatically_Paginate_Posts {
@@ -463,5 +573,6 @@ class Automatically_Paginate_Posts {