Plugin Directory

Changeset 2606967


Ignore:
Timestamp:
09/29/2021 08:29:08 PM (4 years ago)
Author:
cgastrell
Message:

Release 3.0.1 includes some UI changes and bugfixes

Allow landing page to be rendered on demand (Allow page=polls&action=landing-page to forcibly render the landing page #64)
Rename menu entries

Location:
polldaddy/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • polldaddy/trunk/polldaddy.php

    r2578991 r2606967  
    66 * Author: Automattic, Inc.
    77 * Author URL: https://crowdsignal.com/
    8  * Version: 3.0.0
     8 * Version: 3.0.1
    99 */
    1010
     
    6262        $this->errors                 = new WP_Error;
    6363        $this->scheme                 = 'https';
    64         $this->version                = '2.2.6';
     64        $this->version                = '3.0.1';
    6565        $this->multiple_accounts      = ! empty( get_option( 'polldaddy_usercode_user' ) );
    6666        $this->polldaddy_client_class = 'api_client';
     
    188188        }
    189189
    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 ) {
    191191            $menu_title  = $page_title;
    192192
     
    196196
    197197        // 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 ) {
    199199            // 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 );
    201201            $hook = add_options_page( $settings_page_title, $settings_page_title, $menu_slug == 'ratings' ? 'manage_options' : $capability, $menu_slug, array( $this, 'settings_page' ) );
    202202            add_action( "load-$hook", array( $this, 'management_page_load' ) );
     
    14381438                            <?php
    14391439                            $this->style_edit_form();
     1440                            break;
     1441                        case 'landing-page':
     1442                            $this->render_landing_page();
    14401443                            break;
    14411444                        default:
  • polldaddy/trunk/readme.txt

    r2578991 r2606967  
    55Requires PHP: 5.6
    66Tested up to: 5.7.1
    7 Stable tag: 3.0.0
     7Stable tag: 3.0.1
    88
    99Create and manage Crowdsignal polls and ratings from within WordPress.
     
    128128== Changelog ==
    129129
     130= 3.0.1
     131* Allow landing page to be rendered on demand
     132* Rename menu entries
     133
    130134= 3.0.0 =
    131135* New dashboard menu
Note: See TracChangeset for help on using the changeset viewer.