*
* @param string $value
* @return string
+ * @throws Exception
*/
private static function cssSerializeString( $value ) {
if ( strstr( $value, "\0" ) ) {
}
/**
- * @param ResourceLoaderContext $context
- * @return int UNIX timestamp
- */
- public function getModifiedTime( ResourceLoaderContext $context ) {
- return max(
- parent::getModifiedTime( $context ),
- $this->getHashMtime( $context )
- );
- }
-
- /**
- * @param ResourceLoaderContext $context
- * @return string Hash
+ * @return bool
*/
- public function getModifiedHash( ResourceLoaderContext $context ) {
- return md5(
- parent::getModifiedHash( $context ) .
- serialize( $this->getLessVars( $context ) )
- );
+ public function enableModuleContentVersion() {
+ return true;
}
/**