1.3 - May 8, 2015

Compatibility: WordPress 4.1+

------------------------------------------------------------------------------
List of changes between vignette v1.2 (rev. 8583) and v1.3 (rev. 10544)
------------------------------------------------------------------------------
* ADDED: Introduced ci_count_wp_gallery_images() to count the number in native WP galleries.
M panel/generic.php
* FIXED: element's datetime property now shows the correct date format.
M image.php
M index.php
M search.php
M single.php
* FIXED: Added the Post Thumbnail size in the dropdown of available image sizes in the Media Manager.
M panel/media_manager.php
* ADDED: Made ci_has_image_to_show() filterable through 'ci_has_image_to_show' filter.
M panel/snippets/featured_image_single.php
* FIXED: Added a translators comment to a gettext call to assist translation.
M panel/ci_panel.php
* ADDED: Added support for the WordPress title-tag feature. Themes can still use the old titles functionality, and back-compat support of the feature exists for WP < v4.1. NOTE: Themes must NOT include a <title> tag in header.php.
M panel/snippets/seo.php
* REMOVED: <title> tag from header.php as title functionality is now handled from /panel/snippets/seo.php
* FIXED: Standardised charset declaration with bloginfo('charset'). Removed other hardcoded meta http-equiv or charset declarations.
M header.php
* Wrapped options in excerpt snippet with fieldsets with IDs, so that they can be targeted and get hidden.
M panel/snippets/excerpt.php
* FIXED: Solidified handling of unset panel's options. New options introduced will now use the defaults as they should, instead of throwing notices.
M panel/bootstrap.php
M panel/ci_panel.php
* Made the experimental customizer code not load by default, as a lot have changed since our last attempt for compatibility.
* Formatted bootstrap.php a bit.
M panel/bootstrap.php
* FIXED: Changed ci_inflect() so that the $many parameter is returned in any case except when $num is 0 or 1.
M panel/generic.php
* FIXED: Proper translation / handling of the "%d results found." message in search results.
M search.php
* FIXED: Added wp_enqueue_media() call before ci_enqueue_media_manager_scripts().
M functions/post_types.php
* FIXED: Change code a bit and reformatted snippet excerpt.php to be more readable.
* FIXED: Made ci_change_read_more() which filters 'the_content_more_link' a bit more robust.
M panel/snippets/excerpt.php
* ADDED: Added 'ci_panel_option_show_site_slogan' filter to enable/disable the Show Site Slogan (description) option in the panel. Filter should return false when the ci_e_slogan() function is now used in the theme.
M panel/snippets/logo.php
* Added meta generator tag. Ca be enabled/disabled by the panel, 'ci_show_generator_tag' filter, and is hidden on whitelabel.
M panel/generic.php
M panel/snippets/site_other.php
* FIXED: Improved taxonomies' labels.
* FIXED: Taxonomies' slugs are now translatable (i.e. changeable via language files).
M functions/post_types.php
* ADDED: components via bower
M panel/.bowerrc
A panel/components
A panel/components/fontawesome
A panel/components/fontawesome/.bower.json
A panel/components/fontawesome/.npmignore
A panel/components/fontawesome/css
A panel/components/fontawesome/css/font-awesome.css
A panel/components/fontawesome/css/font-awesome.css.map
A panel/components/fontawesome/css/font-awesome.min.css
A panel/components/fontawesome/fonts
A panel/components/fontawesome/fonts/FontAwesome.otf
A panel/components/fontawesome/fonts/fontawesome-webfont.eot
A panel/components/fontawesome/fonts/fontawesome-webfont.svg
A panel/components/fontawesome/fonts/fontawesome-webfont.ttf
A panel/components/fontawesome/fonts/fontawesome-webfont.woff
A panel/components/fontawesome/fonts/fontawesome-webfont.woff2
A panel/components/fontawesome/less
A panel/components/fontawesome/less/animated.less
A panel/components/fontawesome/less/bordered-pulled.less
A panel/components/fontawesome/less/core.less
A panel/components/fontawesome/less/fixed-width.less
A panel/components/fontawesome/less/font-awesome.less
A panel/components/fontawesome/less/icons.less
A panel/components/fontawesome/less/larger.less
A panel/components/fontawesome/less/list.less
A panel/components/fontawesome/less/mixins.less
A panel/components/fontawesome/less/path.less
A panel/components/fontawesome/less/rotated-flipped.less
A panel/components/fontawesome/less/stacked.less
A panel/components/fontawesome/less/variables.less
A panel/components/fontawesome/scss
A panel/components/fontawesome/scss/_animated.scss
A panel/components/fontawesome/scss/_bordered-pulled.scss
A panel/components/fontawesome/scss/_core.scss
A panel/components/fontawesome/scss/_fixed-width.scss
A panel/components/fontawesome/scss/_icons.scss
A panel/components/fontawesome/scss/_larger.scss
A panel/components/fontawesome/scss/_list.scss
A panel/components/fontawesome/scss/_mixins.scss
A panel/components/fontawesome/scss/_path.scss
A panel/components/fontawesome/scss/_rotated-flipped.scss
A panel/components/fontawesome/scss/_stacked.scss
A panel/components/fontawesome/scss/_variables.scss
A panel/components/fontawesome/scss/font-awesome.scss
A panel/components/retinajs
A panel/components/retinajs/.bower.json
A panel/components/retinajs/Gruntfile.js
A panel/components/retinajs/LICENSE
A panel/components/retinajs/README.md
A panel/components/retinajs/bower.json
A panel/components/retinajs/dist
A panel/components/retinajs/dist/retina-1.3.0.zip
A panel/components/retinajs/dist/retina.js
A panel/components/retinajs/dist/retina.min.js
A panel/components/retinajs/package.json
A panel/components/retinajs/src
A panel/components/retinajs/src/_retina.sass
A panel/components/retinajs/src/_retina.scss
A panel/components/retinajs/src/retina.js
A panel/components/retinajs/src/retina.less
* FIXED: Improved html attributes sanitization in panel.
* REMOVED: Script handle 'ci-colorpicker'. The native WP colorpicker is now used, where applicable.
* DELETED: 'ci-colorpicker' related files from /panel/scripts/colorpicker
* CHANGED: 'retinajs' script handle now loads from panel/components/retinajs/
* DELETED: panel/scripts/retina.1.3.0.min.js file as it now lives inside the panel/components/retinajs/ folder.
M panel/ci_panel.php
D panel/scripts/colorpicker
D panel/scripts/retina.1.3.0.min.js
* CHANGED: Replaced fontawesome font with the pre-registered 'font-awesome' panel version v4.3.0
* DELETED: Deleted old fontawesome files.
D css/font-awesome.css
D fonts
M functions/styles.php
* UPDATED: Updated TGM plugin activation. Although the version number hasn’t change, the github repository had changes that fixed some incompatibilities when multiple copies of TGM were loaded by themes/plugins.
M panel/libraries/class-tgm-plugin-activation.php
* FIXED: Added a description for the Meta Generator option, so the user can take a better informed decision.
M panel/snippets/site_other.php
* FIXED: ci_human_time_diff() never showed month strings if date diff was greater than 30 days. Also made code a bit more readable.
M panel/generic.php
* ADDED: Support for metabox tabs. Introduced: ci_metabox_open_tab() and ci_metabox_close_tab(). They require to be wrapped in a div.ci-cf-wrap
* ADDED: Panel file post-edit-screens.js with handle 'ci-panel-post-edit-screens' now loads on all post edit screens.
M panel/ci_panel.php
M panel/panel.css
M panel/post_meta.php
A panel/scripts/post-edit-screens.js
M panel/styles/post-edit-screens.css
* ADDED: Introduced ci_metabox_guide()
M panel/post_meta.php
* ADDED: Term meta API
M panel/bootstrap.php
A panel/term_meta_api.php (from /themes/tabloid/wp_tabloid5/functions/term_meta_api.php:9598)
* Moved development functions inside panel/generic.php
* Deleted panel/development.php and related references.
M panel/bootstrap.php
M panel/development.php
M panel/generic.php
* Acutally deletion of development.php
D panel/development.php
* ADDED: Introduced panel/default_hooks.php for actions/filters affecting core WP functionality.
* ADDED: Made the native Category and Archive widgets wrap their post counts into a span.ci-count, however due to the lack of appropriate filters, the get_archives_link() and wp_list_categories() functions are filtered instead.
M panel/bootstrap.php
A panel/default_hooks.php
* FIXED: When the theme title is selected under the SEO panel options and the site description is empty, a separator is outputted unnecessarily.
M panel/snippets/seo.php
* Fixed an undefined variable error caused by the previous commit.
M panel/snippets/seo.php
* Fixed an issue where the title separator would appear in the front of the page title, caused by the previous fix.
M panel/snippets/seo.php
* ADDED: Introduced array_insert() to insert array elements into a specific position.
M panel/generic.php
* FIXED: Improved behaviour of ci_e_content() in certain cases.
M panel/generic.php
* FIXED: Updated CI_Panel_Walker_Category_Checklist walker class to be up to par with the core Walker_Category_Checklist.
M panel/ci_panel.php
* Fixed checkboxes styling in panel
M panel/panel.css
* FIXED: Made custom post type slugs (and archive slugs if applicable) translatable. Users can now change the default slugs by “translating” them into english, and also translate them for other languages.
M functions/post_types/gallery.php
M functions/post_types/testimonial.php
* CHANGED: Panel Show “Comments are closed” message option is now unchecked by default. Existing installations are not affected.
M panel/snippets/comments.php
* FIXED: Moved a couple of add_action() calls outside their related if( !function_exists() ) functions’ checks.
M panel/localization.php
* UPDATED: TGM-Plugin-Activation library to v2.4.1 develop branch, as it deals with an XSS vulnerability that could be caused by not escaping urls that made use of the add_query_arg() and remove_query_arg() functions.
M panel/libraries/class-tgm-plugin-activation.php
* FIXED: Removed CSSIgniter link from default footer text.
M functions/template_hooks.php
* ADDED: Added panel Google Maps API options snippet.
M panel/scripts/post-edit-screens.js
A panel/snippets/google_maps_api.php (from /resources/ci_panel/snippets/google_analytics.php:10309)
* FIXED: ci_title() would return duplicate information, as the output of wp_title() now includes the site name and description, depending on context.
M panel/snippets/seo.php
* Updated lang files.
* Changed version to 1.3
M lang/en_US.mo
M lang/en_US.po
M style.css
M style.scss