Plugin Directory

Changeset 1120145


Ignore:
Timestamp:
03/25/2015 03:34:14 AM (11 years ago)
Author:
woorockets
Message:

Fix version 2.4.10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wr-pagebuilder/trunk/core/shortcode/layout/column.php

    r1119552 r1120145  
    6464        public function shortcode_data() {
    6565            $this->config['params'] = WR_Pb_Helper_Shortcode::generate_shortcode_params( $this->items, null, null, false, true );
     66            $this->config['params']['span'] = ( ! empty( $this->params['span'] ) ) ? $this->params['span'] : 'span12';
    6667            $this->config['shortcode_structure'] = WR_Pb_Helper_Shortcode::generate_shortcode_structure( $this->config['shortcode'], $this->config['params'] );
    6768        }
     
    7475         */
    7576        public function element_in_pgbldr( $content = '', $shortcode_data = '' ) {
    76             $column_html    = empty($content) ? '' : WR_Pb_Helper_Shortcode::do_shortcode_admin( $content, true );
    77             $span           = ( ! empty($this->params['span'] ) ) ? $this->params['span'] : 'span12';
     77            $column_html    = empty( $content ) ? '' : WR_Pb_Helper_Shortcode::do_shortcode_admin( $content, true );
     78            $span           = ( ! empty( $this->params['span'] ) ) ? $this->params['span'] : 'span12';
    7879            if ( empty( $shortcode_data ) )
    7980                $shortcode_data = $this->config['shortcode_structure'];
Note: See TracChangeset for help on using the changeset viewer.