Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flint 1.5.0 #213

Merged
merged 127 commits into from
Oct 13, 2015
Merged

Flint 1.5.0 #213

merged 127 commits into from
Oct 13, 2015

Conversation

mbeall
Copy link
Member

@mbeall mbeall commented Sep 5, 2015

Overview

The goals for this update were:

  • Prepare Flint for Matchstix
    • Add Travis-CI support
    • Add npm support
    • Add grunt support
    • Classes inventory
    • Functions inventory (check out http://wp.me/p4iQ3w-vF)
  • Improve comments
  • Improve inline code documentation
  • Improve translation support
  • Improve security
  • Improve code quality
  • Testing: All tests run with and without Steel
    • Flint 1.4
    • Aspen Grove
    • Candlelight
    • Canvas
    • Freshly Cut
    • Leather
    • MBMe
    • Pistons
    • Trinity

Prepare Flint for Matchstix

Classes inventory

All classes were moved from inside another file to its own file in the inc directory. They were also renamed in the process.
Deprecated classes will NOT be ported to Matchstix or included in Flint 2.0.

New Class / New Location (./inc/*) Old Class / Old Location (./inc/*)
Flint_Customize_Control_Textarea / class-customize-control-textarea.php Flint_Customize_TextArea_Control / customizer.php
Flint_Walker_Comment / class-walker-comment.php n/a
Flint_Walker_Nav_Menu_Navbar / class-walker-nav-menu-navbar.php Flint_Bootstrap_Menu / class-flint-bootstrap-menu.php

New functions

  • flint_color_darken
  • flint_color_hex
  • flint_color_hsl
  • flint_color_lighten
  • flint_deprecated_parameter
  • flint_edit_comment_link
  • flint_get_the_post_thumbnail
  • flint_options
  • flint_options_colors
  • flint_options_defaults
  • flint_post_margin
  • flint_post_width
  • flint_post_width_class

Deprecated functions

Some functions were deprecated; they will trigger an error message and return the replacement function. Deprecated functions will NOT be ported to Matchstix or included in Flint 2.0.

Deprecated Function Replacement Function(s)
flint_admin_header_image none, use Customizer instead
flint_admin_header_style none, use Customizer instead
flint_avatar get_the_avatar
flint_comment none, use Flint_Walker_Comment
flint_darken flint_color_darken
flint_header_style none, use Customizer instead
flint_get_colors flint_options_colors
flint_get_option_defaults flint_options_defaults
flint_get_options flint_options
flint_get_sidebar_template flint_post_width, flint_post_width_class, and flint_post_margin
flint_get_spacer flint_post_margin
flint_get_template flint_post_width, flint_post_width_class, and flint_post_margin
flint_hex_hsl flint_color_hsl
flint_hsl_hex flint_color_hex
flint_lighten flint_color_lighten

Comments

We did a major overhaul with comments:

  • Simplified code and layout
  • Better display on small devices
  • Better nesting (Wide template only)
  • Better media display
Flint 1.4 Flint 1.5
xs-old xs-new
nested-old nested-new
media-old media-new

@mbeall mbeall changed the title flint x.x.x Flint 1.5.0 Sep 13, 2015
mbeall added a commit that referenced this pull request Oct 13, 2015
@mbeall mbeall merged commit 3bbd13a into master Oct 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant