@@ -553,6 +553,8 @@ discard block |
||
553 | 553 | * - native PHP |
554 | 554 | * |
555 | 555 | * This is so we can use the same code to render a client-side and server-side template. |
556 | + * @param string $name |
|
557 | + * @param boolean $is_template |
|
556 | 558 | */ |
557 | 559 | private function render_widget_attr( $name, $value, $is_template ) { |
558 | 560 | echo $is_template ? "<%= $name %>" : esc_attr( $value ); |
@@ -560,6 +562,8 @@ discard block |
||
560 | 562 | |
561 | 563 | /** |
562 | 564 | * See above ^^ |
565 | + * @param string $name |
|
566 | + * @param boolean $is_template |
|
563 | 567 | */ |
564 | 568 | private function render_widget_option_selected( $name, $value, $compare, $is_template ) { |
565 | 569 | $compare_json = wp_json_encode( $compare ); |