[wp-trac] [WordPress Trac] #19807: Clicking Preview in Multisite Creates 404 Error
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 11 17:13:39 UTC 2012
#19807: Clicking Preview in Multisite Creates 404 Error
--------------------------+-----------------------------
Reporter: oateslarsen | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.3.1
Severity: critical | Keywords:
--------------------------+-----------------------------
Since upgrading to Multi-Site, we've had an ongoing problem with
individual blog owners being able to click on the Preview button to see
how a draft item will appear before being published.
It seems this is specific to when network mode is enabled.
Upon further research, I found the following that clears up the problem:
{{{
go to the file template-loader.php in wp-include folder and comments the
line number 7 which should be do_action('template_redirect'); so please
make it like this
//do_action('template_redirect');
and it will sort out preview post issue in multisite setup.
}}}
Indeed this does resolve the issue, however I HATE tweaking core files. I
have searched within WordPress.org Forums as well as for any existing bugs
here and was unable to find this registered as a "bug" nor could I find an
answer to the problem within the Forum, so I wanted to be sure it is
logged.
Andrea_r said to post here.
Thanks
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19807>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list