Changeset 11194
- Timestamp:
- 10/15/2016 05:47:54 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-avatars.php
r11091 r11194 1385 1385 global $pagenow; 1386 1386 1387 // Do not filter if inside WordPress options page.1388 if ( 'options-discussion.php' == $pagenow )1387 // Don't filter if inside WordPress options page and force_default is true. 1388 if ( 'options-discussion.php' === $pagenow && true === $args['force_default'] ) { 1389 1389 return $avatar; 1390 } 1390 1391 1391 1392 // If passed an object, assume $user->user_id.
Note: See TracChangeset
for help on using the changeset viewer.