'WordPress', 'version' => get_bloginfo( 'version' ), 'author' => array( 'uri' => 'https://wordpress.org/', 'name' => 'WordPress', ), /* translators: The WordPress description, used when a core file is opened in the editor. */ 'description' => esc_html__( 'WordPress is web software you can use to create a beautiful website or blog. We like to say that WordPress is both free and priceless at the same time.', 'string-locator' ), ); } elseif ( 'theme' === $_GET['file-type'] ) { $themedata = wp_get_theme( $_GET['file-reference'] ); $details = array( 'name' => $themedata->get( 'Name' ), 'version' => $themedata->get( 'Version' ), 'author' => array( 'uri' => $themedata->get( 'AuthorURI' ), 'name' => $themedata->get( 'Author' ), ), 'description' => $themedata->get( 'Description' ), 'parent' => $themedata->get( 'parent' ), ); } elseif ( 'sql' === $_GET['file-type'] ) { $details = array( 'name' => 'Name', 'version' => 'Version', 'author' => array( 'uri' => 'author URI', 'name' => 'author name', ), 'description' => 'description', 'parent' => 'parent', ); } else { $plugins = get_plugins(); foreach ( $plugins as $pluginname => $plugindata ) { $pluginref = explode( '/', $pluginname ); if ( $pluginref[0] === $_GET['file-reference'] ) { $details = array( 'name' => $plugindata['Name'], 'version' => $plugindata['Version'], 'author' => array( 'uri' => $plugindata['AuthorURI'], 'name' => $plugindata['Author'], ), 'description' => $plugindata['Description'], ); } } } if ( 'sql' !== $_GET['file-type'] ) { $readfile = fopen( $file, 'r' ); if ( $readfile ) { while ( ( $readline = fgets( $readfile ) ) !== false ) { // phpcs:ignore WordPress.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition $editor_content .= $readline; } } } ?>

%s', 'string-locator' ), esc_html( $_GET['file-reference'] ) ); ?>

Child Theme.', 'string-locator' ); ?>

contributing to WordPress core instead.', 'string-locator' ); ?>

' . esc_html( $editor_content ) . ''; echo apply_filters( 'string_locator_editor_markup', $editor ); ?>

v.




getParameters(); $attr_strings = array(); foreach ( $attrs as $attr ) { $arg = ''; if ( $attr->isPassedByReference() ) { $arg .= '&'; } if ( $attr->isOptional() ) { $arg = sprintf( '[ %s$%s ]', $arg, $attr->getName() ); } else { $arg = sprintf( '%s$%s', $arg, $attr->getName() ); } $attr_strings[] = $arg; } $function_help .= sprintf( '', esc_url( sprintf( 'https://developer.wordpress.org/reference/functions/%s/', $user_func ) ), $user_func . '( ' . implode( ', ', $attr_strings ) . ' )' ); } } ?>