style fix
This commit is contained in:
parent
055c22e9c3
commit
852634360b
3 changed files with 4 additions and 4 deletions
|
@ -133,7 +133,7 @@ function flush_rewrite_rules() {
|
||||||
*/
|
*/
|
||||||
function activate_plugin() {
|
function activate_plugin() {
|
||||||
if ( ! function_exists( 'get_plugin_data' ) ) {
|
if ( ! function_exists( 'get_plugin_data' ) ) {
|
||||||
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
||||||
}
|
}
|
||||||
$plugin_data = \get_plugin_data( __FILE__ );
|
$plugin_data = \get_plugin_data( __FILE__ );
|
||||||
\add_option( 'activitypub_version', $plugin_data['Version'] );
|
\add_option( 'activitypub_version', $plugin_data['Version'] );
|
||||||
|
|
Loading…
Reference in a new issue