More Fixes for alternative mo mode
-
wp-performance-pack/modules/l10n_improvements/class.wppp_mo_dynamic.php
Line 562
Fixes notice for undefined npluralsif ( $t !== false ) { $ts = isset($this->_nplurals) ? explode( self::PLURAL_SEP, $t, $this->_nplurals ) : null; $i = $this->gettext_select_plural_form( $count ); if ( $ts && isset( $ts[ $i ] ) ) { return $ts[ $i ]; } else { return $default; } } else { $this->translations[$s] = $singular . self::PLURAL_SEP . $plural; $this->modified = true; return $default; }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘More Fixes for alternative mo mode’ is closed to new replies.