Ryan Boren
|
d2e7d2a8c3
|
Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@14303 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-29 18:24:45 +00:00 |
Ryan Boren
|
ab27ecda6d
|
Reset the global current_user object when the current user is changed.
git-svn-id: https://develop.svn.wordpress.org/trunk@14302 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-29 18:24:18 +00:00 |
Donncha O Caoimh
|
cbe8327f39
|
Display the original username on the signup form on error, fixes #13124
git-svn-id: https://develop.svn.wordpress.org/trunk@14298 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-29 16:05:33 +00:00 |
Ryan Boren
|
61a22bca5d
|
Set nopaging for the wp_get_nav_menu_items() get_posts() call to avoid pointless found rows queries. see #13134
git-svn-id: https://develop.svn.wordpress.org/trunk@14297 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-29 14:58:22 +00:00 |
Andrew Nacin
|
5dbf47294f
|
When posts/terms are deleted/trashed, update associated menu items. Deleted post = deleted menu item, trashed post = menu item becomes a draft. props filosofo, see #13174
git-svn-id: https://develop.svn.wordpress.org/trunk@14295 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-29 07:33:56 +00:00 |
Andrew Nacin
|
e70f958bff
|
Fix the ajax loading/processing spinner for nav menu meta boxes. see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14293 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-29 07:10:54 +00:00 |
Andrew Nacin
|
e7664da46d
|
Small fixes to the initial nav menu message. props koopersmith, see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14288 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-29 05:12:12 +00:00 |
Andrew Nacin
|
5a46795d60
|
Nav menu UI updates. props koopersmith, see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14287 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-29 03:43:39 +00:00 |
Andrew Nacin
|
b8f8327393
|
Fix handling of nav menu search, also menu naming conflicts. props filosofo, fixes #13138
git-svn-id: https://develop.svn.wordpress.org/trunk@14285 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-28 20:44:08 +00:00 |
Andrew Nacin
|
c5eb9e9c61
|
More nav menu fixes. props filosofo. see #13148. fixes #13155, fixes #13157, fixes #13138, see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14283 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-28 18:30:32 +00:00 |
Andrew Nacin
|
296d029bbc
|
RTL for nav-menu.php. first pass. props RanYanivHartstein, see #13166
git-svn-id: https://develop.svn.wordpress.org/trunk@14279 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-28 14:22:41 +00:00 |
Peter Westwood
|
6d490bcd88
|
Introduce a template file for the Front Page of a site. Has priority over every other template which applies and falls back to the standard template flow for the page / list of posts.
Fixes #6801
git-svn-id: https://develop.svn.wordpress.org/trunk@14276 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-28 07:48:09 +00:00 |
Peter Westwood
|
5dd4da6932
|
Revert [14268] - It is much better to use JavaScript for this kind of enhancement. Output buffering is too fragile. See #12564.
git-svn-id: https://develop.svn.wordpress.org/trunk@14274 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-28 07:17:20 +00:00 |
Andrew Nacin
|
a3d0926168
|
Don't serve dynamic robots.txt when WP is not installed at the root of a domain. props solarissmoke, fixes #13115
git-svn-id: https://develop.svn.wordpress.org/trunk@14273 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-28 06:37:15 +00:00 |
Andrew Nacin
|
385b717f08
|
Give menu items a default 'draft' state when added to the menu. props filosofo, fixes #13149
git-svn-id: https://develop.svn.wordpress.org/trunk@14270 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-28 04:56:50 +00:00 |
Andrew Nacin
|
54a577c537
|
Add full HTML filter to comment_form(), along with an echo arg. props joostdevalk, fixes #12564.
git-svn-id: https://develop.svn.wordpress.org/trunk@14268 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-28 04:28:51 +00:00 |
Andrew Nacin
|
8325eb1dc1
|
Verify nav menu items. props filosofo, fixes #13154.
git-svn-id: https://develop.svn.wordpress.org/trunk@14263 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-28 02:04:30 +00:00 |
Andrew Nacin
|
68db25c00c
|
Don't translate internal post stati. props nbachiyski, fixes #13024.
git-svn-id: https://develop.svn.wordpress.org/trunk@14262 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-27 22:36:46 +00:00 |
Andrew Nacin
|
e2e2836ad5
|
Explicitly set the capability required in edit_users map_meta_cap branch, so we don't accidentally pass edit_user. props TheDeadMedic. fixes #13074, fixes #13137
git-svn-id: https://develop.svn.wordpress.org/trunk@14256 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-27 20:39:39 +00:00 |
Andrew Nacin
|
5dbebf6cfc
|
Have media default to 'all', not false, in wp_enqueue_style. props koopersmith, fixes #13056.
git-svn-id: https://develop.svn.wordpress.org/trunk@14255 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-27 20:04:23 +00:00 |
Andrew Nacin
|
88bcfe2ec4
|
Simply search for newlines to strip instead of checking the oEmbed provider. fixes #12115.
git-svn-id: https://develop.svn.wordpress.org/trunk@14249 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-27 05:21:39 +00:00 |
Ryan Boren
|
77be931ef4
|
New menu UI. Props filosofo. see #12713
git-svn-id: https://develop.svn.wordpress.org/trunk@14248 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-27 01:05:58 +00:00 |
Ryan Boren
|
cb27ac1a30
|
Revert [14230]. Broke menu save. see #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@14247 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-27 00:44:38 +00:00 |
Ryan Boren
|
6ba4b97fc8
|
Fix custom tax and post type query var checks. Props prettyboymp. fixes #12857 #13076
git-svn-id: https://develop.svn.wordpress.org/trunk@14246 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-27 00:22:04 +00:00 |
Ryan Boren
|
3e9cc3ebd9
|
The read_post cap cannot be checked for sticky posts because not logged in users don't have any caps. see #11197
git-svn-id: https://develop.svn.wordpress.org/trunk@14245 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-26 22:12:28 +00:00 |
Ryan Boren
|
981960fa09
|
Introduce DISALLOW_UNFILTERED_HTML
git-svn-id: https://develop.svn.wordpress.org/trunk@14244 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-26 21:42:42 +00:00 |
Ryan Boren
|
24b7698dbf
|
Add RTL support to add_editor_style(). Props yoavf. fixes #13120
git-svn-id: https://develop.svn.wordpress.org/trunk@14240 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-26 14:56:57 +00:00 |
Ryan Boren
|
9df1546b16
|
Fix array handling in sanitize_bookmark_field(). Props mdawaffe. fixes #13098
git-svn-id: https://develop.svn.wordpress.org/trunk@14239 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-26 14:10:12 +00:00 |
Ron Rennick
|
be6734dd06
|
only append parent term slug until unique slug found, see #10712
git-svn-id: https://develop.svn.wordpress.org/trunk@14234 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-25 15:25:00 +00:00 |
Dion Hulse
|
b4051fba69
|
Add basic email/url validation to General options page. Prevents users entering a invalid Admin email or WordPress/Site Address which is not in URL form. Props technosailor for initial patch, slightly reworked. See #12868
git-svn-id: https://develop.svn.wordpress.org/trunk@14231 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-25 08:16:10 +00:00 |
Dion Hulse
|
e857394694
|
Allow edit posts page to save a empty set of terms for a custom hierarchical taxonomy. Props scribu for initial patch. See #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@14230 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-25 07:42:51 +00:00 |
Dion Hulse
|
c22f8eb989
|
Allow Terms to exist within multiple taxonomies (Regression in 3.0); If a term slug is provided on the form, Respect it (do not suffix it, instead, feedback with error); Do not allow hierarchical term names to exist multiple times within a set level (ie. AU/NSW + AU/NSW is bad, AU/NSW + AU/VIC + AU/VIC/NSW is ok). See #13060
git-svn-id: https://develop.svn.wordpress.org/trunk@14229 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-25 07:35:16 +00:00 |
Ron Rennick
|
7b91f92df5
|
fix site administrator add user to site logic, see #12488
git-svn-id: https://develop.svn.wordpress.org/trunk@14226 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-24 18:39:22 +00:00 |
Andrew Nacin
|
8d7f5fc554
|
Single quotes are way cooler.
git-svn-id: https://develop.svn.wordpress.org/trunk@14222 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-24 17:49:08 +00:00 |
Andrew Nacin
|
8178348739
|
Style bumps and compressed styles for r14187. see #13083.
git-svn-id: https://develop.svn.wordpress.org/trunk@14221 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-24 17:22:34 +00:00 |
Andrew Nacin
|
a732e95544
|
Prevent HTML editor from being resized horizontally. props nomulous, fixes #13064
git-svn-id: https://develop.svn.wordpress.org/trunk@14220 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-24 16:57:44 +00:00 |
Dion Hulse
|
87981059db
|
Change custom post_type default Rewrite endpoint mask to EP_PERMALINK to ensure comment paging rules are added. Removes redundant/non-usable EP_NONE branch. Fixes #13086
git-svn-id: https://develop.svn.wordpress.org/trunk@14219 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-24 14:42:30 +00:00 |
Dion Hulse
|
70d38b62ac
|
Fix DB upgrade kickoff for removal of usermeta fields. See r14212, r14213, see #13032
git-svn-id: https://develop.svn.wordpress.org/trunk@14218 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-24 10:29:01 +00:00 |
Dion Hulse
|
4c6df3a2e4
|
Ignore sticky posts which the current user cannot read, Ignore sticky posts which have been explicitly excluded with 'post__not_in'. Fixes #11197
git-svn-id: https://develop.svn.wordpress.org/trunk@14217 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-24 06:04:05 +00:00 |
Dion Hulse
|
62a7cce4f3
|
s/'%s'/%s/ in prepares. Props jamescollins. See r13673. See #12416
git-svn-id: https://develop.svn.wordpress.org/trunk@14211 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-24 03:04:05 +00:00 |
Peter Westwood
|
d192a8ca09
|
Switch to using esc_url{_raw} for the shortlink output as it is a url not just any attribute. Fixes #10640.
git-svn-id: https://develop.svn.wordpress.org/trunk@14208 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-23 21:23:32 +00:00 |
Peter Westwood
|
6908b105e4
|
Added escaping to wp_shortlink_wp_head() too. See #10640 props sirzooro.
git-svn-id: https://develop.svn.wordpress.org/trunk@14207 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-23 21:20:16 +00:00 |
Ryan Boren
|
8d9073103c
|
Introduce get_super_admins(). Allow hard-coding a global super_admins array and bypassing site options. fixes #12815
git-svn-id: https://develop.svn.wordpress.org/trunk@14206 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-23 20:34:03 +00:00 |
Andrew Nacin
|
9930e8cd4b
|
Make some branching look less crazy.
git-svn-id: https://develop.svn.wordpress.org/trunk@14203 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-23 19:00:30 +00:00 |
Ryan Boren
|
bd235b0c53
|
Return true. fixes #13094
git-svn-id: https://develop.svn.wordpress.org/trunk@14199 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-23 16:50:01 +00:00 |
Ryan Boren
|
353adc8969
|
Move ms_site_check() to after init and allow super admins to view blocked sites. see #13094
git-svn-id: https://develop.svn.wordpress.org/trunk@14198 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-23 16:18:33 +00:00 |
Ryan Boren
|
4f6c6647f3
|
Use rtrim() instead of untrailingslashit to avoid formatting.php dependency. Relying on formatting.php breaks SHORTINIT.
git-svn-id: https://develop.svn.wordpress.org/trunk@14197 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-23 16:10:48 +00:00 |
Andrew Nacin
|
de3a5eca3b
|
Fix typo in inline docs. props TobiasBg. see #13088
git-svn-id: https://develop.svn.wordpress.org/trunk@14196 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-23 15:32:31 +00:00 |
Andrew Nacin
|
46c6c0bcf7
|
Clarify language for non-publication of emails. props lloydbudd, fixes #13026.
git-svn-id: https://develop.svn.wordpress.org/trunk@14195 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-23 15:01:21 +00:00 |
Ryan Boren
|
bfe3ca3b90
|
Bring back delete on empty value for update_user_option() to preserve back compat. Switch to delete_user_option() in core. Props mdawaffe. fixes #13088
git-svn-id: https://develop.svn.wordpress.org/trunk@14193 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-23 14:25:05 +00:00 |