Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ Standard features of the following plugins will be manipulated or extended.
* Podlove Publisher
* Podlove Web Player
* The SEO Framework
* UpdraftPlus
* wpRocket

### Activity Pub
Expand Down Expand Up @@ -140,6 +141,10 @@ Standard features of the following plugins will be manipulated or extended.
* Create Cannonical URLs for TootPress and Mathilda Pages
* Create NEXT and PREV Links for TootPress and Mathilda Pages

### UpdraftPlus

* Fade out the annoying Message on Upgrade Page

### wpRocket

* Remove TootPress Pages from Cache if new Toots have been loaded
Expand Down Expand Up @@ -208,6 +213,7 @@ Release pending.
* Added: Remove Mastodon Account @ Federated Comment
* Added: Block Editor Support Custom Post Type Pinseldisko
* Added: Block Editor Support Custom Post Type Raketenstaub
* Added: Fade Out UpdraftPlus Upgrade Message
* Changed: Maintenance Mode Internal Processing
* Changed: Depreciated TSF Filters replaced with the_seo_framework_meta_render_data
* Removed: Adding Current Menu Item
Expand Down
31 changes: 31 additions & 0 deletions unmus_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,35 @@ function unmus_themes_update() {
// Disable themes auto-update email notifications.
add_filter( 'auto_theme_update_send_email', '__return_false' );

/**
* The annoying Message
*
* Plugin: UpdraftPlus
* Fades out the Message on WordPress Upgrade Page
*
* @since 0.8
*/

function unmus_updraft_message_invisible() {

// Get current page
global $pagenow;

// Run on specific pages only
if ( $pagenow == 'update-core.php') {

echo "
<style type='text/css'>
.updraft-ad-container {
display:none !important;
}
</style>
";
}

}
if(function_exists('updraftplus_list_cron_schedules')) {
add_action( 'admin_head', 'unmus_updraft_message_invisible' );
}

?>