mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-08 22:54:36 +00:00
Coding Standards: Use MINUTE_IN_SECONDS where appropriate.
This aims to clarify the time units for some timeout or expiration values. Follow-up to [11823], [13177], [21996], [37747]. See #55647. git-svn-id: https://develop.svn.wordpress.org/trunk@53714 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -203,7 +203,7 @@ if ( $structure_updated ) {
|
||||
add_settings_error( 'general', 'settings_updated', $message, 'success' );
|
||||
}
|
||||
|
||||
set_transient( 'settings_errors', get_settings_errors(), 30 );
|
||||
set_transient( 'settings_errors', get_settings_errors(), MINUTE_IN_SECONDS / 2 );
|
||||
|
||||
wp_redirect( admin_url( 'options-permalink.php?settings-updated=true' ) );
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user