Changeset 3000104 for phoenix-media-rename/classes/class-pmr-settings.php
- Timestamp:
- 11/22/2023 12:18:17 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
phoenix-media-rename/classes/class-pmr-settings.php
r2940758 r3000104 30 30 add_option('pmr_options', array('pmr_category_filename_trailer' => false), '', 'yes'); 31 31 add_option('pmr_options', array('pmr_filename_trailer'), '', 'yes'); 32 32 33 add_filter('plugin_action_links_'. PMR_BASENAME, array($this, 'pmr_add_action_links')); 33 34 } … … 226 227 ); 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 228 244 } 229 245 … … 246 262 $new_input['pmr_category_filename_trailer'] = false; 247 263 $new_input['pmr_filename_trailer'] = ''; 264 248 265 } 249 266 … … 259 276 $this->sanitize_boolean($input, 'pmr_category_filename_trailer', $new_input); 260 277 $this->sanitize_text($input, 'pmr_filename_trailer', $new_input); 278 261 279 262 280 return $new_input; … … 362 380 363 381 /** 382 383 384 385 386 387 388 389 364 390 * Get the settings option array and print one of its values 365 391 */ … … 458 484 $value = $this->get_value_textbox('pmr_filename_trailer'); 459 485 echo '<input type="text" id="pmr_filename_trailer" name="pmr_options[pmr_filename_trailer]" value="'. $value . '"//>'; 486 487 488 489 490 491 492 493 494 460 495 } 461 496
Note: See TracChangeset
for help on using the changeset viewer.