Changeset 1766566
- Timestamp:
- 11/15/2017 01:40:15 AM (8 years ago)
- Location:
- selfish-fresh-start
- Files:
-
- 5 added
- 2 edited
-
tags/1.2.0 (added)
-
tags/1.2.0/LICENSE.txt (added)
-
tags/1.2.0/index.php (added)
-
tags/1.2.0/readme.txt (added)
-
tags/1.2.0/selfish-fresh-start.php (added)
-
trunk/readme.txt (modified) (6 diffs)
-
trunk/selfish-fresh-start.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
selfish-fresh-start/trunk/readme.txt
r1618461 r1766566 1 1 === Selfish Fresh Start === 2 2 Contributors: ryno267 3 Donate link: http ://rynoweb.com/wordpress-plugins/4 Tags: clean, fresh start, new install, clean admin, curly quotes, remove meta box, remove widgets, editor, profile fields, no smilies, no trackbacks, no pings, self pings, organize, declutter, clutter, theme editor, rsd links, wlw manifest links, shortlink, dashboard widgets, quick press, dashboard news, remove edit menu, remove editor, remove plugin editor, remove theme editor, aim, jabber, yim5 Requires at least: 3.06 Tested up to: 4. 87 Stable tag: 1. 1.03 Donate link: https://cash.me/$chuckreynolds 4 Tags: clean, fresh start, new install, clean admin, curly quotes, remove meta box, remove widgets, editor, file editor, no smilies, no trackbacks, no pings, self pings, organize, declutter, clutter, theme editor, rsd links, wlw manifest links, shortlink, dashboard widgets, quick press, dashboard news, remove edit menu, remove editor, remove plugin editor, remove theme editor 5 Requires at least: 4.0 6 Tested up to: 4.9 7 Stable tag: 1.2.0 8 8 License: GPL-2.0+ 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.txt … … 12 12 13 13 == Description == 14 This WordPress plugin removes most, in my opinion, unneeded crappy dashboard, post & page widgets, fixes formatted curly quote problems, checks for and removes Hello Dolly, removes junk header tags including the generator tag for extra security, removes update notifications for non-admins, removes old user profile fields like aim, prevents selfpinging, removes smilies and trackbacks, and a few other settings that nobody needs either. This is built to be very generalized so it will work with every WordPress site as a good clean-up fresh start and help keep clients out of the editing files.14 This WordPress plugin removes most, in my opinion, unneeded crappy dashboard, post and page widgets, fixes formatted curly quote problems, checks for and removes Hello Dolly plugin, removes junk header tags, removes generator header tag for extra security, removes update notifications for non-admins, prevents self-pinging, removes smilies and trackbacks, and a few other settings that nobody needs either. This is built to be very generalized so it will work with every WordPress site as a good clean-up fresh start and help keep clients out of the editing files. 15 15 16 16 = Current Operations = … … 22 22 * shortlink generation 23 23 * Removed: admin dashboard widgets: 24 * quick press 25 * recent drafts 26 * recent plugins feed 27 * wordpress development blog feed 28 * other wordpress blog news feed 29 * incoming links box 30 * yoast seo overview box 31 * wp socializer box 32 * w3 total cache news box 33 * gravity forms box 34 * bpress right now in forums 35 * jetpack box 24 * core: quick draft / your recent drafts 25 * core: wordpress events and news 26 * plugin: yoast seo overview box 27 * plugin: wp socializer box 28 * plugin: w3 total cache news box 29 * plugin: gravity forms box 30 * plugin: bpress right now in forums 31 * plugin: jetpack box 32 * plugin: modern tribe rss box (issues/7) 36 33 * Removed: post metabox's 37 34 * trackbacks … … 39 36 * comments box 40 37 * discussion box 41 * Removed: appearance menu theme editor *(some ppl may not like this but it's great for client admins)*38 * Removed: appearance menu theme editor 42 39 * Removed: plugins editor menu 43 40 * Removed: plugins list edit links … … 46 43 * Removed: potential for self ping backs 47 44 * Removed: checks for and nukes Hello Dolly plugin *(sorry @photomatt)* 48 * Removed: admin user yim, aim, jabber fields45 * Off: turn off plugin/theme editor 49 46 * Off: turn off global trackback/pingback setting 50 47 * Off: turn off global formatting of text to graphic smilies … … 64 61 65 62 == Changelog == 63 = 1.2.0 = 64 65 Release Date - 2017-11-14 66 67 * tested up to WP 4.9 68 * removed the removing of old IM profile fields that have been deprecated 69 * removed the removing of old dashboard widgets that have been merged or deprecated 70 * updated the minimum required version of WP to 4.0 due to the deprecated widgets 71 * removed, by request, another news rss feed dashboard box; this one from moderntribe plugins 72 66 73 = 1.1.0 = 67 74 -
selfish-fresh-start/trunk/selfish-fresh-start.php
r1618461 r1766566 8 8 * Plugin URI: https://wordpress.org/plugins/selfish-fresh-start/ 9 9 * Description: Removes clutter and commonly unneeded things in WordPress. Full details in the plugin description. 10 * Version: 1. 1.010 * Version: 1.2.0 11 11 * Author: Chuck Reynolds 12 12 * Author URI: https://chuckreynolds.us … … 116 116 add_action( 'admin_init', array( $this, 'nuke_hello_dolly' ) ); 117 117 add_filter( 'the_content_more_link', array( $this, 'nuke_more_jump_link_anchor' ) ); 118 add_filter( 'user_contactmethods', array( $this, 'nuke_contact_methods' ), 10, 1 );119 118 add_filter( 'content_save_pre', array( $this, 'nuke_curly_other_chars' ) ); 120 119 add_filter( 'title_save_pre', array( $this, 'nuke_curly_other_chars' ) ); … … 129 128 public function nuke_dashboard_metaboxes() { 130 129 131 remove_meta_box( 'dashboard_incoming_links', 'dashboard', 'normal' ); // incoming links box 132 remove_meta_box( 'dashboard_plugins', 'dashboard', 'normal' ); // new plugins box sub 133 #remove_meta_box('dashboard_right_now', 'dashboard', 'normal'); // at a glance box 134 #remove_meta_box('dashboard_activity', 'dashboard', 'normal'); // activity box 135 #remove_meta_box('dashboard_recent_comments', 'dashboard', 'normal'); // recent comments sub 136 remove_meta_box( 'dashboard_quick_press', 'dashboard', 'side' ); // quick draft box 137 remove_meta_box( 'dashboard_recent_drafts', 'dashboard', 'side' ); // recent drafts box 138 remove_meta_box( 'dashboard_primary', 'dashboard', 'side' ); // wordpress news blog box 139 remove_meta_box( 'dashboard_secondary', 'dashboard', 'side' ); // other wordpress news box 130 #remove_meta_box( 'dashboard_right_now', 'dashboard', 'normal' ); // At a Glance 131 #remove_meta_box( 'network_dashboard_right_now', 'dashboard', 'normal' ); // Network Right Now 132 #remove_meta_box( 'dashboard_activity', 'dashboard', 'normal' ); // Activity 133 remove_meta_box( 'dashboard_quick_press', 'dashboard', 'side' ); // Quick Draft / Your Recent Drafts 134 remove_meta_box( 'dashboard_primary', 'dashboard', 'side' ); // WordPress Events and News 135 136 // from older than WP ~4.0 versions 137 #remove_meta_box( 'dashboard_incoming_links', 'dashboard', 'normal' ); // incoming links box (deprecated in 3.8) 138 #remove_meta_box( 'dashboard_plugins', 'dashboard', 'normal' ); // new plugins box (deprecated in 3.8) 139 #remove_meta_box( 'dashboard_recent_comments','dashboard', 'normal' ); // recent comments sub (now part of activity) 140 #remove_meta_box( 'dashboard_recent_drafts', 'dashboard', 'side' ); // recent drafts (now part of quick_press) 141 #remove_meta_box( 'dashboard_secondary', 'dashboard', 'side' ); // other wordpress news (deprecated in 3.8) 140 142 141 143 } … … 155 157 remove_meta_box( 'bbp-dashboard-right-now', 'dashboard', 'normal' ); // bbpress right now in forums 156 158 remove_meta_box( 'jetpack_summary_widget', 'dashboard', 'normal' ); // jetpack 159 remove_meta_box( 'tribe_dashboard_widget', 'dashboard', 'normal' ); // modern tribe rss widget 157 160 158 161 } … … 257 260 258 261 /** 259 * Removes obsolete profile fields260 *261 * @return void262 */263 public function nuke_contact_methods( $contactMethods ) {264 265 unset( $contactMethods['yim'] );266 unset( $contactMethods['aim'] );267 unset( $contactMethods['jabber'] );268 269 return $contactMethods;270 271 }272 273 /**274 262 * Fixes curly quotes and badly formatted characters. One of my bigger pet peeves is curly quotes from word pastes 275 263 *
Note: See TracChangeset
for help on using the changeset viewer.