Andrew Nacin
|
541c45ba0e
|
Make network_admin_url() return admin_url() when not multisite like its home and site counterparts. Kill the now redundant maybe_network_admin_url() function. fixes #15840.
git-svn-id: https://develop.svn.wordpress.org/trunk@16994 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-16 09:31:42 +00:00 |
|
Andrew Nacin
|
266cd3f5df
|
Replace check_permissions() with ajax_user_can(). New method returns true/false to current_user_can(), which we then handle in admin ajax. see #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16992 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-16 09:18:28 +00:00 |
|
Andrew Nacin
|
8661cbc56e
|
Move check_permissions() out of ajax_response(). see #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16991 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-16 08:48:16 +00:00 |
|
Andrew Nacin
|
afecafe7ab
|
Remove check_permissions() calls outside of AJAX context. Also only check for switch_themes in check_permissions() for the themes table. see #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16990 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-16 08:43:22 +00:00 |
|
Andrew Nacin
|
e06249b885
|
We don't apply markup here. see #15742.
git-svn-id: https://develop.svn.wordpress.org/trunk@16988 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-16 08:04:54 +00:00 |
|
Andrew Nacin
|
3653bb7926
|
Use maybe_network_admin_url. see #15840.
git-svn-id: https://develop.svn.wordpress.org/trunk@16978 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-16 06:12:55 +00:00 |
|
Pete Mall
|
c500dc3d90
|
s/<? /<?php / in [16963].
git-svn-id: https://develop.svn.wordpress.org/trunk@16973 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-15 23:21:07 +00:00 |
|
Andrew Nacin
|
dd73d5d9d3
|
Post formats help text. fixes #15376.
git-svn-id: https://develop.svn.wordpress.org/trunk@16969 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-15 19:24:34 +00:00 |
|
Pete Mall
|
8b2dc546cf
|
This is only for use in the Network admin when it is always multisite.
git-svn-id: https://develop.svn.wordpress.org/trunk@16968 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-15 19:11:55 +00:00 |
|
Peter Westwood
|
ca8fa5e2bd
|
This is only for use in the Network admin when it is always multisite.
git-svn-id: https://develop.svn.wordpress.org/trunk@16967 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-15 19:09:50 +00:00 |
|
Peter Westwood
|
d48ff05f70
|
Re-instate this code so AJAX still works
git-svn-id: https://develop.svn.wordpress.org/trunk@16966 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-15 19:04:31 +00:00 |
|
Peter Westwood
|
424a82f2ef
|
Move post_type var setup back into edit.php and reinstate the cap check. See #15326
git-svn-id: https://develop.svn.wordpress.org/trunk@16965 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-15 18:58:05 +00:00 |
|
Andrew Nacin
|
31a1806d2e
|
Revert [16645]. see #15625.
git-svn-id: https://develop.svn.wordpress.org/trunk@16964 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-15 18:50:39 +00:00 |
|
Andrew Nacin
|
98aac89317
|
Plugin install and thickbox for the network admin. props ocean90, fixes #15510, fixes #15750.
git-svn-id: https://develop.svn.wordpress.org/trunk@16963 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-15 18:48:40 +00:00 |
|
Peter Westwood
|
f03dece666
|
Fix HTML validation errors. Fixes #15716.
git-svn-id: https://develop.svn.wordpress.org/trunk@16962 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-15 18:34:59 +00:00 |
|
Andrew Nacin
|
951bc1b23b
|
s/example-about-page/sample-page/. see #14973.
git-svn-id: https://develop.svn.wordpress.org/trunk@16959 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-15 17:55:49 +00:00 |
|
Andrew Nacin
|
4904a251a5
|
Don't show extra .0 in _deprecated_argument calls. They should appear in @since docs though.
git-svn-id: https://develop.svn.wordpress.org/trunk@16938 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-15 11:27:38 +00:00 |
|
scribu
|
510942bbfb
|
Limit height only to iframe body. Fixes #15679
git-svn-id: https://develop.svn.wordpress.org/trunk@16937 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-15 10:39:50 +00:00 |
|
Ryan Boren
|
5df71d4669
|
Expand/collapse in internal linking. Props koopersmith, nacin. see #15739
git-svn-id: https://develop.svn.wordpress.org/trunk@16931 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-15 02:36:24 +00:00 |
|
Andrew Nacin
|
fc524daa7f
|
Remove unneeded stripslashes. see #14543.
git-svn-id: https://develop.svn.wordpress.org/trunk@16923 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-14 18:56:15 +00:00 |
|
Andrew Nacin
|
dc821cedbf
|
Remove ceilings on recent comments and posts widgets and dashboard widgets. fixes #14543.
git-svn-id: https://develop.svn.wordpress.org/trunk@16922 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-14 17:58:47 +00:00 |
|
scribu
|
1d3a1c1460
|
Fix error when trashing a comment on the last page. Props garyc40. Fixes #15500
git-svn-id: https://develop.svn.wordpress.org/trunk@16911 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-14 11:53:31 +00:00 |
|
scribu
|
a8ad040d3c
|
Run parent title through 'the_title'. Props garyc40. Fixes #13968
git-svn-id: https://develop.svn.wordpress.org/trunk@16908 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-14 10:22:06 +00:00 |
|
Dion Hulse
|
c6f239ae68
|
Fix fatal error on IIS after r16797. props peaceablewhale. Limit variable string searching when possible. See #10187
git-svn-id: https://develop.svn.wordpress.org/trunk@16904 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-14 08:31:33 +00:00 |
|
Ryan Boren
|
7f21740324
|
Use https for preview links if is_ssl(). Props nacin, filosofo. fixes #13328
git-svn-id: https://develop.svn.wordpress.org/trunk@16903 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-13 22:38:27 +00:00 |
|
Ryan Boren
|
04e1d8553a
|
Add user id to lock. Props duck_. see #15130
git-svn-id: https://develop.svn.wordpress.org/trunk@16901 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-13 21:23:46 +00:00 |
|
Ryan Boren
|
6dc2d07bc4
|
Pink trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-13 21:21:50 +00:00 |
|
Ryan Boren
|
c5e9c0ce99
|
Bump ver.
git-svn-id: https://develop.svn.wordpress.org/trunk@16895 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-13 15:33:39 +00:00 |
|
Dion Hulse
|
3fcf08fe17
|
Add missing global for r16881 See #15781
git-svn-id: https://develop.svn.wordpress.org/trunk@16882 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-12 06:40:52 +00:00 |
|
Dion Hulse
|
81e923a291
|
Include Javascript Global variables in iframe_header(); Add extra style/script actions which are missing from iframe_header() to bring it inline with admin-header.php. Fixes #15781
git-svn-id: https://develop.svn.wordpress.org/trunk@16881 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-12 05:43:35 +00:00 |
|
Peter Westwood
|
721f2b01cf
|
Fix row hilighting when user is spam. See #15558 props beaulebens.
git-svn-id: https://develop.svn.wordpress.org/trunk@16879 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-11 09:40:49 +00:00 |
|
Andrew Nacin
|
3ebb27ae3e
|
Always exit after wp_redirect. props filosofo, fixes #15518.
git-svn-id: https://develop.svn.wordpress.org/trunk@16847 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 18:02:54 +00:00 |
|
Ryan Boren
|
c120fd98ee
|
Don't show the WP plugins widget in multisite in the site admin. Props ocean90. fixes #15748
git-svn-id: https://develop.svn.wordpress.org/trunk@16841 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 16:37:16 +00:00 |
|
Andrew Nacin
|
63d7b51d01
|
Adjust branching and errors in WP_Themes_List_Table::no_items(). fixes #15751.
git-svn-id: https://develop.svn.wordpress.org/trunk@16838 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 16:12:04 +00:00 |
|
scribu
|
a3c3dc3273
|
Fix strange JS error when trashing a comment. Props greuben. Fixes #15746
git-svn-id: https://develop.svn.wordpress.org/trunk@16836 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 14:16:35 +00:00 |
|
Andrew Nacin
|
bac58b8e62
|
Example About Page. props jane, studionashvegas. fixes #14973.
git-svn-id: https://develop.svn.wordpress.org/trunk@16835 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 13:20:40 +00:00 |
|
Andrew Nacin
|
f11e53166e
|
s/can_edit_site/can_edit_network/g. see #15720.
git-svn-id: https://develop.svn.wordpress.org/trunk@16833 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 12:36:39 +00:00 |
|
scribu
|
9835b5ff25
|
Add @return to add_*menu_page() docs. Fixes #15747
git-svn-id: https://develop.svn.wordpress.org/trunk@16831 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 06:54:48 +00:00 |
|
Andrew Nacin
|
684d85ff2f
|
Fix menu_page_url() for submenu pages attached to custom menu pages. props duck_, see #14159.
git-svn-id: https://develop.svn.wordpress.org/trunk@16829 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 04:02:37 +00:00 |
|
Andrew Nacin
|
fc9815537d
|
Add the for atteibute to internal linking labels. props batmoo, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16827 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 01:46:31 +00:00 |
|
Mark Jaquith
|
596471065a
|
Keep Dashboard RSS widgets in same place when configuring. props duck_. fixes #14785
git-svn-id: https://develop.svn.wordpress.org/trunk@16814 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-08 19:53:26 +00:00 |
|
Dion Hulse
|
d81779a74d
|
Remove visit site button gradient images from pre-3.0. see [16417]. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16796 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-08 10:01:18 +00:00 |
|
Andrew Nacin
|
19677466aa
|
Fix logic inversion. see #15699.
git-svn-id: https://develop.svn.wordpress.org/trunk@16794 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-08 09:28:20 +00:00 |
|
Andrew Nacin
|
668956d2ff
|
Handle posts without titles better in internal linking. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16784 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-08 00:22:43 +00:00 |
|
Andrew Nacin
|
137601189d
|
Don't show plugin edit link in the site admin. fixes #15722. fixes logic in [16777].
git-svn-id: https://develop.svn.wordpress.org/trunk@16778 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-07 21:14:44 +00:00 |
|
Andrew Nacin
|
35d7a02cba
|
Don't show plugin edit link in the site admin. fixes #15722.
git-svn-id: https://develop.svn.wordpress.org/trunk@16777 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-07 21:06:44 +00:00 |
|
Andrew Nacin
|
aa29bef29a
|
Don't check post counts in the network admin. props scribu, fixes #15699.
git-svn-id: https://develop.svn.wordpress.org/trunk@16775 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-07 20:54:04 +00:00 |
|
Andrew Nacin
|
b8569cefb7
|
Fix the background colors for the Select Files upload buttons. props TECannon. fixes #8545.
git-svn-id: https://develop.svn.wordpress.org/trunk@16773 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-07 19:42:57 +00:00 |
|
Ryan Boren
|
5eb199f6f3
|
Fix return the themes links. Props duck_. fixes #15718
git-svn-id: https://develop.svn.wordpress.org/trunk@16766 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-07 18:01:58 +00:00 |
|
Peter Westwood
|
f6b9beb519
|
Use a span so we mark up the all the info about the site. See #15716 - allows for css targetting based on site.
git-svn-id: https://develop.svn.wordpress.org/trunk@16765 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-07 15:00:30 +00:00 |
|