afragen / wordpress-beta-tester

WordPress Beta Tester plugin

Home Page:https://wordpress.org/plugins/wordpress-beta-tester/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible Duplicate Code found πŸ•΅πŸ½β€β™‚οΈ

Preciousomonze opened this issue Β· comments

Possible code duplicate here:

<?php if ( false && 'branch-development' === self::$options['channel'] ) : ?>

From line 299 through 312
Reference below:

		<?php if ( false && 'branch-development' === self::$options['channel'] ) : ?>
			<tr>
				<th><label><input name="wp-beta-tester-beta-rc" id="update-stream-beta" type="radio" value="branch-beta" class="tog" <?php checked( 'branch-beta', self::$options['stream-option'] ); ?> />
				<?php esc_html_e( 'Beta/RC Only', 'wordpress-beta-tester' ); ?>
				</label></th>
				<td><?php esc_html_e( 'This is for the Beta/RC releases only of the selected channel.', 'wordpress-beta-tester' ); ?></td>
			</tr>
			<tr>
				<th><label><input name="wp-beta-tester-beta-rc" id="update-stream-rc" type="radio" value="branch-rc" class="tog" <?php checked( 'branch-rc', self::$options['stream-option'] ); ?> />
				<?php esc_html_e( 'Release Candidates Only', 'wordpress-beta-tester' ); ?>
				</label></th>
				<td><?php esc_html_e( 'This is for the Release Candidate releases only of the selected channel.', 'wordpress-beta-tester' ); ?></td>
			</tr>
			<?php endif; ?>

For Recap purpose: branch-development shows that stream option has the first value. see db data here.
image
Maybe I'm missing something πŸ€”

The values in the labels are different.