Plugin Directory

Changeset 2315767


Ignore:
Timestamp:
06/01/2020 10:59:23 AM (6 years ago)
Author:
tommasomeli
Message:

rm code warnings in fields - v 1.2

Location:
global-custom-fields
Files:
15 added
2 edited

Legend:

Unmodified
Added
Removed
  • global-custom-fields/trunk/js/scripts.js

    r2315713 r2315767  
    2323    // Codemirror editors init
    2424    $('.gcf-group-content[data-show="'+show+'"]:not(:has(.CodeMirror)) .codemirror-textarea').each(function() {
    25       // var cm_editor_settings = cm_settings.codeEditor.codemirror;
    26       wp.codeEditor.initialize($(this), cm_settings);
     25      var editorSettings = wp.codeEditor.defaultSettings;
     26      editorSettings.codemirror.lint = false;
     27      wp.codeEditor.initialize($(this), editorSettings);
    2728    });
    2829  });
  • global-custom-fields/trunk/readme.txt

    r2315713 r2315767  
    2525N.B. Use php "eval" only if you know what you're doing. Save php fields using pseudo tags `[php] ... [/php]`
    2626
     27For info and development suggestions write a mail to info@tommasomeli.it
     28
    2729== Installation ==
    2830
     
    31333. Set up the plugin from GCF Admin Page
    32344. Use `get_gcf()` php function or `[gcf]` shortcode to add GCF anywhere! (see more in the 'Description' section)
     35
     36For info and development suggestions write a mail to info@tommasomeli.it
    3337
    3438== Screenshots ==
     
    4145== Changelog ==
    4246
     47= 1.2 (2th June,2020) =
     48
     49* remove warnings from fields editor
     50
    4351= 1.1 (1th June,2020) =
    4452
Note: See TracChangeset for help on using the changeset viewer.