GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — feature/gallery-template-clien... ( a5e10a...a6b5cf )
by Brad
02:25
created

functions.php ➔ foogallery_enqueue_imagesloaded_script()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 13
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 7
nc 2
nop 0
dl 0
loc 13
rs 9.4285
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A functions.php ➔ foogallery_enqueue_core_gallery_template_script() 0 4 1
1
<?php
2
/**
3
 * FooGallery default extensions common functions
4
 */
5
6
/**
7
 * Enqueue the core FooGallery stylesheet used by all default templates
8
 */
9
function foogallery_enqueue_core_gallery_template_style() {
10
	$css = FOOGALLERY_DEFAULT_TEMPLATES_EXTENSION_SHARED_URL . 'css/foogallery.min.css';
11
	wp_enqueue_style( 'foogallery-core', $css, array(), FOOGALLERY_VERSION );
12
}
13
14
/**
15
 * Enqueue the core FooGallery script used by all default templates
16
 */
17
function foogallery_enqueue_core_gallery_template_script() {
18
	$js = FOOGALLERY_DEFAULT_TEMPLATES_EXTENSION_SHARED_URL . 'js/foogallery.min.js';
19
	wp_enqueue_script( 'foogallery-core', $js, array(), FOOGALLERY_VERSION );
20
}
21