[wp-meta] [Making WordPress.org] #7691: Strict comparison operator missing with post get_post_type() check

Making WordPress.org noreply at wordpress.org
Sun Jun 30 18:15:14 UTC 2024


#7691: Strict comparison operator missing with post get_post_type() check
---------------------------------------+--------------------
 Reporter:  deepakrohilla              |      Owner:  (none)
     Type:  defect (bug)               |     Status:  new
 Priority:  high                       |  Milestone:
Component:  Jobs (jobs.wordpress.net)  |   Keywords:
---------------------------------------+--------------------
 Strict check missing in post type check in jobswp theme.
 it should be <?php if ( 'post' === get_post_type() ) : ?> but currently it
 is <?php if ( 'post' == get_post_type() ) : ?>

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/7691>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list