If I set a post to publish in the future, the publish meta_box throws a couple of errors when getting labels for the meta_box:
Notice: Undefined index: future in /app/public/wp-content/plugins/wp-statuses/inc/admin/classes/class-wp-statuses-admin.php on line 546
Notice: Undefined index: future in /app/public/wp-content/plugins/wp-statuses/inc/admin/classes/class-wp-statuses-admin.php on line 630
This fixes that by getting labels from the publish status rather than the non-existent future status labels.
If I set a post to publish in the future, the publish meta_box throws a couple of errors when getting labels for the meta_box:
This fixes that by getting labels from the
publish
status rather than the non-existentfuture
status labels.