Code Duplication    Length = 10-10 lines in 2 locations

inc/jetpack.php 2 locations

@@ 278-287 (lines=10) @@
275
			);
276
}
277
278
function lsx_client_meta_box( $object, $box ) { ?>
279
280
  <?php wp_nonce_field( 'lsx_save_portfolio', '_lsx_client_nonce' ); ?>
281
282
  <p>
283
    <input class="widefat" type="text" name="lsx-client" id="lsx-client" value="<?php echo esc_attr( get_post_meta( $object->ID, 'lsx-client', true ) ); ?>" size="30" />
284
    <br /><br />
285
    <label for="lsx-client"><?php esc_html_e( 'Enter the name of the project client', 'lsx' ); ?></label>
286
  </p>
287
<?php }
288
289
function lsx_website_meta_box( $object, $box ) { ?>
290
@@ 289-298 (lines=10) @@
286
  </p>
287
<?php }
288
289
function lsx_website_meta_box( $object, $box ) { ?>
290
291
  <?php wp_nonce_field( 'lsx_save_portfolio', '_lsx_website_nonce' ); ?>
292
293
  <p>
294
    <input class="widefat" type="text" name="lsx-website" id="lsx-website" value="<?php echo esc_attr( get_post_meta( $object->ID, 'lsx-website', true ) ); ?>" size="30" />
295
    <br /><br />
296
    <label for="lsx-website"><?php esc_html_e( 'Enter the URL of the project website', 'lsx' ); ?></label>
297
  </p>
298
<?php }
299
300
301
/**