Add strict types
This commit is contained in:
parent
8fb1e7a6fa
commit
4bf4fb9af2
226 changed files with 227 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Atrium functions and definitions
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: 404
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: archive
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: Comments
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: footer-minimal
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: footer
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: header
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: Hidden No Results Content
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: home
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: index
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: page-collection
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: page-exhibitions
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: page
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: search
|
||||
|
|
1
balasana/functions.php
Executable file → Normal file
1
balasana/functions.php
Executable file → Normal file
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Child Theme Functions and definitions
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/* Custom Colors: Balasana */
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/*
|
||||
* Custom Editor Colors: Balasana
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?
|
||||
/**
|
||||
* Adds support for wp.com-specific theme functions.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<footer id="colophon" class="site-footer responsive-max-width">
|
||||
<?php
|
||||
if ( class_exists( 'A8C\FSE\WP_Template' ) ) : // If the FSE plugin is active, use the Header template for content.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<header id="masthead" class="site-header responsive-max-width">
|
||||
<?php
|
||||
$template = new A8C\FSE\WP_Template();
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<header id="masthead" class="site-header responsive-max-width">
|
||||
<?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
|
||||
<?php get_template_part( 'template-parts/header/site', 'navigation' ); ?>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php if ( has_nav_menu( 'menu-1' ) ) : ?>
|
||||
<nav id="site-navigation" class="main-navigation" aria-label="<?php esc_attr_e( 'Main Navigation', 'balasana' ); ?>">
|
||||
<input type="checkbox" role="button" aria-haspopup="true" id="toggle" class="hide-visually">
|
||||
|
|
1
barnsbury/functions.php
Executable file → Normal file
1
barnsbury/functions.php
Executable file → Normal file
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Child Theme Functions and definitions
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/* Custom Colors: Barnsbury */
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/*
|
||||
* Custom Editor Colors: Barnsbury
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?
|
||||
/**
|
||||
* Adds support for wp.com-specific theme functions.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Displays header site branding
|
||||
|
|
1
brompton/functions.php
Executable file → Normal file
1
brompton/functions.php
Executable file → Normal file
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Child Theme Functions and definitions
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/* Custom Colors: Brompton */
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/*
|
||||
* Custom Editor Colors: Brompton
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?
|
||||
/**
|
||||
* Adds support for wp.com-specific theme functions.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php if ( class_exists( 'A8C\FSE\WP_Template' ) ) : // If the FSE plugin is active, use the Header template for content. ?>
|
||||
<footer class="fse-template-part fse-footer entry-content">
|
||||
<?php
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Calm (Twenty Nineteen) functions and definitions.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Change the label of the Site Title option.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Jetpack Compatibility File.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* WPcom Compatibility File.
|
||||
|
|
1
coutoire/functions.php
Executable file → Normal file
1
coutoire/functions.php
Executable file → Normal file
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Child Theme Functions and definitions
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/* Custom Colors: Coutoire */
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/*
|
||||
* Custom Editor Colors
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?
|
||||
/**
|
||||
* Adds support for wp.com-specific theme functions.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<header id="masthead" class="site-header alignfull">
|
||||
<?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
|
||||
<?php get_template_part( 'template-parts/header/site', 'navigation' ); ?>
|
||||
|
|
1
dalston/functions.php
Executable file → Normal file
1
dalston/functions.php
Executable file → Normal file
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Child Theme Functions and definitions
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/* Custom Colors: Dalston */
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/*
|
||||
* Custom Editor Colors
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?
|
||||
/**
|
||||
* Adds support for wp.com-specific theme functions.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php if ( class_exists( 'A8C\FSE\WP_Template' ) ) : // If the FSE plugin is active, use the Header template for content. ?>
|
||||
<footer class="fse-template-part fse-footer entry-content">
|
||||
<?php
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<header id="masthead" class="site-header site-branding entry-content">
|
||||
<?php
|
||||
$template = new A8C\FSE\WP_Template();
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
$has_primary_nav = has_nav_menu( 'menu-1' );
|
||||
$header_classes = 'site-header';
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Displays header site branding
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Elegant Business functions and definitions.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Custom functions that act independently of the theme templates.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Custom functions that act independently of the theme templates.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Jetpack Compatibility File.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* WordPress.com-specific functions and definitions.
|
||||
|
|
1
exford/functions.php
Executable file → Normal file
1
exford/functions.php
Executable file → Normal file
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Child Theme Functions and definitions
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/* Custom Colors: Exford */
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/*
|
||||
* Custom Editor Colors
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?
|
||||
/**
|
||||
* Adds support for wp.com-specific theme functions.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Friendly Business functions and definitions.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Friendly Business: Customizer
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Jetpack Compatibility File.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Child Theme Functions and definitions
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
require_once get_template_directory() . '/inc/wpcom-colors-css-variables.php';
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* WordPress.com-specific functions and definitions.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Displays header site branding
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* hola functions and definitions
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: 404
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: Comments
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: footer
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: header-large
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: header-minimal
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: Hidden No Results Content
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: post-meta
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: single
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Inversum functions and definitions
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: 404
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: Comments
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: footer
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: header
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Title: single
|
||||
|
|
1
leven/functions.php
Executable file → Normal file
1
leven/functions.php
Executable file → Normal file
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Child Theme Functions and definitions
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/* Custom Colors: Leven */
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/*
|
||||
* Custom Editor Colors: Varia
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?
|
||||
/**
|
||||
* Adds support for wp.com-specific theme functions.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Displays header site branding
|
||||
|
|
1
mayland/functions.php
Executable file → Normal file
1
mayland/functions.php
Executable file → Normal file
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Child Theme Functions and definitions
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/* Custom Colors: Mayland */
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/*
|
||||
* Custom Editor Colors
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?
|
||||
/**
|
||||
* Adds support for wp.com-specific theme functions.
|
||||
|
|
1
maywood/functions.php
Executable file → Normal file
1
maywood/functions.php
Executable file → Normal file
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Child Theme Functions and definitions
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/* Custom Colors: Maywood */
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/*
|
||||
* Custom Editor Colors
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?
|
||||
/**
|
||||
* Adds support for wp.com-specific theme functions.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying the footer
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Modern Business functions and definitions
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* The header for our theme
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Modern Business: Customizer
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Template data inserter file.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
/**
|
||||
* Jetpack Compatibility File.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php declare( strict_types = 1 ); ?>
|
||||
<?php
|
||||
|
||||
// Our filter callback function
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue