Plugin Directory

Changeset 2776489


Ignore:
Timestamp:
08/27/2022 01:15:27 PM (4 years ago)
Author:
shewa
Message:

V1.0.1 released

Location:
easy-poll/trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • easy-poll/trunk/easy-poll.php

    r2776193 r2776489  
    88 * Text Domain:     easy-poll
    99 * Domain Path:     /languages
    10  * Version:         1.0.0
     10 * Version:         1.0.1
    1111 *
    1212 * @package         EasyPoll
     
    145145            // Save default settings options.
    146146            Options::save_default_settings();
    147 
    148             flush_rewrite_rules( true );
    149147        }
    150148
  • easy-poll/trunk/includes/Settings/Options.php

    r2776193 r2776489  
    2727     */
    2828    const OPTION_KEY = 'ep-settings';
     29    const REQUIRE_PERMALINK_UPDATE = 'ep-permalink-update-require';
    2930
    3031    /**
     
    154155        update_option( self::OPTION_KEY, $combined_options );
    155156        do_action( 'easy_poll_after_default_settings_save', $combined_options );
     157
     158        /**
     159         * On plugin activate set option that permalink
     160         * update is required to prevent 404 error
     161         *
     162         * @since v1.0.1
     163         */
     164        update_option( self::REQUIRE_PERMALINK_UPDATE, 1 );
    156165    }
    157166
  • easy-poll/trunk/includes/Settings/Settings.php

    r2776193 r2776489  
    2626    public function __construct() {
    2727        new Options();
     28        new RewriteRules();
    2829    }
    2930}
  • easy-poll/trunk/languages/easy-poll.pot

    r2776193 r2776489  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Easy Poll 1.0.0\n"
     5"Project-Id-Version: Easy Poll 1.0.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/easy-poll\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2022-08-24T15:42:07+00:00\n"
     12"POT-Creation-Date: 2022-08-27T13:12:23+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.5.0\n"
     
    206206msgstr ""
    207207
    208 #: includes/Settings/Options.php:57
    209 #: includes/Settings/Options.php:124
     208#: includes/Settings/Options.php:58
     209#: includes/Settings/Options.php:125
    210210msgid "Yes"
    211211msgstr ""
    212212
    213 #: includes/Settings/Options.php:61
    214 #: includes/Settings/Options.php:128
     213#: includes/Settings/Options.php:62
     214#: includes/Settings/Options.php:129
    215215msgid "No"
    216216msgstr ""
    217217
    218 #: includes/Settings/Options.php:64
     218#: includes/Settings/Options.php:65
    219219msgid "Adjust the front-end poll template width"
    220220msgstr ""
    221221
    222 #: includes/Settings/Options.php:68
     222#: includes/Settings/Options.php:69
    223223msgid "Max Width"
    224224msgstr ""
    225225
    226 #: includes/Settings/Options.php:71
     226#: includes/Settings/Options.php:72
    227227msgid "Set max-width in percentage for the large screen devices"
    228228msgstr ""
    229229
    230 #: includes/Settings/Options.php:75
     230#: includes/Settings/Options.php:76
    231231msgid "Thumbnail Size"
    232232msgstr ""
    233233
    234 #: includes/Settings/Options.php:81
     234#: includes/Settings/Options.php:82
    235235msgid "Thumbnail"
    236236msgstr ""
    237237
    238 #: includes/Settings/Options.php:85
     238#: includes/Settings/Options.php:86
    239239msgid "Medium"
    240240msgstr ""
    241241
    242 #: includes/Settings/Options.php:89
     242#: includes/Settings/Options.php:90
    243243msgid "Medium Large"
    244244msgstr ""
    245245
    246 #: includes/Settings/Options.php:93
     246#: includes/Settings/Options.php:94
    247247msgid "Large"
    248248msgstr ""
    249249
    250 #: includes/Settings/Options.php:97
     250#: includes/Settings/Options.php:98
    251251msgid "Full"
    252252msgstr ""
    253253
    254 #: includes/Settings/Options.php:100
     254#: includes/Settings/Options.php:101
    255255msgid "Poll thumbnail size"
    256256msgstr ""
    257257
    258 #: includes/Settings/Options.php:104
     258#: includes/Settings/Options.php:105
    259259msgid "Select Multiple Hint"
    260260msgstr ""
    261261
    262 #: includes/Settings/Options.php:107
     262#: includes/Settings/Options.php:108
    263263msgid "Show a message so that users can understand that they can select multiple"
    264264msgstr ""
    265265
    266 #: includes/Settings/Options.php:108
     266#: includes/Settings/Options.php:109
    267267msgid "Select multiple if required"
    268268msgstr ""
    269269
    270 #: includes/Settings/Options.php:111
     270#: includes/Settings/Options.php:112
    271271msgid "Success Message"
    272272msgstr ""
    273273
    274 #: includes/Settings/Options.php:114
     274#: includes/Settings/Options.php:115
    275275msgid "Show a message after successful poll submission"
    276276msgstr ""
    277277
    278 #: includes/Settings/Options.php:115
     278#: includes/Settings/Options.php:116
    279279msgid "Thank you for submitting poll"
    280280msgstr ""
    281281
    282 #: includes/Settings/Options.php:118
     282#: includes/Settings/Options.php:119
    283283msgid "Guest Submit"
    284284msgstr ""
    285285
    286 #: includes/Settings/Options.php:131
     286#: includes/Settings/Options.php:132
    287287msgid "If allowed, any (logged-in/guest) users will be able to see & submit the poll."
    288288msgstr ""
    289289
    290 #: includes/Settings/Options.php:132
     290#: includes/Settings/Options.php:133
    291291msgid "no"
    292292msgstr ""
  • easy-poll/trunk/readme.txt

    r2776193 r2776489  
    66Tested up to: 6.0.1
    77Requires PHP: 7.0
    8 Stable tag: 1.0.0
     8Stable tag: 1.0.1
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    6969* Plugin released
    7070
     71= 1.0.1  Aug 27, 2022 =
     72Fix: 404 not found issue on the front end
     73
    7174=== Upgrade Notice ===
    72 
    7375After activate the plugin reset the permalink from WordPress settings. It will prevent 404 not found poll on the frontend.
Note: See TracChangeset for help on using the changeset viewer.