WordPress.org

Plugin Directory

Changeset 541964


Ignore:
Timestamp:
05/09/12 18:01:53 (2 years ago)
Author:
Omicron7
Message:

Deprecate the add-on

Location:
advanced-custom-fields-required-field-add-on/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • advanced-custom-fields-required-field-add-on/trunk/README.md

    r502748 r541964  
     1This Add-on has been Deprecated 
     2=============================== 
     3 
     4The functionality provided by this add-on is now included in [Advanced Custom Fields](http://wordpress.org/extend/plugins/advanced-custom-fields/). 
     5This plugin will no longer be maintained and it is recommended that everyone discontinue its use. 
     6 
    17Advanced Custom Fields - Required Field add-on 
    28============================================== 
  • advanced-custom-fields-required-field-add-on/trunk/readme.txt

    r502754 r541964  
    33Tags: acf, acf add-on, required, custom field, required field 
    44Requires at least: 3.0 
    5 Tested up to: 3.3.1 
    6 Stable tag: 1.0 
     5Tested up to: 3.3.2 
     6Stable tag: 1.0.1 
    77 
    8 Mark fields as Required in Advanced Custom Fields. A post can not be published with empty required fields. 
     8Deprecated. Mark fields as Required in Advanced Custom Fields. A post can not be published with empty required fields. 
    99 
    1010== Description == 
     11 
     12= This Add-on has been Deprecated = 
     13The functionality provided by this add-on is now included in [Advanced Custom Fields](http://wordpress.org/extend/plugins/advanced-custom-fields/). 
     14This plugin will no longer be maintained and it is recommended that everyone discontinue its use. 
    1115 
    1216This is an add-on for the [Advanced Custom Fields](http://wordpress.org/extend/plugins/advanced-custom-fields/) 
  • advanced-custom-fields-required-field-add-on/trunk/required-field.php

    r502748 r541964  
    33* Plugin Name: Advanced Custom Fields - Required Field add-on 
    44* Plugin URI:  https://github.com/GCX/acf-required-field 
    5 * Description: This plugin is an add-on for Advanced Custom Fields. It allows you to mark a field as required and if any required fields are empty, the post will not be published, but saved as draft. This plugin requires the Advanced Custom Fields plugin to installed and activated. 
     5* Description: DEPRECATED. The functionality provided by this plugin is included in Advanced Custom Fields.This plugin is an add-on for Advanced Custom Fields. It allows you to mark a field as required and if any required fields are empty, the post will not be published, but saved as draft. 
    66* Author:      Brian Zoetewey 
    77* Author URI:  https://github.com/GCX 
    8 * Version:     1.0 
     8* Version:     1.0.1 
    99* Text Domain: acf-required-field 
    1010* Domain Path: /languages/ 
     
    422422                $post_id, 
    423423                $field, 
    424                 ( array_key_exists( 'fields', $_POST ) && array_key_exists( $field[ 'key' ], $_POST[ 'fields' ] ) ) ? stripslashes( $_POST[ 'fields' ][ $field[ 'key' ] ] ) : '' 
     424                ( array_key_exists( 'fields', $_POST ) && array_key_exists( $field[ 'key' ], $_POST[ 'fields' ] ) ) ? stripslashes_deep( $_POST[ 'fields' ][ $field[ 'key' ] ] ) : '' 
    425425             ); 
    426426             
Note: See TracChangeset for help on using the changeset viewer.