Challenge - 5 Problems
WordPress Update Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
Understanding Automatic Updates in WordPress
Which of the following statements about WordPress automatic updates is correct?
Attempts:
2 left
💡 Hint
Think about what WordPress updates automatically without user intervention.
✗ Incorrect
By default, WordPress automatically updates only minor core releases (like security and maintenance updates). Plugins and themes do not update automatically unless configured.
❓ component_behavior
intermediate2:00remaining
Behavior of wp-config.php Constants for Updates
What is the effect of adding
define('WP_AUTO_UPDATE_CORE', false); in the wp-config.php file?Attempts:
2 left
💡 Hint
Consider what the constant name suggests about core updates.
✗ Incorrect
Setting WP_AUTO_UPDATE_CORE to false disables all automatic core updates, both minor and major.
📝 Syntax
advanced2:00remaining
Correct Syntax to Enable Automatic Plugin Updates
Which code snippet correctly enables automatic updates for all plugins in WordPress?
Wordpress
<?php // Choose the correct snippet to enable automatic plugin updates
Attempts:
2 left
💡 Hint
Filters modify values; actions run code without changing values.
✗ Incorrect
The auto_update_plugin filter controls automatic updates for individual plugins. Returning true enables updates.
🔧 Debug
advanced2:00remaining
Debugging Automatic Theme Update Failure
A site owner added
add_filter('auto_update_theme', '__return_true'); to enable automatic theme updates, but themes are not updating automatically. What is the most likely cause?Attempts:
2 left
💡 Hint
Check the exact filter name spelling and plurality.
✗ Incorrect
The correct filter to enable automatic theme updates is auto_update_themes (plural). Using the singular form does nothing.
❓ state_output
expert3:00remaining
Result of Combined Update Filters
Given the following code in a WordPress plugin, what will be the output of
var_dump(wp_get_update_data()); regarding plugin updates?Attempts:
2 left
💡 Hint
Consider which filter controls individual plugin update behavior.
✗ Incorrect
The auto_update_plugin filter controls automatic updates for each plugin individually. Returning false disables updates even if auto_update_plugins returns true.