Skip to content

Commit

Permalink
fix phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
torounit committed Nov 23, 2020
1 parent 989b1e5 commit 71f1647
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions CPTP/Module/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,10 @@ public function setting_structure_callback_function( $option ) {
?>
<p>
<code><?php echo esc_html( home_url() . ( $slug ? '/' : '' ) . $slug ); ?></code>
<input name="<?php echo esc_attr( $name ); ?>" id="<?php echo esc_attr( $name ); ?>" type="text"
class="regular-text code "
value="<?php echo esc_attr( $value ); ?>" <?php disabled( $disabled, true, true ); ?> />
<input
name="<?php echo esc_attr( $name ); ?>" id="<?php echo esc_attr( $name ); ?>" type="text"
class="regular-text code "
value="<?php echo esc_attr( $value ); ?>" <?php disabled( $disabled, true, true ); ?> />
</p>
<p>has_archive: <code><?php echo esc_html( $pt_object->has_archive ? 'true' : 'false' ); ?></code> / with_front:
<code><?php echo esc_html( $pt_object->rewrite['with_front'] ? 'true' : 'false' ); ?></code></p>
Expand Down Expand Up @@ -202,7 +203,7 @@ public function enqueue_css_js() {
if ( ! is_network_admin() ) {
$dismissed = explode( ',', get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) );
if ( false === array_search( $pointer_name, $dismissed, true ) ) {
$content = '';
$content = '';
$content .= '<h3>' . __( 'Custom Post Type Permalinks', 'custom-post-type-permalinks' ) . '</h3>';
$content .= '<p>' . __( 'You can setting permalink for post type in <a href="options-permalink.php">Permalinks</a>.', 'custom-post-type-permalinks' ) . '</p>';

Expand Down

0 comments on commit 71f1647

Please sign in to comment.