• I have the following in a WP Code Lite PHP code snippet

    add_filter( 'allow_minor_auto_core_updates', '__return_true' ); // Enable minor updates
    add_filter( 'allow_major_auto_core_updates', '__return_true' ); // Enable major updates
    add_filter( 'auto_update_plugin', '__return_true' );
    add_filter( 'auto_update_theme', '__return_true' );

    however no WP updates are being applied, they are still outstanding 24 hours later.

    Help appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @srd75,

    Good day!

    Have you tried adding the code snippet to your theme’s function.php? If not, please give it a try and see if it works!

    Many thanks,

    Daryll

    Moderator threadi

    (@threadi)

    Where have you stored this information?

    Are you using plugins that prevent the import? Take a close look at the list.

    And: WordPress can only import the updates automatically if the web is called up in some way. Is it a local installation? If so, you have to make sure that it is called up yourself. Is it on a public server but blocked for access? Remove the block.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘auto updates not being applied’ is closed to new replies.