novaramedia / novaramedia-com

Invalid usage of class constant fetch expression PHP-W1006
Bug risk
Critical
2 years ago2 years old
Access to constant READABLE on an unknown class WP_REST_Server
115    'context'    => 'normal',
116    'priority'   => 'high',
117    'show_names' => true, // Show field names on the left
118    'show_in_rest' => WP_REST_Server::READABLE,119  ) );
120
121  $meta_boxes->add_field( array(
Access to constant READABLE on an unknown class WP_REST_Server
275    'context'    => 'normal',
276    'priority'   => 'high',
277    'show_names' => true,
278    'show_in_rest' => WP_REST_Server::READABLE,279  ) );
280
281  $resources_group_field = $resources_metabox->add_field( array(
Access to constant READABLE on an unknown class WP_REST_Server
231    'context'    => 'normal',
232    'priority'   => 'high',
233    'show_names' => true, // Show field names on the left
234    'show_in_rest' => WP_REST_Server::READABLE,235  ) );
236
237  $articles_metabox->add_field( array(
Access to constant READABLE on an unknown class WP_REST_Server
205    'context'    => 'normal',
206    'priority'   => 'high',
207    'show_names' => true, // Show field names on the left
208    'show_in_rest' => WP_REST_Server::READABLE,209  ) );
210
211  $video_metabox->add_field( array(
Access to constant READABLE on an unknown class WP_REST_Server
165    'context'    => 'normal',
166    'priority'   => 'high',
167    'show_names' => true, // Show field names on the left
168    'show_in_rest' => WP_REST_Server::READABLE,169  ) );
170
171  $audio_metabox->add_field( array(