@@ -22,14 +22,14 @@ discard block |
||
22 | 22 | parent::__construct( array( |
23 | 23 | 'singular' => 'feed', // singular name of the listed records |
24 | 24 | 'plural' => 'feeds', // plural name of the listed records |
25 | - 'ajax' => false, // does this table support ajax? |
|
25 | + 'ajax' => false, // does this table support ajax? |
|
26 | 26 | ) ); |
27 | 27 | |
28 | 28 | } |
29 | 29 | |
30 | 30 | public function column_name( $button ) { |
31 | 31 | |
32 | - $target = 'shortcode-' . str_replace(" ","-", $button->name ); |
|
32 | + $target = 'shortcode-' . str_replace( " ", "-", $button->name ); |
|
33 | 33 | $copy_button = '<a class="copy-btn" data-clipboard-action="copy" data-clipboard-target=".' . $target . '">Copy Shortcode</a>'; |
34 | 34 | |
35 | 35 | $actions = array( |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | |
41 | 41 | return sprintf( '%1$s %2$s', |
42 | 42 | /*$1%s*/ |
43 | - '<p><b>'.$button->title . '</b></p><code class="' . $target . '">[podlove-subscribe-button button="' . $button->name . '"]</code>', |
|
43 | + '<p><b>' . $button->title . '</b></p><code class="' . $target . '">[podlove-subscribe-button button="' . $button->name . '"]</code>', |
|
44 | 44 | /*$3%s*/ |
45 | 45 | $this->row_actions( $actions ) |
46 | 46 | ); |
@@ -59,14 +59,14 @@ discard block |
||
59 | 59 | |
60 | 60 | $preview = "<div class='podlove-button-preview-container'>"; |
61 | 61 | $preview .= $button->render( |
62 | - $options['size'], |
|
63 | - $options['autowidth'], |
|
64 | - $options['style'], |
|
65 | - $options['format'], |
|
66 | - $options['color'], |
|
62 | + $options[ 'size' ], |
|
63 | + $options[ 'autowidth' ], |
|
64 | + $options[ 'style' ], |
|
65 | + $options[ 'format' ], |
|
66 | + $options[ 'color' ], |
|
67 | 67 | false, |
68 | 68 | false, |
69 | - $options['language'] |
|
69 | + $options[ 'language' ] |
|
70 | 70 | ); |
71 | 71 | $preview .= "</div>"; |
72 | 72 |