Remove unused global
This commit is contained in:
@ -148,7 +148,6 @@ class CWV3 {
|
|||||||
* @return null
|
* @return null
|
||||||
*/
|
*/
|
||||||
public function load_dependancies() {
|
public function load_dependancies() {
|
||||||
global $post;
|
|
||||||
|
|
||||||
if ( current_user_can( 'manage_options' ) ) {
|
if ( current_user_can( 'manage_options' ) ) {
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user