'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' => __( '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' ) ); } 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 ( ! $string_locator->failed_edit ) { $readfile = fopen( $file, "r" ); if ( $readfile ) { while ( ( $readline = fgets( $readfile ) ) !== false ) { $editor_content .= $readline; } } } else { $editor_content = stripslashes( $_POST['string-locator-editor-content'] ); } ?>

v.

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

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

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( '

%s

', esc_url( sprintf( 'https://developer.wordpress.org/reference/functions/%s/', $user_func ) ), $user_func . '( ' . implode( ', ', $attr_strings ) . ' )' ); } } ?>