Skip to content

Commit

Permalink
Version 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gyrus committed Jun 14, 2015
1 parent 94443af commit c1fcda9
Show file tree
Hide file tree
Showing 13 changed files with 72 additions and 72 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
@@ -1,10 +1,10 @@
# Changelog for Pilau Base

## 0.3 (????-??-??)
## 2.1 (2015-06-14)
* Support for `<picture>` element art direction in `pilau_responsive_image()`

## 0.2 (2015-05-13)
## 2.0 (2015-05-13)
* First version with changelog, ahem

## 0.1
## 1.0
* First version
2 changes: 1 addition & 1 deletion functions.php
Expand Up @@ -14,7 +14,7 @@
* the child depends on.
*
* @package Pilau_Base
* @since 0.2
* @since 2.0
*
*/

Expand Down
14 changes: 7 additions & 7 deletions inc/admin-interface.php
Expand Up @@ -4,7 +4,7 @@
* Admin interface customization
*
* @package Pilau_Base
* @since 0.2
* @since 2.0
* @todo Selectively remove post category / link category options on options-writing.php
*/

Expand All @@ -13,7 +13,7 @@
/**
* Remove meta boxes
*
* @since Pilau_Base 0.2
* @since Pilau_Base 2.0
*/
function pilau_base_remove_meta_boxes() {

Expand All @@ -35,7 +35,7 @@ function pilau_base_remove_meta_boxes() {
* For the most part these should be handled by the Codepress Admin Columns plugin.
* Include any necessary overrides here.
*
* @since Pilau_Base 0.2
* @since Pilau_Base 2.0
*/
function pilau_base_customize_list_columns() {
add_filter( 'manage_edit-post_columns', 'pilau_base_admin_columns', 10000, 1 );
Expand All @@ -48,7 +48,7 @@ function pilau_base_customize_list_columns() {
/**
* Global handler for all post type columns
*
* @since Pilau_Base 0.2
* @since Pilau_Base 2.0
*
* @param array $cols
* @return array
Expand All @@ -74,7 +74,7 @@ function pilau_base_admin_columns( $cols ) {
/**
* Disable default dashboard widgets
*
* @since Pilau_Base 0.2
* @since Pilau_Base 2.0
* @link http://codex.wordpress.org/Dashboard_Widgets_API
*/
function pilau_base_disable_default_dashboard_widgets() {
Expand All @@ -94,7 +94,7 @@ function pilau_base_disable_default_dashboard_widgets() {
*
* Gets the current tab from $_GET['tab']; defaults to the first tab supplied
*
* @since Pilau_Base 0.2
* @since Pilau_Base 2.0
* @param array $tabs In the format:
* <code>array( 'slug1' => 'Title 1', 'slug2' => 'Title 2' )</code>
* @param string $base_url Base URL for admin screen
Expand All @@ -114,7 +114,7 @@ function pilau_admin_tabs( $tabs, $base_url ) {
/**
* Get the current tab in an admin screen
*
* @since Pilau_Base 0.2
* @since Pilau_Base 2.0
* @param array $tabs In the format:
* <code>array( 'slug1' => 'Title 1', 'slug2' => 'Title 2' )</code>
* @return string
Expand Down
12 changes: 6 additions & 6 deletions inc/admin.php
Expand Up @@ -4,7 +4,7 @@
* General admin stuff
*
* @package Pilau_Base
* @since 0.2
* @since 2.0
*/


Expand All @@ -13,7 +13,7 @@
/**
* Admin interface customization
*
* @since Pilau_Base 0.2
* @since Pilau_Base 2.0
*/
require( dirname( __FILE__ ) . '/admin-interface.php' );

Expand All @@ -22,7 +22,7 @@
/**
* Admin initialization
*
* @since Pilau_Base 0.2
* @since Pilau_Base 2.0
*/
function pilau_base_admin_init() {

Expand All @@ -34,7 +34,7 @@ function pilau_base_admin_init() {
/**
* Limit length of slugs
*
* @since Pilau_Base 0.2
* @since Pilau_Base 2.0
*/
function pilau_slug_length( $slug ) {
$maxwords = PILAU_SLUG_LENGTH;
Expand All @@ -53,7 +53,7 @@ function pilau_slug_length( $slug ) {
/**
* Ignore updates for inactive plugins
*
* @since Pilau_Base 0.2
* @since Pilau_Base 2.0
* @link http://bloke.org/wordpress/remove-plugin-update-notice-only-for-inactive-plugins/
*/
function pilau_update_active_plugins( $value = '' ) {
Expand Down Expand Up @@ -95,7 +95,7 @@ function pilau_update_active_plugins( $value = '' ) {
/**
* A workaround to fix the Dynamic Widgets lists of CPTs
*
* @since Pilau_Base 0.2
* @since Pilau_Base 2.0
*/
function pilau_dynwid_cpt_fix( $query ) {
if ( isset( $_GET['page'] ) && $_GET['page'] == 'dynwid-config' && isset( $_GET['action'] ) && $_GET['action'] == 'edit' ) {
Expand Down
10 changes: 5 additions & 5 deletions inc/content.php
Expand Up @@ -4,15 +4,15 @@
* Content functionality
*
* @package Pilau_Base
* @since 0.2
* @since 2.0
*/


if ( ! function_exists( 'pilau_content' ) ) {
/**
* Custom handling of content output
*
* @since Pilau_Base 0.2
* @since Pilau_Base 2.0
* @uses get_the_content()
* @uses pilau_extract()
* @uses get_the_excerpt()
Expand Down Expand Up @@ -80,7 +80,7 @@ function pilau_content( $content = null, $action = "extract", $strip_imgs = true
* If there's a description set by Yoast SEO or Developer's Custom Fields, returns
* that; otherwise, returns a content extract. Content is always tidied up, i.e. no HTML tags.
*
* @since Pilau_Base 0.2
* @since Pilau_Base 2.0
* @uses slt_cf_field_value()
* @uses get_post()
* @uses pilau_extract()
Expand Down Expand Up @@ -122,7 +122,7 @@ function pilau_description_or_extract( $post_id, $description = '', $post_conten
/**
* "Not found" fragment
*
* @since Pilau_Base 0.2
* @since Pilau_Base 2.0
*
* @param string $title
* @return void
Expand All @@ -149,7 +149,7 @@ function pilau_not_found( $title = null ) {
*
* To be hooked as a filter onto wp_title when needed.
*
* @since Pilau_Base 0.2
* @since Pilau_Base 2.0
*
* @param string $title
* @param string $sep
Expand Down
6 changes: 3 additions & 3 deletions inc/gravity-forms.php
Expand Up @@ -4,14 +4,14 @@
* Gravity Forms
*
* @package Pilau_Base
* @since 0.2
* @since 2.0
*/


/**
* Return a field from a form object, based on a field meta value
*
* @since 0.2
* @since 2.0
* @param array $form
* @param string $field_meta_key
* @param string $field_meta_value
Expand Down Expand Up @@ -62,7 +62,7 @@ function pilau_gf_get_field( $form, $field_meta_key, $field_meta_value, $checked
/**
* Return a value from a submitted form / entry combination
*
* @since 0.2
* @since 2.0
* @param array $form
* @param array $entry
* @param string $label Label of field
Expand Down

0 comments on commit c1fcda9

Please sign in to comment.