mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-04 10:05:43 +03:00
Auto-fix some PHPCS errors
This commit is contained in:
parent
bb12bce7ab
commit
bd9019556b
4 changed files with 8 additions and 8 deletions
|
@ -60,7 +60,7 @@ function enqueue_scripts() {
|
|||
);
|
||||
}
|
||||
|
||||
$inline_script = sprintf( "var fiveFutureCompanies = %s;", wp_json_encode( $companies ) );
|
||||
$inline_script = sprintf( 'var fiveFutureCompanies = %s;', wp_json_encode( $companies ) );
|
||||
|
||||
wp_enqueue_style( '5ftf-front-end' );
|
||||
wp_enqueue_script( '5ftf-list' );
|
||||
|
@ -78,7 +78,7 @@ function render_shortcode() {
|
|||
// If this is reached, then refactor the page to lazy-load, etc.
|
||||
|
||||
ob_start();
|
||||
require_once( dirname( __DIR__ ) . '/views/front-end.php' );
|
||||
require_once dirname( __DIR__ ) . '/views/front-end.php';
|
||||
return ob_get_clean();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue