PluginProbe
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts / 2.2.7
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts v2.2.7
2.7.7 2.7.6 2.7.5 2.7.4 trunk 1.3 2.0.4 2.0.6 2.1.91 2.2.4 2.2.7 2.2.9 2.3.1 2.3.10 2.4.10 2.4.2 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.6.0 2.6.1 2.7.0 All 28 releases
← All changes | admin/includes/class.notices.php +3 -6 2.3.12.2.7 View file →
@@ -24,12 +24,9 @@
24 24 */
25 25 private $notices = [];
26 26
27 27 public function __construct() {
28 - /**
29 - * @since 2.2.8 Filter Name Changed
30 - */
31 - add_filter( 'wbcr/factory/admin_notices', [ $this, 'register_notices' ], 10, 2 );
28 + add_filter( 'wbcr_factory_notices_000_list', [ $this, 'register_notices' ], 10, 2 );
32 29 }
33 30
34 31 /**
35 32 * @author Alexander Kovalev <alex.kovalevv@gmail.com>
@@ -58,13 +55,13 @@
58 55 'post',
59 56 'post-new',
60 57 'edit'
61 58 ] );
62 - /*$this->add_notice( 'leave_feedback', $this->get_leave_feedback_notice(), 'success', true, time() + 3600 * 60, [
59 + $this->add_notice( 'leave_feedback', $this->get_leave_feedback_notice(), 'success', true, time() + 3600 * 60, [
63 60 'post',
64 61 'post-new',
65 62 'edit'
66 - ] );*/
63 + ] );
67 64
68 65 return array_merge( $notices, $this->notices );
69 66 }
70 67