Fix help tabs
-
Logic of adding help tab is inverted, which means the tab shows on all pages EXCEPT recencio:
// in \Rcno_Reviews_Admin::rcno_reviews_help_tab if ( $screen && 'rcno_review' !== $screen->post_type ) { // should be if ( $screen && 'rcno_review' === $screen->post_type ) {
Alternatively, to match the “return early” comment in the code:
if ( ! ( $screen && 'rcno_review' === $screen->post_type ) ) { return; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fix help tabs’ is closed to new replies.