Update to older wordpress version from admin?

You can hook on option_update_core and edit the update url, as a plugin you can do something like this (Remember to disable the plugin after updating wordpress) add_filter(‘option_update_core’,’wpse_26750′); add_filter(‘transient_update_core’,’wpse_26750′); function wpse_26750($options){ global $wp_version; $updates=array( ‘2.5’=>’http://wordpress.org/wordpress-2.5.zip’, ‘2.7.1’=>’http://wordpress.org/wordpress-2.7.1.zip’, ‘2.8’=>’http://wordpress.org/wordpress-2.8.zip’, ‘2.8.1’=>’http://wordpress.org/wordpress-2.8.1.zip’, ‘2.8.3’=>’http://wordpress.org/wordpress-2.8.3.zip’, ); $currentUpdate=$options->updates[0]; //Add Previous updates skipping the ones already passed foreach($updates as $version=>$updateUrl){ if( version_compare($wp_version,$version) < … Read more

Automating the Backup Process (30+ websites)

I’m not sure if this will address your issue… But there’s something new in WorldWordPress. http://infinitewp.com/ It’s akin to ManageWP, but free :o) I’m not affiliated with them in any form, just starting to play with it. (ht: wpmail.me) It’s a platform that you install in your server. Add the client plugin to your WPs. … Read more

How can I manually upgrade translations?

quick-and-dirty hint to solve this problem: find the function list_translation_updates() in wp-admin/update-core.php $updates = wp_get_translation_updates(); if ( ! $updates ) <- locate the if … } else { <- add this print_r ( $updates ); } add the else-case and save the file reload the dashboard page and you will get the desired information.

Set custom messages for post update/save

http://codex.wordpress.org/Function_Reference/register_post_type example: //add filter to ensure the text Book, or book, is displayed when user updates a book add_filter(‘post_updated_messages’, ‘codex_book_updated_messages’); function codex_book_updated_messages( $messages ) { global $post, $post_ID; $messages[‘book’] = array( 0 => ”, // Unused. Messages start at index 1. 1 => sprintf( __(‘Book updated. <a href=”https://wordpress.stackexchange.com/questions/17885/%s”>View book</a>’), esc_url( get_permalink($post_ID) ) ), 2 => … Read more

Enable update notification, disable updates

Add the following code in your child theme’s functions.php or package it as a custom plugin to easily enable/disable: add_action( ‘wp_before_admin_bar_render’, ‘wpse161696_toolbar_menu’ ); add_action( ‘admin_menu’, ‘wpse161696_updates’ ); function wpse161696_toolbar_menu() { // Remove update menu item from the toolbar global $wp_admin_bar; $wp_admin_bar -> remove_menu( ‘updates’ ); } function wpse161696_updates() { // Remove all updating related functions … Read more

WP-CLI not recognizing commercial plugin updates

What you experienced may be some network level problem or someone temporary removed the download resources. For instance before the update. Most of the details you can get from the source code https://github.com/wp-cli/wp-cli. Plugin update function in there looks like this. function update( $args, $assoc_args ) { if ( isset( $assoc_args[‘version’] ) ) { foreach … Read more

No CSS being loaded on backend

Adding these two lines to “wp-config.php” worked for me. I had the same issue. define( ‘CONCATENATE_SCRIPTS’, false ); define( ‘SCRIPT_DEBUG’, true ); Also, remember to clear cache on server and browser.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)