| @@ -23,9 +23,9 @@ | ||
| 23 | 23 | * Plugin prefix used for AJAX actions, nonces, and storage keys. |
| 24 | 24 | * |
| 25 | 25 | * @var string |
| 26 | 26 | */ |
| 27 | - private string $prefix; | |
| 27 | + protected string $prefix; | |
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * Array of registered notices. |
| 31 | 31 | * |
| @@ -30,14 +30,14 @@ | ||
| 30 | 30 | * Array of registered notices. |
| 31 | 31 | * |
| 32 | 32 | * @var array Registered notices. |
| 33 | 33 | */ |
| 34 | - private array $notices = array(); | |
| 34 | + protected array $notices = array(); | |
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * Constructor class. |
| 38 | 38 | * |
| 39 | - * @param string $prefix Plugin prefix for AJAX actions, nonces, and storage keys. Default 'wzkb'. | |
| 39 | + * @param string $prefix Plugin prefix for AJAX actions, nonces, and storage keys. Default 'tptn'. | |
| 40 | 40 | */ |
| 41 | 41 | public function __construct( string $prefix = 'tptn' ) { |
| 42 | 42 | $this->prefix = $prefix; |
| 43 | 43 | |
| @@ -197,9 +197,9 @@ | ||
| 197 | 197 | * |
| 198 | 198 | * @param string $notice_id Notice ID. |
| 199 | 199 | * @return bool Whether the notice has been dismissed. |
| 200 | 200 | */ |
| 201 | - private function is_notice_dismissed( $notice_id ) { | |
| 201 | + protected function is_notice_dismissed( $notice_id ) { | |
| 202 | 202 | $notice = $this->notices[ $notice_id ] ?? null; |
| 203 | 203 | |
| 204 | 204 | if ( ! $notice ) { |
| 205 | 205 | return false; |