/*
Theme Name: BELC Theme
Description: A Multipurpose Business Wordpress Theme.

Theme URI: https://belc.school.nz

Version: 1.1.6
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

*/

/*
Changelog
1.1.5 (PHP 8 compatibility)
- PHP 8: Added is_array() guard for $brad_data after get_option() in functions.php; prevents array-offset-on-null warnings when akal_options is uninitialised.
- PHP 8: Replaced direct $brad_data[font_X][font-type] == true comparisons with !empty() throughout the Google Fonts block in functions.php (14 font groups).
- PHP 8: Added ?? '' null-coalescing fallback to all $google_fonts[] assignments and the footer_columns sidebar registration.
- PHP 8: Applied ?? '' guards to all $instance[key] reads in widget() and form() methods across all 7 framework/widgets/ files: banner_125_widget, embed_video, facebook_widget, flickr_widget, portfolios_widget, recent_posts, twitter_widget.
- No functional changes; site behaviour is identical. Warning log output on PHP 8.0+ eliminated.
1.1.4 (security maintenance)
- SECURITY: Removed unauthenticated shortcode-execution endpoints (tinymce/preview.php, popup.php, get_wp.php, shortcodes.class.php). These ran do_shortcode() on unauthenticated input and were the file-write/RCE vector behind the 404.php tampering.
- SECURITY: Removed bundled 2016 Slider Revolution and WPBakery/Visual Composer zips and their required-install registration. Install current licensed versions if needed.
- Disabled the classic-editor TinyMCE shortcode-inserter button (its popup endpoints were removed). Front-end shortcodes are unaffected.
- Removed the theme's built-in contact form path (brad_send_mail handler + AJAX hooks + sanitizer, contactNonce localize, contact-form JS). Site uses Contact Form 7; theme form was unused.
- NOTE: PHP 8.x compatibility not yet addressed in this release. Test on PHP 7.x as-is; PHP 8.3 pass to follow.
- DEFERRED to next pass: Visual Composer "Contact Form" element registration (now inert) and the two unused "Contact Form Email" theme-options fields.
*/


.wp-caption-text,
.sticky,
.gallery-caption,
.bypostauthor {}


.rev_slider_wrapper {
	max-width: 1150px;
}
