-
Notifications
You must be signed in to change notification settings - Fork 170
Replace wpmu_current_site() in sunrise.php #303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Btw. this isn't the only notice/warning I get after updating my local WordPress to 3.9.1. I can't tell if they are related or not. This is the full list:
|
Thanks to all of the cool stuff I thought about while writing jquery.com's sunrise.php two years ago, and since implemented in WordPress 3.9, we can greatly simplify sunrise.php. But it'll work fine until that happens. Happy to dig in once I'm back from my current trip next week. |
Thanks to @nacin for the tip Closes jquerygh-316 Ref jquery#303
Thanks to @nacin for the tip Closes jquerygh-316 Ref jquery#303
Great, thanks! |
@nacin I still got this when I use WordPress 3.9 and up (4.1). My PHP Version is 5.5.9. I just don't know how to solve this. |
Yeah, I still get those, too. |
Ping @nacin - this isn't really blocking me from pushing infrastructure updates, but it is very unfortunate. Any chance you can update this process for us or suggest someone who could help? |
Hey all, sorry for never following up on this. I'm slammed through the end of the month but I asked @jeremyfelt (the WordPress multisite maintainer) if he has time to look. This should not be hard to fix -- stuff changed in 3.9 to make things better, and in the process broke my hack while also making it easier to do what I had originally tried to do. My work on jquery-wp-content specifically led to the work in core, so thank you for inspiring WP development! |
In
sunrise.php
we currently usewpmu_current_site()
. This was deprecated in 3.9 with no replacement: https://core.trac.wordpress.org/ticket/27702@nacin since you implemented that change, can you recommend a replacement or implement one? Thanks.
The text was updated successfully, but these errors were encountered: