Plugin Directory

Changeset 1896007


Ignore:
Timestamp:
06/20/2018 06:58:06 PM (8 years ago)
Author:
digitalarbyter
Message:

Updated to 1.2.3

Location:
wp-tweaker/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-tweaker/trunk/inc/wp-tweaker-admin.php

    r1894086 r1896007  
    5555
    5656        add_settings_section(
    57             'wptweaker_setting_section_header', // ID
     57          'wptweaker_setting_section_header', // ID
    5858            'Unneeded Header-Info', // Title
    5959            array( $this, 'print_section_info' ), // Callback
     
    184184            'Disable the XML-RPC',
    185185            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' ),
    186193            'my-setting-admin',
    187194            'wptweaker_setting_section_security'
     
    218225        if( isset( $wptweaker_input['wptweaker_setting_13'] ) )
    219226            $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'] );
    220229        return $wptweaker_new_input;
    221230    }
     
    381390             );
    382391     }
     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     }
    383404}
    384405?>
  • wp-tweaker/trunk/readme.txt

    r1894086 r1896007  
    1313
    1414With 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
    2829
    2930All you need to do to control this features/functions is
     
    3334There 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.
    3435
    35 If you have any idea regarding future functions of this plugin, let me know!
     36If you have any ideas regarding future functions of this plugin, let me know!
    3637
    3738== Installation ==
     39
     40= Automatic Installation =
     41
     421. Browse to `wp-admin` and log in
     432. Click __Plugins__
     443. Click __ Add new__
     454. Search for __WP-Tweaker__
     465. Click __Install Now__
     476. Activate the plugin
     48
     49= Manual Installation =
     50
    38511. Upload the ‘wp-tweaker’ folder to the ‘/wp-content/plugins/‘ directory
    39522. Activate the plugin through the ‘Plugins’ menu in WordPress.
     
    4457
    4558== 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  
    77Plugin Name: WP-Tweaker
    88
    9 Description: This slim plugin removes many (unneeded) standard features from WordPress to give your blog the ultimate performance boost! Currently you can disable 13 WordPress functions each with one mouse click.
    10 Version: 1.2.2
     9Description: 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.
     10Version: 1.2.3
    1111Author: digitalarbyter
    1212Author URI:  https://digitalarbyter.de
     
    292912: Disable new themes on major WP updates
    303013: Disable the XML-RPC
     3114: Remove post by email function
    3132*/
    3233
     
    116117}
    117118
     119function wptweaker_setting_14()
     120{
     121  add_filter( 'enable_post_by_email_configuration', '__return_false' );
     122}
     123
     124
    118125//Fire!
    119126$wptweaker_options=get_option('wptweaker_settings');
Note: See TracChangeset for help on using the changeset viewer.