Making WordPress.org


Ignore:
Timestamp:
04/26/2018 10:18:32 PM (7 years ago)
Author:
iandunn
Message:

WordCamp Coming Soon Page: Apply coding standards.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-coming-soon-page/classes/wccsp-settings.php

    r5603 r7173  
    1212
    1313    /**
    14      * Constructor
     14     * Constructor.
    1515     */
    1616    public function __construct() {
     
    2828
    2929    /**
    30      * Retrieves all of the settings from the database
     30     * Retrieves all of the settings from the database.
    3131     *
    3232     * @return array
     
    3434    public function get_settings() {
    3535        $defaults = array(
    36             'enabled'                    => 'off',        // so that sites created before the plugin was deployed won't display the home page when the plugin is activated
     36            'enabled'                    => 'off',        // So that sites created before the plugin was deployed won't display the home page when the plugin is activated.
    3737            'body_background_color'      => '#0073AA',
    3838            'image_id'                   => 0,
    3939            'background_id'              => 0,
    40             'container_background_color' => '#FFFFFF', // deprecated
    41             'text_color'                 => '#000000', // deprecated
     40            'container_background_color' => '#FFFFFF', // Deprecated.
     41            'text_color'                 => '#000000', // Deprecated.
    4242            'introduction'               => '',
    4343        );
     
    5252
    5353    /**
    54      * Add a link to the Settings menu
     54     * Add a link to the Settings menu.
    5555     *
    5656     * Even though this lives in the Customizer, having a link in the regular admin menus helps with
     
    7676
    7777    /**
    78      * Clear the static page cache
     78     * Clear the static page cache.
     79     *
    7980     * Changing the settings will change the how the page looks, so the cache needs to be refreshed.
    8081     */
Note: See TracChangeset for help on using the changeset viewer.