private fun createTimerNotification(application: Application, body: String): Notification {
    return NotificationCompat.Builder(application, FOREGROUND_TIMER_NOTIFICATION_CHANNEL_ID)
        .setContentTitle("Title")
        .setContentText(body)
        .setColor(AccentPurple.toArgb())
        .setColorized(true)
        .setStyle(NotificationCompat.DecoratedCustomViewStyle())
        .setPriority(NotificationCompat.PRIORITY_MIN)
        .setWhen(0)
        .setSmallIcon(R.drawable.ic_launcher_foreground)
        .setOngoing(true)
        .build()
}

When WordPress goes to update, it creates a lock in the database so that multiple users and processes do not attempt to edit the system in parallel. However, there are cases when this lock is created, but the update never occurs. If this happens and the lock is not released, you will be blocked from retrying until you manually clean up the lock.

The lock is created in the database in the wp_options table. You need to find the option with the option name core_updater.lock and delete the row. Then you can return to the site and run the update again.

NuGet File Locations

NuGet Cache
Stores downloaded NuGet packages (.nupkg).

  • %LocalAppData%\NuGet\Cache
  • %UserProfile%\.nuget\packages

NuGet Configuration
The NuGet.Config file stores user defined NuGet package sources, credentials and proxy settings. The default location for this file is:

  • %AppData%\NuGet\NuGet.Config

Machine Wide NuGet Configuration
Machine wide configurations are used to define NuGet package sources specific to a machine or a particular IDE, such as Visual Studio.

  • %ProgramData%\NuGet\Config