Files
ultimatemember/core
Sven Lehnert 03a2ee8fbd Move the check for um_flush_stop to the flush_rewrite_rules function to avoid add_rewrite_rule issues if other plugins flush_rewrite_rules.
We need to make sure the add_rewrite_rule is running each time otherwise the rewrite roles get lost if other plugins flush_rewrite_rules.

Now the um_flush_stop check is moved to the add_rewrite_rule function to make sure add_rewrite_rule is fired.
If the option "Stop rewriting rules on every load" is set to "on" and a plugin flush_rewrite_rules your add_rewrite_rule will get recognised.

I also added a filer 'up_rewrite_flush_rewrite_rules' to allow plugins to stop rewriting without manipulating the option array.

I hope this makes sense for you and help you. My english is not the best let me know if I got something wrong here or you have any question left. I like to help.
2016-04-30 14:13:08 +02:00
..
2016-04-01 20:09:57 +08:00
2016-03-17 15:09:49 -07:00
2016-03-03 22:04:23 +08:00
2016-03-03 22:04:23 +08:00
2016-04-21 11:19:06 +08:00
2016-04-16 21:14:29 +08:00
2015-11-05 19:51:31 +08:00
2016-03-03 22:04:23 +08:00
2014-12-15 22:38:07 +02:00
2015-05-18 14:12:50 +03:00
2016-04-01 21:05:26 +08:00
2015-01-09 03:08:31 +02:00
2015-04-07 20:10:23 +02:00
2015-11-05 19:51:31 +08:00
2016-04-10 21:54:52 +08:00
2016-04-11 21:20:26 +08:00
2015-03-12 18:22:29 +02:00
2015-04-25 21:41:47 +02:00
2015-03-10 14:27:56 +02:00
2016-03-26 10:19:21 -07:00
2015-11-05 19:51:31 +08:00
2015-02-01 01:30:04 +02:00
2015-02-02 02:10:06 +02:00
2016-02-18 14:17:49 -08:00
2016-04-05 13:13:41 +08:00
2015-01-15 17:15:12 +02:00
2014-12-15 22:38:07 +02:00
2016-02-25 20:54:04 +08:00
2016-03-19 10:37:29 +08:00
2016-04-27 23:16:54 +08:00
2015-01-05 03:26:23 +02:00
2014-12-15 22:38:07 +02:00
2016-04-16 15:26:32 +08:00
2014-12-15 22:38:07 +02:00
2015-02-11 00:50:38 +02:00
2015-05-18 14:12:50 +03:00
2016-04-05 13:13:41 +08:00
2016-04-27 22:44:56 +08:00
2016-04-23 21:35:39 +08:00
2014-12-15 22:38:07 +02:00
2015-12-28 15:00:30 -08:00
2016-04-21 09:59:11 +08:00
2015-01-14 00:16:44 +02:00
2016-04-14 22:47:35 +08:00
2015-04-25 21:41:47 +02:00
2016-04-23 21:35:39 +08:00
2015-11-05 19:51:31 +08:00