Plugin Directory

Changeset 3354184


Ignore:
Timestamp:
09/01/2025 06:01:15 PM (7 months ago)
Author:
tmutstudio
Message:

Version 1.1.5

Location:
alternative-site-settings
Files:
76 added
3 edited

Legend:

Unmodified
Added
Removed
  • alternative-site-settings/trunk/altss.php

    r3330336 r3354184  
    44 * Plugin URI:  https://github.com/tmutstudio/alternative-site-settings
    55 * Description: Plugin for managing site settings, including feedback forms, photo gallery, reviews and contacts.
    6  * Version:     1.1.4
     6 * Version:     1.1.5
    77 * Author:      tmutarakan-dev
    88 * Author URI:  https://github.com/tmutstudio
     
    2525define( 'ALTSITESET_LANG_DIR' , ALTSITESET_DIR . "/languages" );
    2626
    27 define( 'ALTSITESET__VERSION', '1.1.3' );
     27define( 'ALTSITESET__VERSION', '1.1.5' );
    2828
    2929define( 'ALTSITESET_CFORMS_AMOUNT', 10 );
  • alternative-site-settings/trunk/includes/admin-plugin-functions.php

    r3309320 r3354184  
    22if ( ! defined( 'ABSPATH' ) ) exit;
    33
    4 function altss_add_editior_field( $textarea_name, $content='', $rows=20, $mode='full', $body_class='', $media_buttons = 1 ){
     4/**
     5 * Renders an editor field.
     6 * @param string $textarea_name TEXTAREA name attribute value for the textarea_name and editor_id.
     7 *                          May contain square brackets.
     8 * @param string $content   Initial content for the editor.
     9 * @param int  $rows  Number of rows in 'novisual' mode.
     10 * @param string  $mode Editor mode: full/minimal/novisual. 
     11 * @param string  $body_class  Editor area body class.
     12 * @param int  $media_buttons   Media Buttons. 
     13 * @param int  $height   Height for Editor field.
     14 */
     15function altss_add_editior_field( $textarea_name, $content='', $rows=20, $mode='full', $body_class='', $media_buttons = 1, $height = 0 ){
    516    $editor_id = preg_replace( "/[\[\]]/", "_", $textarea_name );
    617    if( 'full' === $mode ){
     
    5768            'toolbar2' => implode( ',', $mce_buttons_2 ),
    5869            'toolbar3' => implode( ',', $mce_buttons_3 ),
    59             'body_class' => @$body_class
     70            'body_class' => @$body_class,
     71            'height' => $height,
    6072            );
    6173    }
  • alternative-site-settings/trunk/readme.txt

    r3330336 r3354184  
    33Requires at least: 5.9
    44Tested up to: 6.8.2
    5 Stable tag: 1.1.4
     5Stable tag: 1.1.5
    66Requires PHP: 7.2
    77License: GPLv2 or later
     
    2828
    2929== Changelog ==
     30
     31= 1.1.5 =
     32For the altss_cform_generator() function, a 7th optional parameter, $height, has been added. It allows you to set the initial height of the editor field. Minimum values: 50 for the newvisual mode and 100 for other modes.
    3033
    3134= 1.1.4 =
Note: See TracChangeset for help on using the changeset viewer.