PluginProbe
TablePress – Tables in WordPress made easy / 3.4
TablePress – Tables in WordPress made easy v3.4
3.4 3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 All 45 releases
← All changes | controllers/template-tag-functions.php +4 -2 2.4.1 → 3.4 View file →
@@ -7,8 +7,10 @@
7 7 * @author Tobias Bäthge
8 8 * @since 1.0.0
9 9 */
10 10
11 +declare(strict_types=1);
12 +
11 13 /**
12 14 * Provides template tag functionality for the "table" Shortcode, to be used anywhere in the template, returns the table HTML.
13 15 *
14 16 * @since 1.0.0
@@ -21,9 +23,9 @@
21 23 $atts = $table_query;
22 24 } else {
23 25 parse_str( (string) $table_query, $atts );
24 26 }
25 - return TablePress::$controller->shortcode_table( $atts ); // @phpstan-ignore-line
27 + return TablePress::$controller->shortcode_table( $atts ); // @phpstan-ignore argument.type
26 28 }
27 29
28 30 /**
29 31 * Provides template tag functionality for the "table" Shortcode, to be used anywhere in the template, echoes the table HTML.
@@ -51,9 +53,9 @@
51 53 $atts = $table_query;
52 54 } else {
53 55 parse_str( (string) $table_query, $atts );
54 56 }
55 - return TablePress::$controller->shortcode_table_info( $atts ); // @phpstan-ignore-line
57 + return TablePress::$controller->shortcode_table_info( $atts ); // @phpstan-ignore argument.type
56 58 }
57 59
58 60 /**
59 61 * Provides template tag functionality for the "table-info" Shortcode, to be used anywhere in the template, echoes the info.