| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | |
| 4 | 4 | use Elementor\Core\Logger\Items\Log_Item_Interface as Log_Item; |
| 5 | 5 | |
| 6 | 6 | if ( ! defined( 'ABSPATH' ) ) { |
| 7 | - exit; // Exit if accessed directly. | |
| 7 | + exit; // Exit if accessed directly | |
| 8 | 8 | } |
| 9 | 9 | |
| 10 | 10 | class Db extends Base { |
| 11 | 11 | |
| @@ -37,9 +37,9 @@ | ||
| 37 | 37 | |
| 38 | 38 | return $log; |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | - public function get_log() { | |
| 41 | + protected function get_log() { | |
| 42 | 42 | // Clear cache. |
| 43 | 43 | wp_cache_delete( self::LOG_NAME, 'options' ); |
| 44 | 44 | |
| 45 | 45 | $log = get_option( self::LOG_NAME, [] ); |