Skip to content

Commit ef17aad

Browse files
committed
Fixed non-static deprecation notice
1 parent b21bdf7 commit ef17aad

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77

88
# WordPress Base Plugin
99

10+
- [Documentation](https://github.com/dmhendricks/wordpress-base-plugin/wiki/)
11+
- [Features](#features)
12+
- [Requirements](#requirements)
13+
- [Installation](#installation)
14+
- [Future Plans](#future-plans)
15+
- [Change Log](#change-log)
16+
- [Credits](#credits)
17+
1018
## Description
1119

1220
This is a boilerplate WordPress plugin featuring namespace autoloading and integration with [Carbon Fields](https://github.com/htmlburger/carbon-fields). It is intended to be used as a starting point for creating WordPress plugins. It contains several examples and dependencies to get you started.
@@ -77,7 +85,7 @@ Release changes are noted on the [Releases](https://github.com/dmhendricks/wordp
7785

7886
#### Branch: `master`
7987

80-
* None since release
88+
* Fixed non-static deprecation notice
8189

8290
## Credits
8391

app/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private function verify_dependencies( $deps = true, $args = array() ) {
184184
* @since 0.2.0
185185
*
186186
*/
187-
public function get_plugin_option( $key, $cache = true ) {
187+
public static function get_plugin_option( $key, $cache = true ) {
188188
$key = $this->prefix( $key );
189189

190190
if( $cache ) {

0 commit comments

Comments
 (0)