Changeset 1896007
- Timestamp:
- 06/20/2018 06:58:06 PM (8 years ago)
- Location:
- wp-tweaker/trunk
- Files:
-
- 3 edited
-
inc/wp-tweaker-admin.php (modified) (4 diffs)
-
readme.txt (modified) (3 diffs)
-
wp-tweaker.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-tweaker/trunk/inc/wp-tweaker-admin.php
r1894086 r1896007 55 55 56 56 add_settings_section( 57 'wptweaker_setting_section_header', // ID57 'wptweaker_setting_section_header', // ID 58 58 'Unneeded Header-Info', // Title 59 59 array( $this, 'print_section_info' ), // Callback … … 184 184 'Disable the XML-RPC', 185 185 array( $this, 'callback_wptweaker_setting_13' ), 186 'my-setting-admin', 187 'wptweaker_setting_section_security' 188 ); 189 add_settings_field( 190 'wptweaker_setting_14', 191 'Disable post by e-mail function', 192 array( $this, 'callback_wptweaker_setting_14' ), 186 193 'my-setting-admin', 187 194 'wptweaker_setting_section_security' … … 218 225 if( isset( $wptweaker_input['wptweaker_setting_13'] ) ) 219 226 $wptweaker_new_input['wptweaker_setting_13'] = absint( $wptweaker_input['wptweaker_setting_13'] ); 227 if( isset( $wptweaker_input['wptweaker_setting_14'] ) ) 228 $wptweaker_new_input['wptweaker_setting_14'] = absint( $wptweaker_input['wptweaker_setting_14'] ); 220 229 return $wptweaker_new_input; 221 230 } … … 381 390 ); 382 391 } 392 393 public function callback_wptweaker_setting_14() 394 { 395 printf( 396 '<input type="radio" id="wptweaker_setting_14" name="wptweaker_settings[wptweaker_setting_14]" value="0" %s /> off ', 397 $this->wptweaker_options['wptweaker_setting_14'] == 0 ? "checked" : '' 398 ); 399 printf( 400 '<input type="radio" id="wptweaker_setting_14" name="wptweaker_settings[wptweaker_setting_14]" value="1" %s /> on ', 401 $this->wptweaker_options['wptweaker_setting_14'] == 1 ? "checked" : '' 402 ); 403 } 383 404 } 384 405 ?> -
wp-tweaker/trunk/readme.txt
r1894086 r1896007 13 13 14 14 With this WP-Tweaker you can controll the following functions/features of WordPress: 15 - Remove your WP-Version from the header 16 - Deactivate the WP-Emojis 17 - Remove the WP-Manifest 18 - Remove the RSD-Link 19 - Remove the RSS-Links 20 - Remove the Shortlink 21 - Remove links to adjacent posts 22 - Limit the stored Post-Revisions to a maximum of 5 23 - Disable automatic http-requests by Plugins & Themes 24 - Disable the WordPress-hearbeat 25 - Disable login error messages 26 - Disable new Theme on major WP updates 27 - Disable the XML-RPC 15 * Remove your WP-Version from the header 16 * Deactivate the WP-Emojis 17 * Remove the WP-Manifest 18 * Remove the RSD-Link 19 * Remove the RSS-Links 20 * Remove the Shortlink 21 * Remove links to adjacent posts 22 * Limit the stored Post-Revisions to a maximum of 5 23 * Disable automatic http-requests by Plugins & Themes 24 * Disable the WordPress-hearbeat 25 * Disable login error messages 26 * Disable new Theme on major WP updates 27 * Disable the XML-RPC 28 * Remove post by e-amil function 28 29 29 30 All you need to do to control this features/functions is … … 33 34 There are more features for this plugin to come. Most of them are already in the pipeline for production. As of now there are already 12 new functions/feature in my backlog. 34 35 35 If you have any idea regarding future functions of this plugin, let me know!36 If you have any ideas regarding future functions of this plugin, let me know! 36 37 37 38 == Installation == 39 40 = Automatic Installation = 41 42 1. Browse to `wp-admin` and log in 43 2. Click __Plugins__ 44 3. Click __ Add new__ 45 4. Search for __WP-Tweaker__ 46 5. Click __Install Now__ 47 6. Activate the plugin 48 49 = Manual Installation = 50 38 51 1. Upload the ‘wp-tweaker’ folder to the ‘/wp-content/plugins/‘ directory 39 52 2. Activate the plugin through the ‘Plugins’ menu in WordPress. … … 44 57 45 58 == Changelog == 46 1.2.2 16.06.18 47 - added feature to disable new Themes on major WP updates 48 - added feature to diasble the XML-RPC 49 1.2.1 13.06.18 50 - added feature login error message 51 1.2 12.06.18 52 - Performance optimization (reduced code of core-file by 76%) 53 - added categories 54 - added feature heartbeat 55 1.1 09.06.18: 56 - Added feature "disable http-requests" 57 1.0.1 07.06.18: 58 - Did some minor bugfixes and improvements 59 1.0 03.06.18: 60 - Initial release 59 = 1.2.3 20.06.18 = 60 * added feature to remove the post by e-mail function 61 62 = 1.2.2 16.06.18 = 63 * added feature to disable new Themes on major WP updates 64 * added feature to diasble the XML-RPC 65 66 = 1.2.1 13.06.18 = 67 * added feature login error message 68 69 = 1.2 12.06.18 = 70 * Performance optimization (reduced code of core-file by 76%) 71 * added categories 72 * added feature heartbeat 73 74 = 1.1 09.06.18 = 75 * Added feature "disable http-requests" 76 77 = 1.0.1 07.06.18 = 78 * Did some minor bugfixes and improvements 79 80 = 1.0 03.06.18 = 81 * Initial release -
wp-tweaker/trunk/wp-tweaker.php
r1894086 r1896007 7 7 Plugin Name: WP-Tweaker 8 8 9 Description: This slim plugin removes many (unneeded) standard features from WordPress to give your blog the ultimate performance boost! Currently you can disable 1 3WordPress functions each with one mouse click.10 Version: 1.2. 29 Description: This slim plugin removes many (unneeded) standard features from WordPress to give your blog the ultimate performance boost! Currently you can disable 14 WordPress functions each with one mouse click. 10 Version: 1.2.3 11 11 Author: digitalarbyter 12 12 Author URI: https://digitalarbyter.de … … 29 29 12: Disable new themes on major WP updates 30 30 13: Disable the XML-RPC 31 14: Remove post by email function 31 32 */ 32 33 … … 116 117 } 117 118 119 function wptweaker_setting_14() 120 { 121 add_filter( 'enable_post_by_email_configuration', '__return_false' ); 122 } 123 124 118 125 //Fire! 119 126 $wptweaker_options=get_option('wptweaker_settings');
Note: See TracChangeset
for help on using the changeset viewer.