Closed slaFFik closed 7 years ago
Here on this line: https://github.com/justintadlock/butterbean/blob/dev/inc/controls/class-control-parent.php#L77
$_post = get_post( $this->manager->post_id );
There is an extra get_post() call and assign results to a variable that never used.
get_post()
Might be a good idea to delete it, as it is also a potential DB query.
Here on this line: https://github.com/justintadlock/butterbean/blob/dev/inc/controls/class-control-parent.php#L77
There is an extra
get_post()
call and assign results to a variable that never used.Might be a good idea to delete it, as it is also a potential DB query.