Plugin Directory

Changeset 570808


Ignore:
Timestamp:
07/11/2012 06:57:52 PM (14 years ago)
Author:
stresslimit
Message:

update to 0.7.1, small js bug fix

Location:
custom-metadata
Files:
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • custom-metadata/tags/0.7.1/custom_metadata.php

    r490782 r570808  
    6868    var $_column_types = array( 'posts', 'pages', 'users', 'comments' );
    6969    // field types
    70     var $_field_types = array( 'text', 'textarea', 'password', 'checkbox', 'radio', 'select', 'upload', 'wysiwyg', 'datepicker', 'taxonomy_select', 'taxonomy_radio' );
     70    var $_field_types = array( 'text', 'textarea', 'password', 'checkbox', 'radio', 'select', 'upload', 'wysiwyg', 'editor', 'richtext', 'datepicker', 'taxonomy_select', 'taxonomy_radio' );
    7171    // field types that are cloneable
    7272    var $_cloneable_field_types = array( 'text', 'textarea', 'upload', 'password');
     
    935935                        <?php break; ?>
    936936
    937                         <?php case 'wysiwyg': ?>
     937                        <?php case 'wysiwyg': case 'editor': case 'richtext' ?>
    938938                            <?php
    939939                                $args = apply_filters('custom_metadata_manager_wysiwyg_args_field_'.$field_id, $this->default_editor_args, $field_slug, $field, $object_type, $object_id );
  • custom-metadata/tags/0.7.1/js/custom-metadata-manager.js

    r489744 r570808  
    3838        window.send_to_editor_clone = function(html){
    3939                file_url = jQuery('img',html).attr('src');
    40                 if (!file_url) { imgurl = jQuery(html).attr('href'); }
     40                if (!file_url) { file_url = jQuery(html).attr('href'); }
    4141                tb_remove();
    4242                jQuery('#'+formfield+' .upload_field').val(file_url);
  • custom-metadata/tags/0.7.1/readme.txt

    r490788 r570808  
    44Tags: custom metadata, custom metadata manager metadata, postmeta, post meta, user meta, custom post types, custom fields, metabox, metadata api, metadata
    55Requires at least: 3.3
    6 Tested up to: 3.4-alpha
    7 Stable tag: 0.7
     6Tested up to: 3.4.1
     7Stable tag: 0.7.1
    88
    99An easy way to add custom fields to your object types (post, pages, custom post types, users)
     
    5757
    5858== Changelog ==
     59
     60= 0.7.1 =
     61
     62* fix a bug where non-image file upload path doesn't get inserted into the input when clicking Insert into Post from the media manager
     63* add 'editor' and 'richtext' as synonyms of 'wysiwyg' field type
    5964
    6065= 0.7 =
     
    285290Stuff we have planned for the future:
    286291
     292* Ability to clone (multiple) groups of fields
    287293* Ability Pass in attributes for built-in fields (e.g. class, data-*, etc.)
    288294* Additional field types (multi-select, multi-checkbox)
  • custom-metadata/trunk/js/custom-metadata-manager.js

    r489744 r570808  
    3838        window.send_to_editor_clone = function(html){
    3939                file_url = jQuery('img',html).attr('src');
    40                 if (!file_url) { imgurl = jQuery(html).attr('href'); }
     40                if (!file_url) { file_url = jQuery(html).attr('href'); }
    4141                tb_remove();
    4242                jQuery('#'+formfield+' .upload_field').val(file_url);
  • custom-metadata/trunk/readme.txt

    r490788 r570808  
    44Tags: custom metadata, custom metadata manager metadata, postmeta, post meta, user meta, custom post types, custom fields, metabox, metadata api, metadata
    55Requires at least: 3.3
    6 Tested up to: 3.4-alpha
    7 Stable tag: 0.7
     6Tested up to: 3.4.1
     7Stable tag: 0.7.1
    88
    99An easy way to add custom fields to your object types (post, pages, custom post types, users)
     
    5757
    5858== Changelog ==
     59
     60= 0.7.1 =
     61
     62* fix a bug where non-image file upload path doesn't get inserted into the input when clicking Insert into Post from the media manager
     63* add 'editor' and 'richtext' as synonyms of 'wysiwyg' field type
    5964
    6065= 0.7 =
     
    285290Stuff we have planned for the future:
    286291
     292* Ability to clone (multiple) groups of fields
    287293* Ability Pass in attributes for built-in fields (e.g. class, data-*, etc.)
    288294* Additional field types (multi-select, multi-checkbox)
Note: See TracChangeset for help on using the changeset viewer.