@@ -1892,7 +1892,7 @@ discard block |
||
1892 | 1892 | * |
1893 | 1893 | * @since 2.4.0 |
1894 | 1894 | * |
1895 | - * @return object The TGM_Plugin_Activation object. |
|
1895 | + * @return TGM_Plugin_Activation The TGM_Plugin_Activation object. |
|
1896 | 1896 | */ |
1897 | 1897 | public static function get_instance() { |
1898 | 1898 | if ( ! isset( self::$instance ) && ! ( self::$instance instanceof self ) ) { |
@@ -2049,7 +2049,7 @@ discard block |
||
2049 | 2049 | * |
2050 | 2050 | * @since 2.5.0 |
2051 | 2051 | * |
2052 | - * @return array CSS classnames. |
|
2052 | + * @return string[] CSS classnames. |
|
2053 | 2053 | */ |
2054 | 2054 | public function get_table_classes() { |
2055 | 2055 | return array( 'widefat', 'fixed' ); |
@@ -1327,13 +1327,13 @@ |
||
1327 | 1327 | $key = preg_replace( '`[^A-Za-z0-9_-]`', '', $key ); |
1328 | 1328 | |
1329 | 1329 | /** |
1330 | - * Filter a sanitized key string. |
|
1331 | - * |
|
1332 | - * @since 3.0.0 |
|
1333 | - * |
|
1334 | - * @param string $key Sanitized key. |
|
1335 | - * @param string $raw_key The key prior to sanitization. |
|
1336 | - */ |
|
1330 | + * Filter a sanitized key string. |
|
1331 | + * |
|
1332 | + * @since 3.0.0 |
|
1333 | + * |
|
1334 | + * @param string $key Sanitized key. |
|
1335 | + * @param string $raw_key The key prior to sanitization. |
|
1336 | + */ |
|
1337 | 1337 | return apply_filters( 'tgmpa_sanitize_key', $key, $raw_key ); |
1338 | 1338 | } |
1339 | 1339 |
@@ -1,21 +1,21 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file represents an example of the code that themes would use to register |
|
4 | - * the required plugins. |
|
5 | - * |
|
6 | - * It is expected that theme authors would copy and paste this code into their |
|
7 | - * functions.php file, and amend to suit. |
|
8 | - * |
|
9 | - * @see http://tgmpluginactivation.com/configuration/ for detailed documentation. |
|
10 | - * |
|
11 | - * @package TGM-Plugin-Activation |
|
12 | - * @subpackage Example |
|
13 | - * @version 2.5.2 |
|
14 | - * @author Thomas Griffin, Gary Jones, Juliette Reinders Folmer |
|
15 | - * @copyright Copyright (c) 2011, Thomas Griffin |
|
16 | - * @license http://opensource.org/licenses/gpl-2.0.php GPL v2 or later |
|
17 | - * @link https://github.com/TGMPA/TGM-Plugin-Activation |
|
18 | - */ |
|
3 | + * This file represents an example of the code that themes would use to register |
|
4 | + * the required plugins. |
|
5 | + * |
|
6 | + * It is expected that theme authors would copy and paste this code into their |
|
7 | + * functions.php file, and amend to suit. |
|
8 | + * |
|
9 | + * @see http://tgmpluginactivation.com/configuration/ for detailed documentation. |
|
10 | + * |
|
11 | + * @package TGM-Plugin-Activation |
|
12 | + * @subpackage Example |
|
13 | + * @version 2.5.2 |
|
14 | + * @author Thomas Griffin, Gary Jones, Juliette Reinders Folmer |
|
15 | + * @copyright Copyright (c) 2011, Thomas Griffin |
|
16 | + * @license http://opensource.org/licenses/gpl-2.0.php GPL v2 or later |
|
17 | + * @link https://github.com/TGMPA/TGM-Plugin-Activation |
|
18 | + */ |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * Include the TGM_Plugin_Activation class. |