src/i18n-wordpressorg-v3.php
private function set_defaults( $args ) {

		if ( ! isset( $args['glotpress_logo'] ) ) {
			$args['glotpress_logo'] = 'https://plugins.svn.wordpress.org/' . $args['textdomain'] . '/assets/icon-128x128.png';
		}

		if ( ! isset( $args['register_url'] ) ) {
			$args['register_url'] = 'https://translate.wordpress.org/projects/wp-plugins/' . $args['textdomain'] . '/';
		}

		if ( ! isset( $args['glotpress_name'] ) ) {
			$args['glotpress_name'] = 'Translating WordPress';
		}

		if ( ! isset( $args['project_slug'] ) ) {
			$args['project_slug'] = $args['textdomain'];
		}

		return $args;
	}
private function set_defaults( $args ) {

		if ( ! isset( $args['glotpress_logo'] ) ) {
			$args['glotpress_logo'] = 'https://plugins.svn.wordpress.org/' . $args['textdomain'] . '/assets/icon-128x128.png';
		}

		if ( ! isset( $args['register_url'] ) ) {
			$args['register_url'] = 'https://translate.wordpress.org/projects/wp-plugins/' . $args['textdomain'] . '/';
		}

		if ( ! isset( $args['glotpress_name'] ) ) {
			$args['glotpress_name'] = 'Translating WordPress';
		}

		if ( ! isset( $args['project_slug'] ) ) {
			$args['project_slug'] = $args['textdomain'];
		}

		return $args;
	}
private function set_defaults ( $ args ) { if ( ! isset ( $ args [ 'glotpress_logo' ] ) ) { $ args [ 'glotpress_logo' ] = 'https://plugins.svn.wordpress.org/' . $ args [ 'textdomain' ] . '/assets/icon-128x128.png' ; } if ( ! isset ( $ args [ 'register_url' ] ) ) { $ args [ 'register_url' ] = 'https://translate.wordpress.org/projects/wp-plugins/' . $ args [ 'textdomain' ] . '/' ; } if ( ! isset ( $ args [ 'glotpress_name' ] ) ) { $ args [ 'glotpress_name' ] = 'Translating WordPress' ; } if ( ! isset ( $ args [ 'project_slug' ] ) ) { $ args [ 'project_slug' ] = $ args [ 'textdomain' ] ; } return $ args ; }
Sets the default values for wordpress.org

@param array $args The arguments to set defaults for.

@return array The arguments with the arguments set.
Sets the default values for wordpress . org