Skip to content

Commit

Permalink
2.3.41
Browse files Browse the repository at this point in the history
  • Loading branch information
cdukes committed Sep 25, 2016
1 parent 6587c2c commit f6735ce
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 40 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ grunt
- Disable some or all of the default Genesis theme option meta boxes (template, some disabled by default)

## Changelog
### 2.3.41 (September 25, 2016)
- Minor PHP spacing/style changes
- Remove `bfg_ie_font_face_fix()`

### 2.3.40 (September 7, 2016)
- Add PostCSS modules: `postcss-flexbugs-fixes`, `postcss-import`, `postcss-easings`
- Remove Grunt modules: `csslint`, `grunticon`, `stylelint`
Expand Down
3 changes: 1 addition & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
define( 'CHILD_THEME_TEXT_DOMAIN', 'bfg' );

// Developer Tools
require_once CHILD_DIR . '/includes/developer-tools.php'; // DO NOT USE THESE ON A LIVE SITE
require_once CHILD_DIR . '/includes/developer-tools.php';

// Genesis
require_once CHILD_DIR . '/includes/genesis.php'; // Customizations to Genesis-specific functions
Expand All @@ -37,4 +37,3 @@

// Shame
require_once CHILD_DIR . '/includes/shame.php'; // For new code snippets that haven't been sorted and commented yet

2 changes: 1 addition & 1 deletion includes/admin/admin-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function bfg_remove_xmlrpc_pingback_ping( $methods ) {

return $methods;

};
}

/*
* Disable XML-RPC
Expand Down
1 change: 0 additions & 1 deletion includes/shame.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?php

if( !defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

1 change: 0 additions & 1 deletion includes/structure/archive.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?php

if( !defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

1 change: 0 additions & 1 deletion includes/structure/comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@
* @since 2.0.16
*/
// remove_action( 'genesis_after_entry', 'genesis_get_comments_template' );

32 changes: 0 additions & 32 deletions includes/structure/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,35 +48,3 @@ function bfg_disable_pointer_events_on_scroll() {
echo preg_replace( '/\s+/', ' ', $output ) . "\n";

}

// add_action( 'wp_footer', 'bfg_ie_font_face_fix', 99 );
/**
* Forces the main stylesheet to reload on document ready for IE8 and below.
* This redraws any @font-face fonts, fixing the IE8 font loading bug.
*
* See: http://stackoverflow.com/questions/9809351/ie8-css-font-face-fonts-only-working-for-before-content-on-over-and-sometimes
*
* @since 2.0.13
*/
function bfg_ie_font_face_fix() {

ob_start();
?><!--[if lt IE 9]>
<script>
jQuery(document).ready(function($) {
var head = document.getElementsByTagName('head')[0],
style = document.createElement('style');
style.type = 'text/css';
style.styleSheet.cssText = ':before,:after{content:none !important;}';
head.appendChild(style);
setTimeout(function(){
head.removeChild(style);
}, 0);
});
</script>
<![endif]-->
<?php
$output = ob_get_clean();
echo preg_replace( '/\s+/', ' ', $output ) . "\n";

}
1 change: 0 additions & 1 deletion includes/structure/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,4 +231,3 @@ function bfg_load_favicons() {
*/
// remove_action( 'genesis_site_title', 'genesis_seo_site_title' );
// remove_action( 'genesis_site_description', 'genesis_seo_site_description' );

1 change: 0 additions & 1 deletion includes/structure/layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@
*/
// add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
// Other possible layouts: __genesis_return_content_sidebar, __genesis_return_sidebar_content, __genesis_return_content_sidebar_sidebar, __genesis_return_sidebar_sidebar_content, __genesis_return_sidebar_content_sidebar, __genesis_return_full_width_content

0 comments on commit f6735ce

Please sign in to comment.