[wp-meta] [Making WordPress.org] #1559: Reading Settings fallback option when none is selected at Front page displays

Making WordPress.org noreply at wordpress.org
Fri Feb 5 18:39:58 UTC 2016


#1559: Reading Settings fallback option when none is selected at Front page
displays
-------------------+---------------------
Reporter:  Cybr    |      Owner:
    Type:  defect  |     Status:  new
Priority:  normal  |  Component:  General
Keywords:          |
-------------------+---------------------
 Hi,

 I found a bug that makes the home page think it's a page. (I didn't look
 at the WP_Query variables)

 Here are the steps to replicate the issue:
 1. Go to /wp-admin/options-reading.php
 2. Delete the selected option at "Front page displays" through Developer
 Tools/Web Inspector.
 3. Save settings.

 Now no setting is selected.

 The home page is a Posts Page but WP_Query doesn't recognize it as one,
 nor as a front page at all.

 This causes all kinds of issues when plugins/themes rely on
 `is_front_page()`.

 Thanks!

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


More information about the wp-meta mailing list