Changeset 2606967
- Timestamp:
- 09/29/2021 08:29:08 PM (4 years ago)
- Location:
- polldaddy/trunk
- Files:
-
- 2 edited
-
polldaddy.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
polldaddy/trunk/polldaddy.php
r2578991 r2606967 6 6 * Author: Automattic, Inc. 7 7 * Author URL: https://crowdsignal.com/ 8 * Version: 3.0. 08 * Version: 3.0.1 9 9 */ 10 10 … … 62 62 $this->errors = new WP_Error; 63 63 $this->scheme = 'https'; 64 $this->version = ' 2.2.6';64 $this->version = '3.0.1'; 65 65 $this->multiple_accounts = ! empty( get_option( 'polldaddy_usercode_user' ) ); 66 66 $this->polldaddy_client_class = 'api_client'; … … 188 188 } 189 189 190 foreach( array( 'polls' => __( ' Dashboard', 'polldaddy' ), 'ratings' => __( 'Ratings', 'polldaddy' ) ) as $menu_slug => $page_title ) {190 foreach( array( 'polls' => __( 'Crowdsignal', 'polldaddy' ), 'ratings' => __( 'Ratings', 'polldaddy' ) ) as $menu_slug => $page_title ) { 191 191 $menu_title = $page_title; 192 192 … … 196 196 197 197 // Add settings pages. 198 foreach( array( 'pollsettings' => __( 'Crowdsignal', 'polldaddy' ), 'ratingsettings' => __( 'Rating ', 'polldaddy' ) ) as $menu_slug => $page_title ) {198 foreach( array( 'pollsettings' => __( 'Crowdsignal', 'polldaddy' ), 'ratingsettings' => __( 'Ratings', 'polldaddy' ) ) as $menu_slug => $page_title ) { 199 199 // translators: %s placeholder is the setting page type (Poll or Rating). 200 $settings_page_title = sprintf( esc_html__( '%s Settings', 'polldaddy' ), $page_title );200 $settings_page_title = sprintf( esc_html__( '%s', 'polldaddy' ), $page_title ); 201 201 $hook = add_options_page( $settings_page_title, $settings_page_title, $menu_slug == 'ratings' ? 'manage_options' : $capability, $menu_slug, array( $this, 'settings_page' ) ); 202 202 add_action( "load-$hook", array( $this, 'management_page_load' ) ); … … 1438 1438 <?php 1439 1439 $this->style_edit_form(); 1440 break; 1441 case 'landing-page': 1442 $this->render_landing_page(); 1440 1443 break; 1441 1444 default: -
polldaddy/trunk/readme.txt
r2578991 r2606967 5 5 Requires PHP: 5.6 6 6 Tested up to: 5.7.1 7 Stable tag: 3.0. 07 Stable tag: 3.0.1 8 8 9 9 Create and manage Crowdsignal polls and ratings from within WordPress. … … 128 128 == Changelog == 129 129 130 = 3.0.1 131 * Allow landing page to be rendered on demand 132 * Rename menu entries 133 130 134 = 3.0.0 = 131 135 * New dashboard menu
Note: See TracChangeset
for help on using the changeset viewer.