Plugin Directory

Changeset 3450347


Ignore:
Timestamp:
01/30/2026 10:49:43 AM (8 weeks ago)
Author:
blueglassinteractive
Message:

v 2.8.1

Location:
job-postings
Files:
553 added
4 edited

Legend:

Unmodified
Added
Removed
  • job-postings/trunk/admin/js/script.js

    r2447538 r3450347  
    832832                        break;
    833833
    834                         case "tinymce":
    835                             var editor_id = $(this).find('.jobs-row-input .wp-editor-area').attr('id');
    836 
    837                             //console.log('tinymce', tinymce, tinymce.editors);
    838                             if( tinymce != null ){
    839                                 var editor_content = tinymce.get(editor_id).getContent();
    840                                 var input = '';
    841                                 if( editor_content != '' ) input = 'content in';
    842                                 //console.log( label, editor_content );
    843                                 if(input){
    844                                     if( need == '1' ) {
    845                                         requireds.push( input );
    846                                     }else if( need == '2' ){
    847                                         recommendeds.push( input );
    848                                     }
    849                                     all.push( input );
    850                                 }
     834                    case "tinymce":
     835                        var editor_id = $(this).find('.jobs-row-input .wp-editor-area').attr('id');
     836                        var editor_content = '';
     837
     838                        //console.log('tinymce', tinymce, tinymce.editors);
     839                        // Check if TinyMCE is available and editor is initialized (Visual mode)
     840                        if( tinymce != null && tinymce.get(editor_id) != null ){
     841                            editor_content = tinymce.get(editor_id).getContent();
     842                        } else {
     843                            // Fallback to textarea value (Text/Code mode)
     844                            editor_content = $('#' + editor_id).val();
     845                        }
     846                       
     847                        var input = '';
     848                        if( editor_content != '' ) input = 'content in';
     849                        //console.log( label, editor_content );
     850                        if(input){
     851                            if( need == '1' ) {
     852                                requireds.push( input );
     853                            }else if( need == '2' ){
     854                                recommendeds.push( input );
    851855                            }
    852                         break;
     856                            all.push( input );
     857                        }
     858                    break;
    853859
    854860                        case "location":
  • job-postings/trunk/admin/settings.php

    r3317526 r3450347  
    12491249                                            echo '<select name="'.$option_name.'">';
    12501250                                                echo '<option value="default" '.selected($fs, 'default', false).'>'.__('Default', 'job-postings').'</option>';
     1251                                                $disabled = "";
    12511252                                                if( !class_exists('WPSEO_Admin') ){
    12521253                                                    $disabled = "disabled";
  • job-postings/trunk/job-postings.php

    r3449494 r3450347  
    55Description: WordPress plugin that make it easy to add job postings to your company’s website in a structured way.
    66Author: BlueGlass
    7 Version: 2.8
     7Version: 2.8.1
    88Author URI: http://blueglass.ch/
    99Text Domain: job-postings
     
    1717if( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    1818
    19 define('JOBPOSTINGSVERSION', '2.8');
     19define('JOBPOSTINGSVERSION', '2.8.1');
    2020define('JOBPOSTINGSPATH', plugin_dir_path( __FILE__ ));
    2121define('JOBPOSTINGSURL', plugin_dir_url(__FILE__));
  • job-postings/trunk/readme.txt

    r3449494 r3450347  
    44Requires at least: 5.0
    55Tested up to: 6.8
    6 Stable tag: 2.8
     6Stable tag: 2.8.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4242== Changelog ==
    4343
     44= 2.8.1 =
     45* Minor fixes
     46
    4447= 2.8 =
    4548* Added WCAG 2.2 accessibility support
Note: See TracChangeset for help on using the changeset viewer.