PluginProbe
GamiPress – Gamification plugin to reward points, badges & ranks in WordPress, now with AI / 8.0.3
GamiPress – Gamification plugin to reward points, badges & ranks in WordPress, now with AI v8.0.3
8.0.3 8.0.1 8.0.2 8.0.0 7.9.9.7 7.9.9.6 7.9.9.5 7.9.9.4 7.9.9.3 7.9.9.2 7.9.9.1 7.9.9 7.9.8 7.9.7 7.9.6 7.9.5 7.9.4 7.9.3 7.9.2 7.9.1 7.9.0 7.8.9 7.8.8 7.8.7 7.8.6 All 45 releases
← All changes | libraries/cmb2/includes/CMB2_Field.php +4 -6 8.0.08.0.3 View file →
@@ -433,11 +433,10 @@
433 433
434 434 // If no override, remove as usual.
435 435 if ( null !== $override ) {
436 436 return $override;
437 - } // End if.
438 - // Option page handling.
439 - elseif ( 'options-page' === $a['type'] || empty( $a['id'] ) ) {
437 + } elseif ( 'options-page' === $a['type'] || empty( $a['id'] ) ) {
438 + // Option page handling.
440 439 return cmb2_options( $a['id'] )->remove( $a['field_id'] );
441 440 }
442 441
443 442 // Remove metadata.
@@ -799,11 +798,10 @@
799 798
800 799 // Is timezone arg set?
801 800 if ( $this->args( 'timezone' ) ) {
802 801 $value = $this->args( 'timezone' );
803 - } // End if.
804 - // Is there another meta key with a timezone stored as its value we should use?
805 - elseif ( $this->args( 'timezone_meta_key' ) ) {
802 + } elseif ( $this->args( 'timezone_meta_key' ) ) {
803 + // Is there another meta key with a timezone stored as its value we should use?
806 804 $value = $this->get_data( $this->args( 'timezone_meta_key' ) );
807 805 }
808 806
809 807 return $value;