Commit Graph

15 Commits

Author SHA1 Message Date
Mike Jolley 85b4ca8c03 wc_has_notice function 2014-01-07 13:35:01 +00:00
Gregory K cdbe5950f0 PhpDocs and TODO comments 2013-11-28 11:49:30 -05:00
Coen Jacobs aaa14894ca Core functions woocommerce to wc refactor 2013-11-25 13:45:04 +01:00
thenbrent 3c625eba5f Use $messages variable for all notice templates 2013-11-13 16:19:59 -08:00
thenbrent a7a7a8ee08 fixup! Store all notices in 'wc_notices' array 2013-11-13 16:19:27 -08:00
thenbrent 8dcf86335c Introduce new wc_print_notice() function 2013-11-13 16:10:31 -08:00
thenbrent 3fa310969f Introduce new wc_get_notices() function
To replace the deprecated Woocommerce->get_messages() and
Woocommerce->get_errors() functions
2013-11-13 16:09:28 -08:00
thenbrent 376c2f26ce Store all notices in 'wc_notices' array
With 'error', 'success' & 'notice' array keys
2013-11-13 16:09:28 -08:00
thenbrent 41ba6578a0 Move notice templates into /notices/notice.php 2013-11-13 16:09:28 -08:00
thenbrent 2fcd615f88 Update calls to wc_print_messages() function
Part of #4034
2013-11-12 20:59:40 -08:00
thenbrent f3b1679ae5 Introduce new wc_print_notices() function
To replace wc_print_messages() function.

Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent 3707a9d017 Introduce wc_clear_notices() function
To replace wc_clear_messages() & wc_clear_errors() functions

Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent 23cdafccd4 Introduce new wc_add_notice() function
To replace wc_add_message() & wc_add_error() functions.

Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent b3aad6f6fe Introduce new wc_notice_count() function
To replace wc_message_count() & wc_error_count()

Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent c2646a7315 Rename message functions file for new notice API
Part of #4034
2013-11-12 20:59:04 -08:00