Skip to content

Commit

Permalink
Fixed Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
samiahmedsiddiqui committed Jan 16, 2018
1 parent c5668c7 commit 86f301a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/class-custom-permalinks-frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function custom_permalinks_request( $query ) {
if ( ! $posts ) {
$def_query = apply_filters( 'custom_permalinks_like_query', '__false' );
if ( defined( 'POLYLANG_VERSION' ) || defined( 'AMP__VERSION' )
|| '__false' !== $def_query ) ) {
|| '__false' !== $def_query ) {
$sql = $wpdb->prepare( "SELECT p.ID, pm.meta_value, p.post_type, p.post_status FROM $wpdb->posts AS p " .
" LEFT JOIN $wpdb->postmeta AS pm ON (p.ID = pm.post_id) WHERE " .
" meta_key = 'custom_permalink' AND meta_value != '' AND " .
Expand Down

0 comments on commit 86f301a

Please sign in to comment.