Changeset 4079
- Timestamp:
- 07/08/2012 03:00:38 PM (14 years ago)
- Location:
- branches/2.1/bbp-admin
- Files:
-
- 3 edited
-
bbp-forums.php (modified) (1 diff)
-
bbp-replies.php (modified) (1 diff)
-
bbp-topics.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1/bbp-admin/bbp-forums.php
r4070 r4079 87 87 */ 88 88 private function bail() { 89 if ( $this->post_type != get_current_screen()->post_type)89 if ( !isset( get_current_screen()->post_type ) || ( $this->post_type != get_current_screen()->post_type ) ) 90 90 return true; 91 91 -
branches/2.1/bbp-admin/bbp-replies.php
r4070 r4079 99 99 */ 100 100 private function bail() { 101 if ( $this->post_type != get_current_screen()->post_type)101 if ( !isset( get_current_screen()->post_type ) || ( $this->post_type != get_current_screen()->post_type ) ) 102 102 return true; 103 103 -
branches/2.1/bbp-admin/bbp-topics.php
r4070 r4079 99 99 */ 100 100 private function bail() { 101 if ( $this->post_type != get_current_screen()->post_type)101 if ( !isset( get_current_screen()->post_type ) || ( $this->post_type != get_current_screen()->post_type ) ) 102 102 return true; 103 103
Note: See TracChangeset
for help on using the changeset viewer.