|
@@ -82,9 +82,12 @@ |
|
|
block discarded – undo |
|
82
|
82
|
|
|
83
|
83
|
<strong><?php printf( esc_html__( 'Repeat of %s', 'hm-post-repeat' ), '<a href="' . esc_url( get_edit_post_link( get_post()->post_parent ) ) . '">' . esc_html( get_the_title( get_post_field( 'post_parent', get_the_id() ) ) ) . '</a>' ); ?></strong> |
|
84
|
84
|
|
|
85
|
|
- <?php else : ?> |
|
|
85
|
+ <?php else { |
|
|
86
|
+ : ?> |
|
86
|
87
|
|
|
87
|
|
- <?php $repeating_schedule = get_repeating_schedule( get_the_id() ); ?> |
|
|
88
|
+ <?php $repeating_schedule = get_repeating_schedule( get_the_id() ); |
|
|
89
|
+} |
|
|
90
|
+?> |
|
88
|
91
|
<?php $is_repeating_post = is_repeating_post( get_the_id() ) && isset( $repeating_schedule ); ?> |
|
89
|
92
|
|
|
90
|
93
|
<strong><?php echo ! $is_repeating_post ? esc_html__( 'No', 'hm-post-repeat' ) : esc_html( $repeating_schedule['display'] ); ?></strong> |
Please login to merge, or discard this patch.