Changeset 2776489
- Timestamp:
- 08/27/2022 01:15:27 PM (4 years ago)
- Location:
- easy-poll/trunk
- Files:
-
- 1 added
- 5 edited
-
easy-poll.php (modified) (2 diffs)
-
includes/Settings/Options.php (modified) (2 diffs)
-
includes/Settings/RewriteRules.php (added)
-
includes/Settings/Settings.php (modified) (1 diff)
-
languages/easy-poll.pot (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-poll/trunk/easy-poll.php
r2776193 r2776489 8 8 * Text Domain: easy-poll 9 9 * Domain Path: /languages 10 * Version: 1.0. 010 * Version: 1.0.1 11 11 * 12 12 * @package EasyPoll … … 145 145 // Save default settings options. 146 146 Options::save_default_settings(); 147 148 flush_rewrite_rules( true );149 147 } 150 148 -
easy-poll/trunk/includes/Settings/Options.php
r2776193 r2776489 27 27 */ 28 28 const OPTION_KEY = 'ep-settings'; 29 const REQUIRE_PERMALINK_UPDATE = 'ep-permalink-update-require'; 29 30 30 31 /** … … 154 155 update_option( self::OPTION_KEY, $combined_options ); 155 156 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 ); 156 165 } 157 166 -
easy-poll/trunk/includes/Settings/Settings.php
r2776193 r2776489 26 26 public function __construct() { 27 27 new Options(); 28 new RewriteRules(); 28 29 } 29 30 } -
easy-poll/trunk/languages/easy-poll.pot
r2776193 r2776489 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Easy Poll 1.0. 0\n"5 "Project-Id-Version: Easy Poll 1.0.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/easy-poll\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2022-08-2 4T15:42:07+00:00\n"12 "POT-Creation-Date: 2022-08-27T13:12:23+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.5.0\n" … … 206 206 msgstr "" 207 207 208 #: includes/Settings/Options.php:5 7209 #: includes/Settings/Options.php:12 4208 #: includes/Settings/Options.php:58 209 #: includes/Settings/Options.php:125 210 210 msgid "Yes" 211 211 msgstr "" 212 212 213 #: includes/Settings/Options.php:6 1214 #: includes/Settings/Options.php:12 8213 #: includes/Settings/Options.php:62 214 #: includes/Settings/Options.php:129 215 215 msgid "No" 216 216 msgstr "" 217 217 218 #: includes/Settings/Options.php:6 4218 #: includes/Settings/Options.php:65 219 219 msgid "Adjust the front-end poll template width" 220 220 msgstr "" 221 221 222 #: includes/Settings/Options.php:6 8222 #: includes/Settings/Options.php:69 223 223 msgid "Max Width" 224 224 msgstr "" 225 225 226 #: includes/Settings/Options.php:7 1226 #: includes/Settings/Options.php:72 227 227 msgid "Set max-width in percentage for the large screen devices" 228 228 msgstr "" 229 229 230 #: includes/Settings/Options.php:7 5230 #: includes/Settings/Options.php:76 231 231 msgid "Thumbnail Size" 232 232 msgstr "" 233 233 234 #: includes/Settings/Options.php:8 1234 #: includes/Settings/Options.php:82 235 235 msgid "Thumbnail" 236 236 msgstr "" 237 237 238 #: includes/Settings/Options.php:8 5238 #: includes/Settings/Options.php:86 239 239 msgid "Medium" 240 240 msgstr "" 241 241 242 #: includes/Settings/Options.php: 89242 #: includes/Settings/Options.php:90 243 243 msgid "Medium Large" 244 244 msgstr "" 245 245 246 #: includes/Settings/Options.php:9 3246 #: includes/Settings/Options.php:94 247 247 msgid "Large" 248 248 msgstr "" 249 249 250 #: includes/Settings/Options.php:9 7250 #: includes/Settings/Options.php:98 251 251 msgid "Full" 252 252 msgstr "" 253 253 254 #: includes/Settings/Options.php:10 0254 #: includes/Settings/Options.php:101 255 255 msgid "Poll thumbnail size" 256 256 msgstr "" 257 257 258 #: includes/Settings/Options.php:10 4258 #: includes/Settings/Options.php:105 259 259 msgid "Select Multiple Hint" 260 260 msgstr "" 261 261 262 #: includes/Settings/Options.php:10 7262 #: includes/Settings/Options.php:108 263 263 msgid "Show a message so that users can understand that they can select multiple" 264 264 msgstr "" 265 265 266 #: includes/Settings/Options.php:10 8266 #: includes/Settings/Options.php:109 267 267 msgid "Select multiple if required" 268 268 msgstr "" 269 269 270 #: includes/Settings/Options.php:11 1270 #: includes/Settings/Options.php:112 271 271 msgid "Success Message" 272 272 msgstr "" 273 273 274 #: includes/Settings/Options.php:11 4274 #: includes/Settings/Options.php:115 275 275 msgid "Show a message after successful poll submission" 276 276 msgstr "" 277 277 278 #: includes/Settings/Options.php:11 5278 #: includes/Settings/Options.php:116 279 279 msgid "Thank you for submitting poll" 280 280 msgstr "" 281 281 282 #: includes/Settings/Options.php:11 8282 #: includes/Settings/Options.php:119 283 283 msgid "Guest Submit" 284 284 msgstr "" 285 285 286 #: includes/Settings/Options.php:13 1286 #: includes/Settings/Options.php:132 287 287 msgid "If allowed, any (logged-in/guest) users will be able to see & submit the poll." 288 288 msgstr "" 289 289 290 #: includes/Settings/Options.php:13 2290 #: includes/Settings/Options.php:133 291 291 msgid "no" 292 292 msgstr "" -
easy-poll/trunk/readme.txt
r2776193 r2776489 6 6 Tested up to: 6.0.1 7 7 Requires PHP: 7.0 8 Stable tag: 1.0. 08 Stable tag: 1.0.1 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 69 69 * Plugin released 70 70 71 = 1.0.1 Aug 27, 2022 = 72 Fix: 404 not found issue on the front end 73 71 74 === Upgrade Notice === 72 73 75 After 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.