Changeset 1533005
- Timestamp:
- 11/12/2016 06:14:29 PM (9 years ago)
- Location:
- coming-soon-for-genesis/trunk
- Files:
-
- 3 edited
-
inc/admin.php (modified) (2 diffs)
-
plugin.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
coming-soon-for-genesis/trunk/inc/admin.php
r1526511 r1533005 19 19 protected function get_field_id( $id ) { 20 20 return sprintf( '%s_%s', $this->settings_field, $id ); 21 } 22 23 24 //* HTML Editor for Meta Boxes 25 function gcs_html_editor( $content ) { 26 wp_editor( $content['text'], $content['id'], $content['args'] ); 21 27 } 22 28 … … 134 140 // Register Meta Boxes 135 141 function metaboxes() { 142 # Editor Fix to Include in Metabox 143 add_action( 'edit_form_advanced', array( $this, 'gcs_html_editor' ) ); 144 # Add Metaboxes 136 145 add_meta_box( 'genesis-coming-soon-general', __( 'General', 'coming-soon-for-genesis' ), array( $this, 'general_box' ), $this->pagehook, 'main', 'high' ); 137 146 add_meta_box( 'genesis-coming-soon-content', __( 'Content', 'coming-soon-for-genesis' ), array( $this, 'content_box' ), $this->pagehook, 'main', 'default' ); -
coming-soon-for-genesis/trunk/plugin.php
r1529052 r1533005 10 10 Domain Path: /languages 11 11 12 Version: 1.0. 112 Version: 1.0.2 13 13 14 14 License: GNU General Public License v3.0 … … 25 25 26 26 //* Define Constants 27 define( 'GCS_VERSION', '1.0. 0' );27 define( 'GCS_VERSION', '1.0.2' ); 28 28 define( 'GCS_SETTINGS', 'gcs-settings' ); 29 29 define( 'GCS_PLUGIN_DIR', dirname( __FILE__ ) ); … … 89 89 function gcs_setup_theme( $content ) { 90 90 add_theme_support( 'genesis-responsive-viewport' ); 91 }92 93 94 //* HTML Editor for Meta Boxes95 add_action( 'edit_form_advanced', 'gcs_html_editor' );96 function gcs_html_editor( $content ) {97 wp_editor( $content['text'], $content['id'], $content['args'] );98 91 } 99 92 -
coming-soon-for-genesis/trunk/readme.txt
r1529052 r1533005 4 4 Tags: genesis, genesiswp, studiopress, coming soon, coming soon page, construction, landing page, launch, launch page, maintenance, maintenance mode, offline, unavailable, under construction, under construction page 5 5 Requires at least: 4.4.2 6 Tested up to: 4.6 7 Stable tag: 1.0. 16 Tested up to: 4.6.1 7 Stable tag: 1.0.2 8 8 License: GPLv3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl.html … … 78 78 == Changelog == 79 79 80 = 1.0.2 = 81 * Fixed bug that had HTML conflicting in Edit Post page 82 80 83 = 1.0.1 = 81 84 * Fixed bug that hid background images if body had a background color in CSS
Note: See TracChangeset
for help on using the changeset viewer.