id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 47087 flush_rewrite_rules() should check $wp_rewrite->flush_rules() is callable before calling it markjaquith SergeyBiryukov "I ran into this situation: > Uncaught Error: Call to a member function flush_rules() on null when some code was running `flush_rewrite_rules()` on shutdown. `flush_rewrite_rules()` should do a sanity check before calling, so it never causes a fatal error." defect (bug) closed normal 5.3 Rewrite Rules normal fixed good-first-bug has-patch