| @@ -25,9 +25,9 @@ | ||
| 25 | 25 | parent::__construct( |
| 26 | 26 | 'widget_tptn_count', // Base ID. |
| 27 | 27 | __( 'Overall count [Top 10]', 'top-10' ), // Name. |
| 28 | 28 | array( |
| 29 | - 'description' => __( 'Display overall count', 'where-did-they-go-from-here' ), | |
| 29 | + 'description' => __( 'Display overall count', 'top-10' ), | |
| 30 | 30 | 'customize_selective_refresh' => true, |
| 31 | 31 | 'classname' => 'tptn_posts_count_widget', |
| 32 | 32 | ) |
| 33 | 33 | ); |
| @@ -50,15 +50,9 @@ | ||
| 50 | 50 | </label> |
| 51 | 51 | </p> |
| 52 | 52 | |
| 53 | 53 | <?php |
| 54 | - /** | |
| 55 | - * Fires after Top 10 widget options. | |
| 56 | - * | |
| 57 | - * @since 2.0.0 | |
| 58 | - * | |
| 59 | - * @param array $instance Widget options array | |
| 60 | - */ | |
| 54 | + /** This action is documented in includes/frontend/widgets/class-posts-widget.php */ | |
| 61 | 55 | do_action( 'tptn_widget_options_after', $instance ); |
| 62 | 56 | ?> |
| 63 | 57 | |
| 64 | 58 | <?php |
| @@ -77,15 +71,9 @@ | ||
| 77 | 71 | public function update( $new_instance, $old_instance ) { |
| 78 | 72 | $instance = $old_instance; |
| 79 | 73 | $instance['title'] = wp_strip_all_tags( $new_instance['title'] ); |
| 80 | 74 | |
| 81 | - /** | |
| 82 | - * Filters Update widget options array. | |
| 83 | - * | |
| 84 | - * @since 2.0.0 | |
| 85 | - * | |
| 86 | - * @param array $instance Widget options array | |
| 87 | - */ | |
| 75 | + /** This action is documented in includes/frontend/widgets/class-posts-widget.php */ | |
| 88 | 76 | return apply_filters( 'tptn_widget_options_update', $instance ); |
| 89 | 77 | } //ending update |
| 90 | 78 | |
| 91 | 79 | /** |