Changeset 7173 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-coming-soon-page/classes/wccsp-settings.php
- Timestamp:
- 04/26/2018 10:18:32 PM (7 years ago)
- 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 12 12 13 13 /** 14 * Constructor 14 * Constructor. 15 15 */ 16 16 public function __construct() { … … 28 28 29 29 /** 30 * Retrieves all of the settings from the database 30 * Retrieves all of the settings from the database. 31 31 * 32 32 * @return array … … 34 34 public function get_settings() { 35 35 $defaults = array( 36 'enabled' => 'off', // so that sites created before the plugin was deployed won't display the home page when the plugin is activated36 'enabled' => 'off', // So that sites created before the plugin was deployed won't display the home page when the plugin is activated. 37 37 'body_background_color' => '#0073AA', 38 38 'image_id' => 0, 39 39 'background_id' => 0, 40 'container_background_color' => '#FFFFFF', // deprecated41 'text_color' => '#000000', // deprecated40 'container_background_color' => '#FFFFFF', // Deprecated. 41 'text_color' => '#000000', // Deprecated. 42 42 'introduction' => '', 43 43 ); … … 52 52 53 53 /** 54 * Add a link to the Settings menu 54 * Add a link to the Settings menu. 55 55 * 56 56 * Even though this lives in the Customizer, having a link in the regular admin menus helps with … … 76 76 77 77 /** 78 * Clear the static page cache 78 * Clear the static page cache. 79 * 79 80 * Changing the settings will change the how the page looks, so the cache needs to be refreshed. 80 81 */
Note: See TracChangeset
for help on using the changeset viewer.