Update copyright years

This commit is contained in:
Robin Cornett
2020-08-23 10:31:02 -04:00
parent 594220009c
commit e8ce82d555
20 changed files with 42 additions and 34 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
* @author Robin Cornett <hello@robincornett.com>
* @license GPL-2.0+
* @link https://robincornett.com
* @copyright 2014-2019 Robin Cornett Creative, LLC
* @copyright 2014-2020 Robin Cornett Creative, LLC
*
* @wordpress-plugin
* Plugin Name: Display Featured Image for Genesis
@@ -7,7 +7,7 @@
* @author Robin Cornett <hello@robincornett.com>
* @license GPL-2.0+
* @link https://robincornett.com
* @copyright 2015-2017 Robin Cornett Creative, LLC
* @copyright 2015-2020 Robin Cornett Creative, LLC
* @since 2.0.0
*/
@@ -170,7 +170,8 @@ class Display_Featured_Image_Genesis_Admin {
.edit-tags-php .column-featured_image { width: 60px; }
.column-featured_image img { margin: 0 auto; height: auto; width: auto; max-width: 60px; max-height: 80px; }
@media screen and (max-width: 782px) { .column-featured_image, .wp-list-table .is-expanded td.column-featured_image:not(.hidden) { display: table-cell !important; width: 52px; } .column-featured_image.hidden { display: none !important; } .column-featured_image img { margin: 0; max-width: 42px; } }
</style> <?php
</style>
<?php
}
}
@@ -242,7 +243,8 @@ class Display_Featured_Image_Genesis_Admin {
$orderby = $query->get( 'orderby' );
if ( 'featured_image' === $orderby ) {
$query->set(
'meta_query', array(
'meta_query',
array(
'relation' => 'OR',
array(
'key' => '_thumbnail_id',
@@ -8,7 +8,7 @@
* @author Robin Cornett <hello@robincornett.com>
* @license GPL-2.0+
* @link https://robincornett.com
* @copyright 2014-2017 Robin Cornett Creative, LLC
* @copyright 2014-2020 Robin Cornett Creative, LLC
* @since 1.2.1
*/
class Display_Featured_Image_Genesis_Common {
@@ -5,7 +5,7 @@
* @package DisplayFeaturedImageGenesis
* @author Robin Cornett <hello@robincornett.com>
* @link https://github.com/robincornett/display-featured-image-genesis/
* @copyright 2014-2017 Robin Cornett
* @copyright 2014-2020 Robin Cornett
* @license GPL-2.0+
*/
+1 -1
View File
@@ -5,7 +5,7 @@
* @package DisplayFeaturedImageGenesis
* @author Robin Cornett <hello@robincornett.com>
* @link https://github.com/robincornett/display-featured-image-genesis/
* @copyright 2015-2017 Robin Cornett
* @copyright 2015-2020 Robin Cornett
* @license GPL-2.0+
*/
@@ -6,7 +6,7 @@
* @author Robin Cornett <hello@robincornett.com>
* @license GPL-2.0+
* @link https://robincornett.com
* @copyright 2014-2019 Robin Cornett Creative, LLC
* @copyright 2014-2020 Robin Cornett Creative, LLC
*/
class Display_Featured_Image_Genesis_Author extends Display_Featured_Image_Genesis_Helper {
@@ -6,7 +6,7 @@
* @author Robin Cornett <hello@robincornett.com>
* @license GPL-2.0+
* @link https://robincornett.com
* @copyright 2014-2019 Robin Cornett Creative, LLC
* @copyright 2014-2020 Robin Cornett Creative, LLC
*/
class Display_Featured_Image_Genesis_Post_Meta {
@@ -7,7 +7,7 @@
* @author Robin Cornett <hello@robincornett.com>
* @license GPL-2.0+
* @link https://robincornett.com
* @copyright 2014-2017 Robin Cornett Creative, LLC
* @copyright 2014-2020 Robin Cornett Creative, LLC
*
* @since 2.0.0
*/
@@ -4,7 +4,7 @@
* @author Robin Cornett <hello@robincornett.com>
* @license GPL-2.0+
* @link https://robincornett.com
* @copyright 2014-2017 Robin Cornett Creative, LLC
* @copyright 2014-2020 Robin Cornett Creative, LLC
*/
class Display_Featured_Image_Genesis_Description {
@@ -4,7 +4,7 @@
* @author Robin Cornett <hello@robincornett.com>
* @license GPL-2.0+
* @link https://robincornett.com
* @copyright 2014-2019 Robin Cornett Creative, LLC
* @copyright 2014-2020 Robin Cornett Creative, LLC
*/
class Display_Featured_Image_Genesis_Output {
@@ -4,7 +4,7 @@
* @author Robin Cornett <hello@robincornett.com>
* @license GPL-2.0+
* @link https://robincornett.com
* @copyright 2014-2017 Robin Cornett Creative, LLC
* @copyright 2014-2020 Robin Cornett Creative, LLC
*/
class Display_Featured_Image_Genesis_RSS {
@@ -4,7 +4,7 @@
* Class to add customizer settings.
* Class Display_Featured_Image_Genesis_Customizer
* @package Display_Featured_Image_Genesis
* @copyright 2016 Robin Cornett
* @copyright 2016-2020 Robin Cornett
*/
class Display_Featured_Image_Genesis_Customizer extends Display_Featured_Image_Genesis_Settings {
@@ -52,13 +52,16 @@ class Display_Featured_Image_Genesis_Customizer extends Display_Featured_Image_G
if ( ! $this->setting ) {
add_option( 'displayfeaturedimagegenesis', $this->defaults );
}
$wp_customize->add_panel( $this->section, array(
'priority' => 90,
'capability' => 'edit_theme_options',
'theme_supports' => '',
'title' => __( 'Display Featured Image for Genesis', 'display-featured-image-genesis' ),
'description' => __( 'Only general settings are available in the Customizer; more can be found on the Display Featured Image for Genesis settings page.', 'display-featured-image-genesis' ),
) );
$wp_customize->add_panel(
$this->section,
array(
'priority' => 90,
'capability' => 'edit_theme_options',
'theme_supports' => '',
'title' => __( 'Display Featured Image for Genesis', 'display-featured-image-genesis' ),
'description' => __( 'Only general settings are available in the Customizer; more can be found on the Display Featured Image for Genesis settings page.', 'display-featured-image-genesis' ),
)
);
$sections = array(
array(
@@ -84,11 +87,14 @@ class Display_Featured_Image_Genesis_Customizer extends Display_Featured_Image_G
),
);
foreach ( $sections as $section ) {
$wp_customize->add_section( $this->section . '_' . $section['id'], array(
'title' => $section['title'],
'panel' => $this->section,
'description' => isset( $section['description'] ) ? $section['description'] : '',
) );
$wp_customize->add_section(
$this->section . '_' . $section['id'],
array(
'title' => $section['title'],
'panel' => $this->section,
'description' => isset( $section['description'] ) ? $section['description'] : '',
)
);
$this->add_section_controls( $wp_customize, $section['fields'], $this->section . '_' . $section['id'] );
}
@@ -3,7 +3,7 @@
/**
* Class DisplayFeaturedImageGenesisDoSetting
* @package Display_Featured_Image_Genesis
* @copyright 2016 Robin Cornett
* @copyright 2016-2020 Robin Cornett
*/
class DisplayFeaturedImageGenesisGetSetting {
@@ -3,7 +3,7 @@
/**
* Class Display_Featured_Image_Genesis_Helper
* @package DisplayFeaturedImageGenesis
* @copyright 2017 Robin Cornett
* @copyright 2017-2020 Robin Cornett
*/
class Display_Featured_Image_Genesis_Helper extends DisplayFeaturedImageGenesisGetSetting {
@@ -4,7 +4,7 @@
* Set up the help tabs for the Display Featured Image Genesis Settings page.
* Class Display_Featured_Image_Genesis_HelpTabs
* @package DisplayFeaturedImageGenesis
* @copyright 2016 Robin Cornett
* @copyright 2016-2020 Robin Cornett
*/
class Display_Featured_Image_Genesis_HelpTabs extends Display_Featured_Image_Genesis_Helper {
@@ -4,7 +4,7 @@
* @author Robin Cornett <hello@robincornett.com>
* @license GPL-2.0+
* @link https://robincornett.com
* @copyright 2017 Robin Cornett Creative, LLC
* @copyright 2017-2020 Robin Cornett Creative, LLC
*/
class Display_Featured_Image_Genesis_Settings_Validate {
@@ -3,7 +3,7 @@
/**
* Class Display_Featured_Image_Genesis_Settings
* @package DisplayFeaturedImageGenesis
* @copyright 2017 Robin Cornett
* @copyright 2017-2020 Robin Cornett
*/
class Display_Featured_Image_Genesis_Settings extends Display_Featured_Image_Genesis_Helper {
@@ -6,7 +6,7 @@
* @author Robin Cornett <hello@robincornett.com>
* @license GPL-2.0+
* @link https://robincornett.com
* @copyright 2014-2017 Robin Cornett Creative, LLC
* @copyright 2014-2020 Robin Cornett Creative, LLC
*/
class Display_Featured_Image_Genesis_Author_Widget extends WP_Widget {
@@ -5,7 +5,7 @@
* @package DisplayFeaturedImageGenesis
* @author Robin Cornett <hello@robincornett.com>
* @link https://robincornett.com
* @copyright 2014-2017 Robin Cornett Creative, LLC
* @copyright 2014-2020 Robin Cornett Creative, LLC
* @license GPL-2.0+
* @since 2.0.0
*/
@@ -6,7 +6,7 @@
* @author Robin Cornett <hello@robincornett.com>
* @license GPL-2.0+
* @link https://robincornett.com
* @copyright 2014-2017 Robin Cornett Creative, LLC
* @copyright 2014-2020 Robin Cornett Creative, LLC
* @since 2.0.0
*/