Plugin Directory

Changeset 3022517


Ignore:
Timestamp:
01/16/2024 04:10:31 PM (2 years ago)
Author:
wpmetablock
Message:

control select issues fixed

Location:
fluentform-block
Files:
59 added
4 edited

Legend:

Unmodified
Added
Removed
  • fluentform-block/trunk/app/Block/BlockBase.php

    r3020401 r3022517  
    3030                'default' => false,
    3131            ),
    32 
    3332            //advanced
    3433            "mainWrapMargin" => array(
     
    5251                )
    5352            ),
    54 
    5553            'mainWrapBGType'   => array(
    5654                'type'    => 'string',
  • fluentform-block/trunk/app/Block/Fluentform.php

    r3020401 r3022517  
    1313    public function block_attributes() {
    1414        $attributes = [
    15 
    1615            'layout'   => array(
    1716                'type'    => 'string',
     
    2827                'default' => false
    2928            ),
    30 
    3129            'formJson' => array(
    3230                'type'    => 'object',
  • fluentform-block/trunk/app/FFBlock.php

    r3018264 r3022517  
    1515 * Class FFBlock
    1616 */
    17 final class FFBlock
    18 {
     17final class FFBlock {
    1918
    2019    use Singleton;
     
    2524     * FFB Project Constructor.
    2625     */
    27     public function __construct()
    28     {
     26    public function __construct() {
    2927        new Constant();
    3028        add_action('init', [$this, 'language']);
     
    3634    }
    3735
    38     public function init()
    39     {
     36    public function init() {
    4037        if (!Dependencies::getInstance()->check()) {
    4138            return;
     
    5148     * Load Text Domain
    5249     */
    53     public function language()
    54     {
     50    public function language() {
    5551        load_plugin_textdomain('fluentform-block', false, FFBLOCK_ABSPATH . '/languages/');
    5652    }
     
    6359     * @return bool
    6460     */
    65     public function is_request($type)
    66     {
     61    public function is_request($type) {
    6762        switch ($type) {
    6863            case 'admin':
     
    8277     * @return string
    8378     */
    84     public function plugin_path()
    85     {
     79    public function plugin_path() {
    8680        return untrailingslashit(plugin_dir_path(FFBLOCK_FILE));
    8781    }
     
    9084     * @return mixed
    9185     */
    92     public function version()
    93     {
     86    public function version() {
    9487        return FFBLOCK_VERSION;
    9588    }
     
    10295     * @return string
    10396     */
    104     public function get_asset_uri($file)
    105     {
     97    public function get_asset_uri($file) {
    10698        $file = ltrim($file, '/');
    10799
     
    114106     * @return string
    115107     */
    116     public function render($viewName, $args = array(), $return = false)
    117     {
     108    public function render($viewName, $args = array(), $return = false) {
    118109        $path = str_replace(".", "/", $viewName);
    119110        $viewPath = FFBLOCK_PATH . 'view/' . $path . '.php';
     
    140131 * @return bool|Singleton|FFBlock
    141132 */
    142 function ffblock()
    143 {
     133function ffblock() {
    144134    return FFBlock::getInstance();
    145135}
  • fluentform-block/trunk/readme.txt

    r3020401 r3022517  
    22Contributors: wpmetablock
    33Donate link:
    4 Tags: gutenberg form, block form, fluent forms block, forms, fluent forms, custom form, order form, contact forms, quiz, wp forms
     4Tags: gutenberg form, block form, fluent form block, forms, fluent forms, custom form, order form, contact form block, quiz, wp forms
    55Requires at least: 5.0
    66Tested up to: 6.4
     
    6262
    6363== Changelog ==
     64= 1.0.2 =
     65Fixed: control selector issues solve
     66Fixed: CSS issues solve.
     67Fixed: code refactoring.
     68
    6469= 1.0.1 =
    6570Fixed: CSS issues solve.
Note: See TracChangeset for help on using the changeset viewer.