Skip to content

Commit

Permalink
2.3.16
Browse files Browse the repository at this point in the history
  • Loading branch information
cdukes committed Aug 19, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent a974dd0 commit d4a6490
Showing 5 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
@@ -202,6 +202,6 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-notify');

grunt.registerTask('default', ['clean', 'sass', 'grunticon', 'concat', 'imagemin', 'autoprefixer', 'watch']);
grunt.registerTask('build', ['clean', 'csscomb', 'sass', 'csslint', 'grunticon', 'jshint', 'concat', 'uglify', 'imagemin', 'autoprefixer', 'csso']);
grunt.registerTask('build', ['clean', 'csscomb', 'sass', 'grunticon', 'jshint', 'concat', 'uglify', 'imagemin', 'autoprefixer', 'csso']);

};
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -127,6 +127,12 @@ grunt
- Disable some or all of the default Genesis theme option meta boxes (template, some disabled by default)

## Changelog
### 2.3.16 (August 19, 2015)
- Remove `csslint` from `grunt build`
- Autofocus password input on single post page
- Disable `bfg_hard_space_expressions`
- `@extend %type;` on more elements

### 2.3.15 (August 10, 2015)
- Report the number of cron tasks in queue on the admin bar (disabled by default)
- Make `404.php` translation-ready
5 changes: 3 additions & 2 deletions includes/structure/post.php
Original file line number Diff line number Diff line change
@@ -140,7 +140,8 @@ function bfg_password_form( $post = 0 ) {
$post = get_post( $post );
$label = 'pwbox-' . ( empty($post->ID) ? rand() : $post->ID );
$output = '<form action="' . esc_url( site_url( 'wp-login.php?action=postpass', 'login_post' ) ) . '" class="post-password-form" method="post">';
$output .= '<input name="post_password" id="' . $label . '" type="password" size="20" placeholder="' . __( 'Password', CHILD_THEME_TEXT_DOMAIN ) . '">';
$autofocus = is_singular() ? 'autofocus' : '';
$output .= '<input name="post_password" id="' . $label . '" type="password" size="20" placeholder="' . __( 'Password', CHILD_THEME_TEXT_DOMAIN ) . '" ' . $autofocus . '>';
$output .= '<input type="submit" name="' . __( 'Submit', CHILD_THEME_TEXT_DOMAIN ) . '" value="' . esc_attr__( 'Submit' ) . '">';
$output .= '</form>';

@@ -188,7 +189,7 @@ function bfg_letterspace_abbreviations( $content ) {

}

add_filter( 'the_content', 'bfg_hard_space_expressions' );
// add_filter( 'the_content', 'bfg_hard_space_expressions' );
/*
* Link short numerical and mathematical expressions with hard spaces
*
1 change: 1 addition & 0 deletions sass/_content.scss
Original file line number Diff line number Diff line change
@@ -61,6 +61,7 @@
}

.entry-pagination {
@extend %type;
}

.entry-meta {
1 change: 1 addition & 0 deletions sass/_objects-and-images.scss
Original file line number Diff line number Diff line change
@@ -66,6 +66,7 @@ img.alignright,
}

.wp-caption-text {
@extend %type;
margin: 0;
text-align: center;
}

0 comments on commit d4a6490

Please sign in to comment.