Completed
Push — master ( bcb67f...002924 )
by Fernando
03:04
created
page-templates/template-sitemap.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
 
6 6
 	<?php lsx_content_wrap_before(); ?>
7 7
 
8
-	<div id="primary" class="content-area <?php echo esc_attr( lsx_main_class() ); ?>">
8
+	<div id="primary" class="content-area <?php echo esc_attr(lsx_main_class()); ?>">
9 9
 
10 10
 		<?php lsx_content_before(); ?>
11 11
 
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 
14 14
 			<?php lsx_content_top(); ?>
15 15
 
16
-			<?php while ( have_posts() ) : the_post(); ?>
16
+			<?php while (have_posts()) : the_post(); ?>
17 17
 
18 18
 				<?php lsx_entry_before(); ?>
19 19
 
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
                         <?php lsx_sitemap_custom_post_type(); ?>
29 29
                     	
30 30
 					</div><!-- .entry-content -->
31
-					<?php edit_post_link( __( 'Edit', 'lsx' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>
31
+					<?php edit_post_link(__('Edit', 'lsx'), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>'); ?>
32 32
 
33 33
 					<?php lsx_entry_bottom(); ?>
34 34
 					
Please login to merge, or discard this patch.
index.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 
16 16
 	<?php lsx_content_wrap_before(); ?>
17 17
 
18
-	<div id="primary" class="content-area <?php echo esc_attr( lsx_main_class() ); ?>">
18
+	<div id="primary" class="content-area <?php echo esc_attr(lsx_main_class()); ?>">
19 19
 
20 20
 		<?php lsx_content_before(); ?>
21 21
 
@@ -23,17 +23,17 @@  discard block
 block discarded – undo
23 23
 		
24 24
 		<?php lsx_content_top(); ?>
25 25
 
26
-		<?php if ( have_posts() ) : ?>
26
+		<?php if (have_posts()) : ?>
27 27
 
28 28
 			<?php /* Start the Loop */ ?>
29
-			<?php while ( have_posts() ) : the_post(); ?>
29
+			<?php while (have_posts()) : the_post(); ?>
30 30
 
31 31
 				<?php
32 32
 					/* Include the Post-Format-specific template for the content.
33 33
 					 * If you want to override this in a child theme, then include a file
34 34
 					 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
35 35
 					 */
36
-					get_template_part( 'content', get_post_format() );
36
+					get_template_part('content', get_post_format());
37 37
 				?>
38 38
 
39 39
 			<?php endwhile; ?>
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 			
43 43
 		<?php else : ?>
44 44
 
45
-			<?php get_template_part( 'content', 'none' ); ?>
45
+			<?php get_template_part('content', 'none'); ?>
46 46
 
47 47
 		<?php endif; ?>
48 48
 
@@ -56,5 +56,5 @@  discard block
 block discarded – undo
56 56
 
57 57
 	<?php lsx_content_wrap_after(); ?>
58 58
 
59
-<?php get_sidebar( 'sidebar' ); ?>
59
+<?php get_sidebar('sidebar'); ?>
60 60
 <?php get_footer();
61 61
\ No newline at end of file
Please login to merge, or discard this patch.
header.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -12,16 +12,16 @@  discard block
 block discarded – undo
12 12
 <html <?php language_attributes(); ?>>
13 13
 <head>
14 14
 <?php lsx_head_top(); ?>
15
-<meta charset="<?php bloginfo( 'charset' ); ?>">
15
+<meta charset="<?php bloginfo('charset'); ?>">
16 16
 <link rel="profile" href="http://gmpg.org/xfn/11">
17
-<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
17
+<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
18 18
 <?php lsx_head_bottom(); ?>
19 19
 <?php wp_head(); ?>
20 20
 </head>
21
-<body <?php body_class( 'lsx' ); ?>>
21
+<body <?php body_class('lsx'); ?>>
22 22
 <?php lsx_body_top(); ?>
23 23
 
24
-<?php if ( !is_singular('landing-page') ) { ?>
24
+<?php if ( ! is_singular('landing-page')) { ?>
25 25
 
26 26
 	<?php lsx_header_before(); ?>
27 27
 		 	<header class="<?php lsx_header_classes(); ?>">
@@ -57,17 +57,17 @@  discard block
 block discarded – undo
57 57
 			    </div>
58 58
 
59 59
 			    <div class="header-links">
60
-			    	<strong><?php esc_html_e( 'Get your Tourism Establishment Online', 'lsx' ); ?></strong>
60
+			    	<strong><?php esc_html_e('Get your Tourism Establishment Online', 'lsx'); ?></strong>
61 61
 			    	
62 62
 			    	<?php 
63
-			    	if(is_singular('landing-page')){ 
64
-			    			$email_address = get_post_meta(get_the_ID(),'email_address',true);
65
-			    			if(false === $email_address){
63
+			    	if (is_singular('landing-page')) { 
64
+			    			$email_address = get_post_meta(get_the_ID(), 'email_address', true);
65
+			    			if (false === $email_address) {
66 66
 								$email_address = '[email protected]';
67 67
 							}
68 68
 			    	} ?>
69 69
 			    	
70
-			    	<span class="email-address"><?php esc_html_e( 'Questions? Email Us: ', 'lsx' ); ?><a href="mailto:<?php echo esc_attr( $email_address ); ?>"><?php echo esc_html( $email_address ); ?></a></span>
70
+			    	<span class="email-address"><?php esc_html_e('Questions? Email Us: ', 'lsx'); ?><a href="mailto:<?php echo esc_attr($email_address); ?>"><?php echo esc_html($email_address); ?></a></span>
71 71
 			    </div>
72 72
 		  	</div>
73 73
 
Please login to merge, or discard this patch.
content-none.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -10,22 +10,22 @@
 block discarded – undo
10 10
 
11 11
 <section class="no-results not-found">
12 12
 	<header class="page-header">
13
-		<h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'lsx' ); ?></h1>
13
+		<h1 class="page-title"><?php esc_html_e('Nothing Found', 'lsx'); ?></h1>
14 14
 	</header><!-- .page-header -->
15 15
 
16 16
 	<div class="page-content">
17
-		<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
17
+		<?php if (is_home() && current_user_can('publish_posts')) : ?>
18 18
 
19
-			<p><?php esc_html_e( 'Ready to publish your first post?', 'lsx' ); ?> <a href="<?php echo esc_url( admin_url( 'post-new.php' ) ) ?>"><?php esc_html_e( 'Get started here', 'lsx' ); ?></a></p>
19
+			<p><?php esc_html_e('Ready to publish your first post?', 'lsx'); ?> <a href="<?php echo esc_url(admin_url('post-new.php')) ?>"><?php esc_html_e('Get started here', 'lsx'); ?></a></p>
20 20
 
21
-		<?php elseif ( is_search() ) : ?>
21
+		<?php elseif (is_search()) : ?>
22 22
 
23
-			<p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'lsx' ); ?></p>
23
+			<p><?php esc_html_e('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'lsx'); ?></p>
24 24
 			<?php get_search_form(); ?>
25 25
 
26 26
 		<?php else : ?>
27 27
 
28
-			<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'lsx' ); ?></p>
28
+			<p><?php esc_html_e('It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'lsx'); ?></p>
29 29
 			<?php get_search_form(); ?>
30 30
 
31 31
 		<?php endif; ?>
Please login to merge, or discard this patch.
footer.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
  * @package lsx
8 8
  */
9 9
 ?>
10
-<?php if ( !is_singular('landing-page') ) { ?>
10
+<?php if ( ! is_singular('landing-page')) { ?>
11 11
 
12 12
 			</div><!-- .content -->
13 13
 		</div><!-- wrap -->
@@ -21,12 +21,12 @@  discard block
 block discarded – undo
21 21
 		  					    <div class="footer-menu">
22 22
 									<?php 
23 23
 									
24
-										if(!is_user_logged_in()){
25
-											if(has_nav_menu('footer-menu')){
24
+										if ( ! is_user_logged_in()) {
25
+											if (has_nav_menu('footer-menu')) {
26 26
 												wp_nav_menu(array('theme_location' => 'footer-menu'));
27 27
 											}
28
-										}else{
29
-											if(has_nav_menu('footer_logged_in')){
28
+										} else {
29
+											if (has_nav_menu('footer_logged_in')) {
30 30
 												wp_nav_menu(array('theme_location' => 'footer_logged_in'));
31 31
 											}
32 32
 										}				
@@ -41,26 +41,26 @@  discard block
 block discarded – undo
41 41
 
42 42
 			    		<?php lsx_footer_top(); ?>
43 43
 
44
-			      		<p class="credit <?php if ( has_nav_menu( 'social' ) || has_nav_menu( 'footer' ) ) { ?>credit-float<?php } ?>"><?php printf( esc_html__( '&#169; %1$s %2$s All Rights Reserved.', 'lsx' ), esc_html( date_i18n( 'Y' ) ), esc_html( get_bloginfo( 'name' ) ) ); ?></p>
45
-						<?php if ( has_nav_menu( 'social' ) ) { ?>
44
+			      		<p class="credit <?php if (has_nav_menu('social') || has_nav_menu('footer')) { ?>credit-float<?php } ?>"><?php printf(esc_html__('&#169; %1$s %2$s All Rights Reserved.', 'lsx'), esc_html(date_i18n('Y')), esc_html(get_bloginfo('name'))); ?></p>
45
+						<?php if (has_nav_menu('social')) { ?>
46 46
 							<nav id="social-navigation" class="social-navigation">
47 47
 								<?php
48 48
 									// Social links navigation menu.
49
-									wp_nav_menu( array(
49
+									wp_nav_menu(array(
50 50
 										'theme_location' => 'social',
51 51
 										'depth'          => 1,
52
-									) );
52
+									));
53 53
 								?>
54 54
 							</nav><!-- .social-navigation -->
55 55
 						<?php } ?>
56
-						<?php if ( has_nav_menu( 'footer' ) ) { ?>
56
+						<?php if (has_nav_menu('footer')) { ?>
57 57
 							<nav id="footer-navigation" class="footer-navigation">
58 58
 								<?php
59 59
 									// Footer links navigation menu.
60
-									wp_nav_menu( array(
60
+									wp_nav_menu(array(
61 61
 										'theme_location' => 'footer',
62 62
 										'depth'          => 1,
63
-									) );
63
+									));
64 64
 								?>
65 65
 							</nav><!-- .footer-navigation -->
66 66
 						<?php } ?>
@@ -87,15 +87,15 @@  discard block
 block discarded – undo
87 87
 
88 88
 			    		<?php lsx_footer_top(); ?>
89 89
 
90
-			      		<p class="credit <?php if ( has_nav_menu( 'social' ) ) { ?>credit-float<?php } ?>"><?php printf( esc_html__( '&#169; %1$s %2$s All Rights Reserved.', 'lsx' ), esc_html( date_i18n( 'Y' ) ), esc_html( get_bloginfo( 'name' ) ) ); ?></p>
91
-						<?php if ( has_nav_menu( 'social' ) ) { ?>
90
+			      		<p class="credit <?php if (has_nav_menu('social')) { ?>credit-float<?php } ?>"><?php printf(esc_html__('&#169; %1$s %2$s All Rights Reserved.', 'lsx'), esc_html(date_i18n('Y')), esc_html(get_bloginfo('name'))); ?></p>
91
+						<?php if (has_nav_menu('social')) { ?>
92 92
 							<nav id="social-navigation" class="social-navigation" role="navigation">
93 93
 								<?php
94 94
 									// Social links navigation menu.
95
-									wp_nav_menu( array(
95
+									wp_nav_menu(array(
96 96
 										'theme_location' => 'social',
97 97
 										'depth'          => 1,
98
-									) );
98
+									));
99 99
 								?>
100 100
 							</nav><!-- .social-navigation -->
101 101
 						<?php } ?>
Please login to merge, or discard this patch.
inc/customizer-core.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if ( ! defined( 'ABSPATH' ) ) return; // Exit if accessed directly
2
+if ( ! defined('ABSPATH')) return; // Exit if accessed directly
3 3
 
4 4
 /**
5 5
  * Customize Swatch Control Class
6 6
  *
7 7
  * @since 1.0.0
8 8
  */
9
-if( !class_exists( 'WP_Customize_Control' ) ){
9
+if ( ! class_exists('WP_Customize_Control')) {
10 10
 	return;
11 11
 }
12 12
 class LSX_Customize_Core_Control extends WP_Customize_Control {
@@ -22,13 +22,13 @@  discard block
 block discarded – undo
22 22
 	public function render_content() {
23 23
 		?> 
24 24
 		<label>
25
-			<?php if ( ! empty( $this->label ) ) { ?>
26
-				<span class="customize-control-title"><?php echo esc_html( $this->label ) ?></span>
25
+			<?php if ( ! empty($this->label)) { ?>
26
+				<span class="customize-control-title"><?php echo esc_html($this->label) ?></span>
27 27
 			<?php }
28
-			if ( ! empty( $this->description ) ) { ?>
29
-				<span class="description customize-control-description"><?php echo esc_html( $this->description ) ?></span>
28
+			if ( ! empty($this->description)) { ?>
29
+				<span class="description customize-control-description"><?php echo esc_html($this->description) ?></span>
30 30
 			<?php } ?>
31
-			<input <?php $this->link() ?> type="checkbox" value="<?php echo esc_attr( $this->value() ) ?>" <?php $this->input_attrs() ?>>
31
+			<input <?php $this->link() ?> type="checkbox" value="<?php echo esc_attr($this->value()) ?>" <?php $this->input_attrs() ?>>
32 32
 		</label>
33 33
 	<?php
34 34
 	}
Please login to merge, or discard this patch.
inc/google-font-collection.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if ( ! defined( 'ABSPATH' ) ) return; // Exit if accessed directly
2
+if ( ! defined('ABSPATH')) return; // Exit if accessed directly
3 3
 /**
4 4
  * Google Font_Collection Class
5 5
 **/
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 	**/
16 16
 	public function __construct($fonts)
17 17
 	{
18
-		if(empty($fonts))
18
+		if (empty($fonts))
19 19
 		{
20 20
 			//we didn't get the required data
21 21
 			return false;
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 		// create fonts
25 25
 		foreach ($fonts as $key => $value) 
26 26
 		{	
27
-			if( empty( $value["system"] ) ){
27
+			if (empty($value["system"])) {
28 28
 				$this->fonts[$value["title"]] = new LSX_Google_Font($value["title"], $value["location"], $value["cssDeclaration"], $value["cssClass"]);
29 29
 			}
30 30
 		}
@@ -106,9 +106,9 @@  discard block
 block discarded – undo
106 106
 		foreach ($this->fonts as $key => $value) 
107 107
 		{
108 108
 			$protocol = 'http';
109
-			if(is_ssl()){ $protocol.='s'; }
109
+			if (is_ssl()) { $protocol .= 's'; }
110 110
 			?>
111
-			<link href="<?php echo esc_attr( $protocol ); ?>://fonts.googleapis.com/css?family=<?php echo esc_attr( $value->__get( "location" ) ); ?>" rel='stylesheet'>
111
+			<link href="<?php echo esc_attr($protocol); ?>://fonts.googleapis.com/css?family=<?php echo esc_attr($value->__get("location")); ?>" rel='stylesheet'>
112 112
 			<?php
113 113
 		}
114 114
 	}
@@ -125,8 +125,8 @@  discard block
 block discarded – undo
125 125
 			foreach ($this->fonts as $key => $value) 
126 126
 			{
127 127
 				?>
128
-				.<?php echo esc_attr( $value->__get( "cssClass" ) ); ?>{
129
-					font-family: <?php echo esc_attr( $value->__get( "cssDeclaration" ) ); ?>;
128
+				.<?php echo esc_attr($value->__get("cssClass")); ?>{
129
+					font-family: <?php echo esc_attr($value->__get("cssDeclaration")); ?>;
130 130
 				}
131 131
 				<?php
132 132
 			}
Please login to merge, or discard this patch.
page-templates/template-archives.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
 
6 6
 	<?php lsx_content_wrap_before(); ?>
7 7
 
8
-	<div id="primary" class="content-area <?php echo esc_attr( lsx_main_class() ); ?>">
8
+	<div id="primary" class="content-area <?php echo esc_attr(lsx_main_class()); ?>">
9 9
 
10 10
 		<?php lsx_content_before(); ?>
11 11
 
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 
14 14
 			<?php lsx_content_top(); ?>
15 15
 
16
-			<?php while ( have_posts() ) : the_post(); ?>
16
+			<?php while (have_posts()) : the_post(); ?>
17 17
 
18 18
 				<?php lsx_entry_before(); ?>
19 19
 
@@ -22,28 +22,28 @@  discard block
 block discarded – undo
22 22
 					<?php lsx_entry_top(); ?>
23 23
 
24 24
 					<div class="entry-content">
25
-						<h2><?php esc_html_e( 'The Last 30 Posts', 'lsx' ); ?></h3>
25
+						<h2><?php esc_html_e('The Last 30 Posts', 'lsx'); ?></h3>
26 26
                         <ul>
27
-                            <?php $loop = new WP_Query( array( 'posts_per_page' => 30 ) ); ?>
28
-                            <?php if ( $loop->have_posts() ) { while ( $loop->have_posts() ) { $loop->the_post(); ?>
27
+                            <?php $loop = new WP_Query(array('posts_per_page' => 30)); ?>
28
+                            <?php if ($loop->have_posts()) { while ($loop->have_posts()) { $loop->the_post(); ?>
29 29
                                 <?php $loop->is_home = false; ?>
30
-                                <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> - <?php the_time( get_option( 'date_format' ) ); ?> - <?php echo esc_html( $post->comment_count ); ?> <?php esc_html_e( 'comments', 'lsx' ); ?></li>
30
+                                <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> - <?php the_time(get_option('date_format')); ?> - <?php echo esc_html($post->comment_count); ?> <?php esc_html_e('comments', 'lsx'); ?></li>
31 31
                             <?php } } wp_reset_postdata(); ?>
32 32
                         </ul>
33 33
 
34
-                        <h2><?php esc_html_e( 'Categories', 'lsx' ); ?></h3>
34
+                        <h2><?php esc_html_e('Categories', 'lsx'); ?></h3>
35 35
 
36 36
                         <ul>
37
-                            <?php wp_list_categories( 'title_li=&hierarchical=0&show_count=1' ); ?>
37
+                            <?php wp_list_categories('title_li=&hierarchical=0&show_count=1'); ?>
38 38
                         </ul>
39 39
 
40
-                        <h2><?php esc_html_e( 'Monthly Archives', 'lsx' ); ?></h3>
40
+                        <h2><?php esc_html_e('Monthly Archives', 'lsx'); ?></h3>
41 41
 
42 42
                         <ul>
43
-                            <?php wp_get_archives( 'type=monthly&show_post_count=1' ); ?>
43
+                            <?php wp_get_archives('type=monthly&show_post_count=1'); ?>
44 44
                         </ul>
45 45
 					</div><!-- .entry-content -->
46
-					<?php edit_post_link( esc_html__( 'Edit', 'lsx' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>
46
+					<?php edit_post_link(esc_html__('Edit', 'lsx'), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>'); ?>
47 47
 
48 48
 					<?php lsx_entry_bottom(); ?>
49 49
 					
Please login to merge, or discard this patch.
page-templates/template-portfolio.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@  discard block
 block discarded – undo
17 17
 
18 18
 			<?php lsx_content_top(); ?>
19 19
 
20
-			<?php if(have_posts()) { ?>
21
-				<?php while(have_posts()) { the_post(); ?>
20
+			<?php if (have_posts()) { ?>
21
+				<?php while (have_posts()) { the_post(); ?>
22 22
 					<div class="entry-content">
23 23
 						
24 24
 						<?php the_content(); ?>
@@ -29,10 +29,10 @@  discard block
 block discarded – undo
29 29
 			<?php } ?>
30 30
 
31 31
 			<?php
32
-				if ( get_query_var( 'paged' ) ) :
33
-					$paged = get_query_var( 'paged' );
34
-				elseif ( get_query_var( 'page' ) ) :
35
-					$paged = get_query_var( 'page' );
32
+				if (get_query_var('paged')) :
33
+					$paged = get_query_var('paged');
34
+				elseif (get_query_var('page')) :
35
+					$paged = get_query_var('page');
36 36
 				else :
37 37
 					$paged = 1;
38 38
 				endif;
@@ -41,18 +41,18 @@  discard block
 block discarded – undo
41 41
 					'post_type'      => 'jetpack-portfolio',
42 42
 					'posts_per_page' => 99,
43 43
 				);
44
-				$project_query = new WP_Query ( $args );
45
-				if ( post_type_exists( 'jetpack-portfolio' ) && $project_query -> have_posts() ) :
44
+				$project_query = new WP_Query($args);
45
+				if (post_type_exists('jetpack-portfolio') && $project_query -> have_posts()) :
46 46
 			?>
47 47
 			
48 48
 				<?php lsx_portfolio_sorter(); ?>
49 49
 
50 50
 				<div class="filter-items-wrapper lsx-portfolio-wrapper">
51 51
 					<div class="filter-items-container lsx-portfolio masonry">
52
-						<?php while ( $project_query -> have_posts() ) : $project_query -> the_post(); ?>
52
+						<?php while ($project_query -> have_posts()) : $project_query -> the_post(); ?>
53 53
 
54
-							<?php if(has_post_thumbnail()) { ?>
55
-								<?php get_template_part( 'content', 'portfolio' ); ?>
54
+							<?php if (has_post_thumbnail()) { ?>
55
+								<?php get_template_part('content', 'portfolio'); ?>
56 56
 							<?php } ?>
57 57
 
58 58
 						<?php endwhile; ?>
@@ -63,17 +63,17 @@  discard block
 block discarded – undo
63 63
 
64 64
 				<section class="no-results not-found">
65 65
 					<header class="page-header">
66
-						<h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'lsx' ); ?></h1>
66
+						<h1 class="page-title"><?php esc_html_e('Nothing Found', 'lsx'); ?></h1>
67 67
 					</header><!-- .page-header -->
68 68
 
69 69
 					<div class="page-content">
70
-						<?php if ( current_user_can( 'publish_posts' ) ) : ?>
70
+						<?php if (current_user_can('publish_posts')) : ?>
71 71
 
72
-							<p><?php esc_html_e( 'Ready to publish your first project?', 'lsx' ); ?> <a href="<?php echo esc_url( admin_url( 'post-new.php?post_type=jetpack-portfolio' ) ) ?>"><?php esc_html_e( 'Get started here', 'lsx' ); ?></a></p>
72
+							<p><?php esc_html_e('Ready to publish your first project?', 'lsx'); ?> <a href="<?php echo esc_url(admin_url('post-new.php?post_type=jetpack-portfolio')) ?>"><?php esc_html_e('Get started here', 'lsx'); ?></a></p>
73 73
 
74 74
 						<?php else : ?>
75 75
 
76
-							<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'lsx' ); ?></p>
76
+							<p><?php esc_html_e('It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'lsx'); ?></p>
77 77
 							<?php get_search_form(); ?>
78 78
 
79 79
 						<?php endif; ?>
Please login to merge, or discard this patch.