Code Duplication    Length = 10-10 lines in 2 locations

inc/jetpack.php 2 locations

@@ 271-280 (lines=10) @@
268
			);
269
}
270
271
function lsx_client_meta_box( $object, $box ) { ?>
272
273
  <?php wp_nonce_field( 'lsx_save_portfolio', '_lsx_client_nonce' ); ?>
274
275
  <p>
276
    <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" />
277
    <br /><br />
278
    <label for="lsx-client"><?php esc_html_e( 'Enter the name of the project client', 'lsx' ); ?></label>
279
  </p>
280
<?php }
281
282
function lsx_website_meta_box( $object, $box ) { ?>
283
@@ 282-291 (lines=10) @@
279
  </p>
280
<?php }
281
282
function lsx_website_meta_box( $object, $box ) { ?>
283
284
  <?php wp_nonce_field( 'lsx_save_portfolio', '_lsx_website_nonce' ); ?>
285
286
  <p>
287
    <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" />
288
    <br /><br />
289
    <label for="lsx-website"><?php esc_html_e( 'Enter the URL of the project website', 'lsx' ); ?></label>
290
  </p>
291
<?php }
292
293
294
/**