Poll, Survey, Quiz, Slideshow, Form, Story & Landing Page - Version 12.6.0

Version Description

N/A

Download this release

Release Info

Developer yoffegil
Plugin Icon 128x128 Poll, Survey, Quiz, Slideshow, Form, Story & Landing Page
Version 12.6.0
Comparing to
See all releases

Code changes from version 12.5.0 to 12.6.0

opinionstage-functions.php CHANGED
@@ -139,9 +139,8 @@ function opinionstage_add_poll_page() {
139
  <h2>Content</h2>
140
  <ul class="os_links_list">
141
  <li><?php echo opinionstage_create_poll_link(); ?></li>
142
- <li><?php echo opinionstage_dashboard_link('Manage Polls', 'polls'); ?></li>
143
  <li><?php echo opinionstage_create_set_link(); ?></li>
144
- <li><?php echo opinionstage_dashboard_link('Manage Sets', 'sets'); ?></li>
145
  </ul>
146
  </div>
147
  <div class="section">
@@ -281,7 +280,7 @@ function opinionstage_add_poll_popup() {
281
  <?php echo opinionstage_create_poll_link(); ?>
282
  </p>
283
  <p><strong>Don't know the poll ID?</strong></br></br>
284
- <?php echo opinionstage_dashboard_link('Locate ID of an existing poll', 'polls'); ?>
285
  </p>
286
  </div>
287
  <div class="setWrp" style="display: none;">
@@ -294,7 +293,7 @@ function opinionstage_add_poll_popup() {
294
  <?php echo opinionstage_create_set_link(); ?>
295
  </p>
296
  <p><strong>Don't know the set ID?</strong></br></br>
297
- <?php echo opinionstage_dashboard_link('Locate ID of an existing set', 'sets'); ?>
298
  </p>
299
  </div>
300
  </div>
139
  <h2>Content</h2>
140
  <ul class="os_links_list">
141
  <li><?php echo opinionstage_create_poll_link(); ?></li>
 
142
  <li><?php echo opinionstage_create_set_link(); ?></li>
143
+ <li><?php echo opinionstage_dashboard_link('Manage Content'); ?></li>
144
  </ul>
145
  </div>
146
  <div class="section">
280
  <?php echo opinionstage_create_poll_link(); ?>
281
  </p>
282
  <p><strong>Don't know the poll ID?</strong></br></br>
283
+ <?php echo opinionstage_dashboard_link('Locate ID of an existing poll'); ?>
284
  </p>
285
  </div>
286
  <div class="setWrp" style="display: none;">
293
  <?php echo opinionstage_create_set_link(); ?>
294
  </p>
295
  <p><strong>Don't know the set ID?</strong></br></br>
296
+ <?php echo opinionstage_dashboard_link('Locate ID of an existing set'); ?>
297
  </p>
298
  </div>
299
  </div>
opinionstage-polls.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Polls by OpinionStage
4
  Plugin URI: http://www.opinionstage.com
5
  Description: Adds a highly engaging social polling system to your site. Easily add polls to any post/page or to your sites sidebar.
6
- Version: 12.5.0
7
  Author: OpinionStage.com
8
  Author URI: http://www.opinionstage.com
9
  */
@@ -11,7 +11,7 @@ Author URI: http://www.opinionstage.com
11
  /* --- Static initializer for Wordpress hooks --- */
12
 
13
  define('OPINIONSTAGE_SERVER_BASE', "www.opinionstage.com"); /* Don't include the protocol, added dynamically */
14
- define('OPINIONSTAGE_WIDGET_VERSION', '12.5.0');
15
  define('OPINIONSTAGE_WIDGET_PLUGIN_NAME', 'Polls by OpinionStage');
16
  define('OPINIONSTAGE_WIDGET_API_KEY', 'wp35e8');
17
  define('OPINIONSTAGE_OPTIONS_KEY', 'opinionstage_widget');
3
  Plugin Name: Polls by OpinionStage
4
  Plugin URI: http://www.opinionstage.com
5
  Description: Adds a highly engaging social polling system to your site. Easily add polls to any post/page or to your sites sidebar.
6
+ Version: 12.6.0
7
  Author: OpinionStage.com
8
  Author URI: http://www.opinionstage.com
9
  */
11
  /* --- Static initializer for Wordpress hooks --- */
12
 
13
  define('OPINIONSTAGE_SERVER_BASE', "www.opinionstage.com"); /* Don't include the protocol, added dynamically */
14
+ define('OPINIONSTAGE_WIDGET_VERSION', '12.6.0');
15
  define('OPINIONSTAGE_WIDGET_PLUGIN_NAME', 'Polls by OpinionStage');
16
  define('OPINIONSTAGE_WIDGET_API_KEY', 'wp35e8');
17
  define('OPINIONSTAGE_OPTIONS_KEY', 'opinionstage_widget');
opinionstage-utility-functions.php CHANGED
@@ -112,7 +112,7 @@ function opinionstage_create_link($caption, $page, $params = "", $new_page = tru
112
  */
113
  function opinionstage_add_stylesheet() {
114
  // Respects SSL, Style.css is relative to the current file
115
- wp_register_style( 'opinionstage-style', plugins_url('style.css', __FILE__) );
116
  wp_enqueue_style( 'opinionstage-style' );
117
  }
118
 
@@ -168,12 +168,12 @@ function opinionstage_create_set_link() {
168
  return opinionstage_create_link('Create a Set', 'sets/new', 'token='.$os_options['token']);
169
  }
170
  }
171
- function opinionstage_dashboard_link($text, $tab) {
172
  $os_options = (array) get_option(OPINIONSTAGE_OPTIONS_KEY);
173
  if (empty($os_options["uid"])) {
174
- return opinionstage_create_link($text, 'dashboard', 'tab='.$tab);
175
  } else {
176
- return opinionstage_create_link($text, 'dashboard', 'tab='.$tab.'&token='.$os_options['token']);
177
  }
178
  }
179
  function opinionstage_logged_in_link($text, $link) {
112
  */
113
  function opinionstage_add_stylesheet() {
114
  // Respects SSL, Style.css is relative to the current file
115
+ wp_register_style( 'opinionstage-style', plugins_url('os-style.css', __FILE__) );
116
  wp_enqueue_style( 'opinionstage-style' );
117
  }
118
 
168
  return opinionstage_create_link('Create a Set', 'sets/new', 'token='.$os_options['token']);
169
  }
170
  }
171
+ function opinionstage_dashboard_link($text) {
172
  $os_options = (array) get_option(OPINIONSTAGE_OPTIONS_KEY);
173
  if (empty($os_options["uid"])) {
174
+ return opinionstage_create_link($text, 'dashboard');
175
  } else {
176
+ return opinionstage_create_link($text, 'dashboard', 'token='.$os_options['token']);
177
  }
178
  }
179
  function opinionstage_logged_in_link($text, $link) {
style.css → os-style.css RENAMED
File without changes
readme.txt CHANGED
@@ -123,6 +123,9 @@ We support both regular multiple-sided polls and a special head-to-head poll fla
123
  N/A
124
 
125
  == Changelog ==
 
 
 
126
  = Version 12.5.0 =
127
  * Modified css strucutre
128
  * Added an option to enable/disable sidebar widget directly via the widget box
123
  N/A
124
 
125
  == Changelog ==
126
+ = Version 12.6.0 =
127
+ * Fixed broken links to dashboard
128
+ * Renamed css file
129
  = Version 12.5.0 =
130
  * Modified css strucutre
131
  * Added an option to enable/disable sidebar widget directly via the widget box
social-polls-by-opinionstage.zip ADDED
Binary file