芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/Ultimate_VC_Addons/modules/ultimate_functions.php
' . join( '|', $known ) . ')[/ ]+(?
[0-9.|a-zA-Z.]*)#'; if ( ! preg_match_all( $pattern, $u_agent, $matches ) ) { //PHPCS:ignore:Generic.CodeAnalysis.EmptyStatement.DetectedIf // we have no matching number just continue. } // see how many we have. $i = count( $matches['browser'] ); if ( 1 != $i ) { // we will have two since we are not using 'other' argument yet. // see if version is before or after the name. if ( strripos( $u_agent, 'Version' ) < strripos( $u_agent, $ub ) ) { $version = $matches['version'][0]; } else { $version = $matches['version'][1]; } } else { $version = $matches['version'][0]; } // check if we have a number. if ( null == $version || '' == $version ) { $version = '?';} return array( 'name' => $bname, 'version' => $version, ); } /** * Funtion that prepare the array. * * @param array $atts represts module attribuits. * @method ult_prepareAtts */ function ult_prepareAtts( $atts ) { // PHPCS:ignore:WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid if ( isset( $atts ) ) { $return = str_replace( array( '``', ), array( '"', ), $atts ); } return $return; }