← All changes
|
WPDataAccess/Plugin_Table_Models/WPDP_Project_Model.php
+2
-2
5.5.75
→
5.5.84
View file →
| @@ -35,9 +35,9 @@ | ||
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | public static function get_project_list() { |
| 38 | 38 | global $wpdb; |
| 39 | - return $wpdb->get_results( | |
| 39 | + return $wpdb->get_results( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- plugin table | |
| 40 | 40 | $wpdb->prepare( |
| 41 | 41 | 'SELECT * FROM `%1s` ORDER BY project_name', // phpcs:ignore WordPress.DB.PreparedSQLPlaceholders |
| 42 | 42 | array( |
| 43 | 43 | WPDA::remove_backticks( self::get_base_table_name() ), |
| @@ -43,9 +43,9 @@ | ||
| 43 | 43 | WPDA::remove_backticks( self::get_base_table_name() ), |
| 44 | 44 | ) |
| 45 | 45 | ), |
| 46 | 46 | 'ARRAY_A' |
| 47 | - ); // phpcs:ignore Standard.Category.SniffName.ErrorCode | |
| 47 | + ); | |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | } |
| 51 | 51 | |