Ryan Boren
53ae0610e6
Check delete_site and delete_sites caps. Check for delete_user is more places.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16329 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 16:35:28 +00:00
Ryan Boren
4be07b9f8d
Check delete caps in network users admin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16328 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 16:00:41 +00:00
Ryan Boren
4ca2e2a1fa
Use install_themes cap
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16327 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 15:32:40 +00:00
Ryan Boren
2ac45785a3
Contextual help updates. Props dougwrites. see #15346
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16326 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 15:03:34 +00:00
Peter Westwood
c6b0c233c1
Use the l10n helper js file in the installer. See #15124 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16325 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 11:44:08 +00:00
Andrew Nacin
b929feb819
Remove dead code. props nathanrice, fixes #13893 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16324 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 11:26:14 +00:00
Mark Jaquith
2834d62548
Always add in the current post format, in case the theme was switched to one that does not support it. props anderswc. fixes #15393 . see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16316 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:21:17 +00:00
Mark Jaquith
d3684a509d
Add checks for WP_Error. props ptahdunbar. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16315 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:10:56 +00:00
Mark Jaquith
647422ad33
Switch to radio boxes for Post Format picking. Saves a click. Maybe we should do this with Post Status as well. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16314 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:05:33 +00:00
Andrew Nacin
d8c91db1f4
Remove more create_function calls. props huichen, see #14424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16313 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 22:50:36 +00:00
Andrew Nacin
19bb470821
Kill a create_function by introducing is_plugin_inactive. see #14424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16312 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 22:21:04 +00:00
Andrew Nacin
21a38007d8
Remove old header/footer link active state. props dremeda, fixes #14487 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16311 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 22:17:11 +00:00
Ryan Boren
31ecc8008a
Whitespace cleanup. Props sorich87. see #14147
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16306 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:57:22 +00:00
Ryan Boren
994d8ecab8
Farbtastic 1.3u. Props flashingcursor. fixes #14707
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16305 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:34:22 +00:00
Ryan Boren
b8ebc2cecb
Add screen options to site-themes. Props PeteMall. see #14897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16298 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 15:16:16 +00:00
Ryan Boren
f9729112f0
Fix logic. Props nacin. see #15357
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16297 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 14:34:51 +00:00
Ryan Boren
c5186dde67
Marksup fixes. see #15357
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16296 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 14:32:02 +00:00
Ryan Boren
bf41cf19fd
Better styling for add user form fields. see #15357
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16295 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 14:31:16 +00:00
Ryan Boren
c8d7cc8664
user-new.php revamp. Separate caps for adding users vs. creating users. Allow supes to add via email or username. Split adding existing users and creating new users into separate forms. see #15357
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16294 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 14:29:15 +00:00
Peter Westwood
21ac2fa767
Chop this off as we don't need it anymore. Fixes #13960 props filosofo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16293 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 14:10:59 +00:00
Andrew Nacin
aa3af048cc
blog_admin_notices for non-network-non-user, admin_notices for all. see #14696 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16292 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 12:32:22 +00:00
scribu
7d07e24e0b
Make 'registered' column sort by user id. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16290 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 11:47:10 +00:00
scribu
d95cfc6eab
Make 'registered' column sort by site id. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16289 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 11:45:32 +00:00
Peter Westwood
ea7bd69745
Generate Human Readable passwords as they are much more userfriendly. Fixes #13324 props Otto42.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16284 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 23:31:54 +00:00
Peter Westwood
6b1be702c4
Move the l10n helper function into a seperate js file so we can always output it first.
...
Fixes #15124 .
git-svn-id: https://develop.svn.wordpress.org/trunk@16282 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 21:53:30 +00:00
Peter Westwood
e6d62aeb48
Blankity Blank. Fixes #15380 props arena.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16281 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 20:54:56 +00:00
Andrew Nacin
7912dd4561
Use direct post_title instead of get_the_title() in get_inline_data(). reverts [13079] but adds trim() to solve original bug. fixes #14323 , props filosofo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16278 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 17:08:05 +00:00
Andrew Nacin
0f662479db
Super Admin filter for network/users.php. fixes #15371 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16277 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 17:05:20 +00:00
Andrew Nacin
ffd50167bd
Network admin multisite checks and docs. see #14435 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16272 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 14:27:15 +00:00
Andrew Nacin
3c62cf9519
Network Wide Settings -> Language Settings and kill the notice, which is implicit enough with the word 'Default.' see #14435 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16271 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 14:01:39 +00:00
Andrew Nacin
9ac3468253
Update phpdoc for wp_list_widgets(). fixes #15373 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16269 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 12:28:03 +00:00
Ryan Boren
1394e2ff9d
Give the user dashboard a more suitable title. see #14696
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16265 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 22:00:50 +00:00
Ryan Boren
f28e46af02
Route submenus added to old super admin menu to tools menu for now. see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16261 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 19:23:42 +00:00
scribu
49266ad2f0
Make admin screen titles filterable. Props caesarsgrunt. Fixes #15301
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16260 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 18:03:06 +00:00
Andrew Nacin
3a360acc5a
Default to 'post' in WP_Terms_List_Table. props filosofo, fixes #15351 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16254 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 06:38:53 +00:00
Andrew Nacin
4125fe393b
Set $tax as the taxonomy object, and kill off our colliding global from menu construction. see #15326 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16253 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 03:28:09 +00:00
Andrew Nacin
68eba28b16
Search for site-themes. props PeteMall, see #14897 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16252 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 02:16:45 +00:00
Andrew Nacin
c165557b3e
Introduce menu_name label for taxonomies and post types. Defaults to name. fixes #14832 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16251 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 02:09:00 +00:00
Andrew Nacin
1d7a732588
Use the name of the corresponding post type in the edit-tags column. TODO, typenow should be accessible from the current_screen object on edit-tags. see #14886 for current_screen, [15664] for previous TODO note.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16249 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:59:49 +00:00
Andrew Nacin
7be12299b7
Merge two strings in JS, which were merged elsewhere some time ago.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16248 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:52:02 +00:00
Andrew Nacin
b5178cd956
enter_title_here filter. fixes #13386 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16247 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:49:19 +00:00
Andrew Nacin
8a63e8ba33
Hide the slugdiv by default for custom post types. Restores behavior toggled in [15555]. see #14212 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16246 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:46:05 +00:00
Andrew Nacin
50dc640746
Use spaces for alignment. see #15343 [16236]
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16245 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:42:35 +00:00
scribu
a97018ab13
Fix admin comment reply. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16244 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 23:07:37 +00:00
Ryan Boren
e4a21e0527
Resurrect nav-tab-wrapper. Lost in [16136]. see #15154
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16243 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 22:12:46 +00:00
Ryan Boren
03d34fd1f8
site-themes.php cleanup. Props PeteMall. see #14897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16242 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 21:52:54 +00:00
Ryan Boren
fb54ba39cd
Use bool for allowed themes. Props PeteMall. see #14897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16241 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 19:40:05 +00:00
Ryan Boren
1af3887db1
Use submt_button(). see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16240 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:45:20 +00:00
Ryan Boren
7173e0d7b8
Update links. see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16239 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:40:57 +00:00
Ryan Boren
964e49b59f
Fix typo. Props PeteMall. see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16238 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:36:09 +00:00
Ryan Boren
77908514a6
Add the former contents of ms-admin.php to a right now widget for the network admin. see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16237 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:31:00 +00:00
Peter Westwood
73c3aa15f5
Encode quotes and chevrons in the HTML editor version of the generated captions too. Fixes #15343 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16236 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:15:14 +00:00
scribu
baaf0585dd
Use get_current_screen() in list table classes. Fixes #15338
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16235 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 15:43:44 +00:00
Peter Westwood
de1c45771a
Fix typo. See #15336 props Utkarsh.
...
Also actually correctly cast to boolean :-)
git-svn-id: https://develop.svn.wordpress.org/trunk@16234 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 10:21:34 +00:00
Peter Westwood
f091f10b0f
Fix typo. See #15336 props Utkarsh.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16232 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 09:15:47 +00:00
Peter Westwood
417830b4e6
Ensure that booleans are booleans for now. See #15336 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16231 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 08:16:28 +00:00
scribu
49ea9b06ef
WP_Media_List_Table: merge display_rows() and display_orphans(). See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16229 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 23:00:17 +00:00
scribu
e3026ae9ee
WP_Media_List_Table: remove code for displaying old 'actions' column. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16228 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 22:51:43 +00:00
scribu
9edce664dc
WP_Media_List_Table: Use class property instead of $detached global. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16227 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 22:47:12 +00:00
scribu
939cb492bb
Use screen id instead of base, to be consistent with older filters. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16226 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 21:49:23 +00:00
Ryan Boren
840e539c0e
Issue user_admin_notices for user admin. Issue admin_notices only for blog admin. Issue all_admin_notices for all dashboards. see #14696
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16224 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 17:40:12 +00:00
Peter Westwood
85952766d3
Extra cap checks. See #15326 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16222 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 10:07:35 +00:00
Peter Westwood
1626139659
Remove WP_SHOW_ADMIN_BAR and go off existing and new defines on page type. See #15315
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16221 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 09:41:03 +00:00
scribu
441237a5f4
Uncheck mass select checkbox when updating rows via ajax. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16218 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 23:07:00 +00:00
scribu
f159895605
Clean up WP_Terms_List_Table::column_default(). See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16214 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 22:11:15 +00:00
scribu
0b77523396
Make post column hooks consistent. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16212 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 21:16:46 +00:00
Ryan Boren
61b9bfba92
Remove role selector from network admin user-edit. Props PeteMall. see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16210 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 17:26:32 +00:00
scribu
a1c670189d
remove leading <li> from get_views() and add it later. Fixes #15321
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16205 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 14:34:09 +00:00
Mark Jaquith
7f219637fc
format-FOO classes on post edit row TR tags. props deanjrobinson. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16201 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 07:09:13 +00:00
Mark Jaquith
32ac7d22a6
get_post_format_string() to get nice version of a post format slug. Try appending post format as a post-status label. Enclose in square brackets to help it stand out. Remove post format strings filter. If this is going to be standard, it should be standard. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16198 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 03:04:13 +00:00
Mark Jaquith
c44eb74f66
Use post_type_supports() to check for whether a post type supports post formats. Only posts support it by default. props mikeschinkel. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16196 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 02:04:22 +00:00
scribu
419c42838b
Rename property _screen to screen. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16195 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 21:02:13 +00:00
scribu
393bdc04e3
Fix screen options for the network admin themes and plugins. Props ocean90. Fixes #15269 . Also fixes [16190]
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16194 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 20:49:30 +00:00
scribu
5d9b59521c
Network Themes cleanup. Props PeteMall. See #14897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16193 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 20:11:08 +00:00
scribu
ca6e0ce4f3
Revert [16182] for comments table. See#14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16192 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 20:04:31 +00:00
Mark Jaquith
6648c30823
Translate and prettify post formats for display. Also, filterable by themes/plugins to add new ones. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16191 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 18:33:50 +00:00
scribu
3944269814
Minor cleanups. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16190 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 18:28:58 +00:00
Mark Jaquith
e381bc093f
Limit post format UI to posts only, for now. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16188 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 18:02:24 +00:00
Mark Jaquith
018429a9f6
Do our return falses. Props duck_. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16187 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 17:58:04 +00:00
Peter Westwood
cf37645868
Check the current user can create sites before showing the button. See #14435 props PeteMall.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16185 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 17:21:25 +00:00
Ryan Boren
91e15d98c3
Check create_users cap. see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16184 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 16:27:18 +00:00
Ryan Boren
b80e0de594
Add new user page for network admin. Props PeteMall. see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16183 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 16:16:52 +00:00
scribu
7edd2f0090
Default to get_current_screen() in list table classes. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16182 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 15:00:55 +00:00
Peter Westwood
fa9fc10c6e
Add define('WP_SHOW_ADMIN_BAR' , false) for now. See #15315 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16177 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 08:40:27 +00:00
Peter Westwood
817aa1975c
Revert [16171] and [16172] - The class names were fine as they were and the MultiSite classes stand out more with the original naming.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16175 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 08:07:03 +00:00
Mark Jaquith
ef54c47f7a
add_theme_support( 'post-formats', array( 'aside', 'image', 'etc' ) ); Add UI for choosing a post format, and save the choice. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16174 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 07:41:07 +00:00
Andrew Nacin
8b0f87ebfd
Blue tweaks. props saracannon, see #15207 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16173 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 01:59:58 +00:00
scribu
d1034ad0d3
complete the renaming. props ocean90. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16172 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 22:06:45 +00:00
scribu
ed884411fe
List-table Class Names: Consistency's Revenge. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16171 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 21:09:27 +00:00
Ryan Boren
0ab95195d0
Allow trailing wildcard site searches by appending *. see #15170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16169 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 19:26:23 +00:00
Ryan Boren
358cdf6e23
Make IP query threshold more restrictive. see #15170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16167 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 18:40:12 +00:00
Ryan Boren
103523a499
Drop Sites search action dropdown. Determine the search action from the search string. see #15170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16166 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 18:28:02 +00:00
Peter Westwood
9afb0e7247
Much better description for the noconfirmation check box.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16164 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 15:04:34 +00:00
Ryan Boren
0c6730ed9b
Check for install_plugins cap too since it can be removed for supes. see #15163
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16163 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 14:57:10 +00:00
Ryan Boren
3c007cce8e
Lose wildcards in site search. Maybe bring it back as an option. see #15170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16161 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 13:57:43 +00:00
Ryan Boren
0ffd5e3012
Show latest x users with no paging if on a large network. see #15170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16160 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 13:34:04 +00:00
Peter Westwood
bb52f64946
Revert part of [16126] and restore the correct behaviour in the ms sites list. Fixes #15297 props ronbme
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16158 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 22:13:16 +00:00
Ryan Boren
d6e8a729a9
Default to id since registered doesn't have an index. see #15170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16157 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 21:23:26 +00:00
Andrew Nacin
e79975c334
Cleaned up WP logo for blue refresh. props saracannon, see #15207 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16153 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 16:33:23 +00:00
Andrew Nacin
59d3fd59c4
Implement the screen options toggle sprite across color schemes. props PeteMall, and use correct file ext, props ocean90. see #15207 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16152 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 15:35:10 +00:00
Andrew Nacin
118eb442e1
Add screen options toggle. props saracannon, see #15207 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16148 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 06:01:08 +00:00
Andrew Nacin
f95cfd07f3
Remove deleted file from the manifest. Note that most other blue files were never added. see #15207 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16147 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 05:24:58 +00:00
Andrew Nacin
c31ef3498a
Housekeeping for blue refresh. Script bumps, image bumps, remove unused blue-specific files. see #15207 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16146 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 05:05:27 +00:00
Andrew Nacin
14080bd9ce
Blue theme refresh, first pass. props saracannon. see #15207 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16145 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 04:52:44 +00:00
Andrew Nacin
f19844394b
Temporarily copy colors-fresh over colors-classic. Gray was used as a base for blue, it will be easier to see changes. see #15207 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16144 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 04:32:34 +00:00
Andrew Nacin
d583c2be0e
Add theme updates to the network themes screen. props PeteMall, see #14897 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16141 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 20:08:25 +00:00
Ryan Boren
2ceb9f8150
Add edit theme links. Props PeteMall. see #14897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16140 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 19:14:03 +00:00
Ryan Boren
a0349d55a1
For large networks, show the latest registered blogs without paging to avoid expensive count queries. see #15170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16137 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 17:53:03 +00:00
Peter Westwood
785bfd4b92
First pass of wp-admin.css cleanup from JohnONolan.
...
Merge conflicts manually resolved and marked for review
Not recompressed for now to allow for easier side by side testing.
So test with SCRIPT_DEBUG set to true.
See #14770 props JohnONolan
git-svn-id: https://develop.svn.wordpress.org/trunk@16136 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 16:30:27 +00:00
Ryan Boren
802c03455d
Die if user doesn't have caps for the post type. Props duck_. fixes #15259
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16135 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 16:28:35 +00:00
Ryan Boren
8207c0942b
edit.php markup fixes. Props wahgnube. fixes #15260
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16134 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 16:24:48 +00:00
Peter Westwood
506f71b660
Enable the dialog for paste as plain text in the new TinyMCE paste plugin. Fixes #15278 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16133 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 15:59:48 +00:00
Peter Westwood
08864673f3
Allow better contextual based filtering of the path to the image being edited by having specific filters for local filesystem and url based paths.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16130 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 10:36:35 +00:00
Peter Westwood
bf49078d9b
Group the Network admin List Tables class mapping seperately so they are easier to pick out. See #14435 , #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16129 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 09:24:32 +00:00
Peter Westwood
c4633bbd54
The big renaming of the list-table class files.
...
See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16128 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 09:19:50 +00:00
Peter Westwood
78d95aa459
Split out the list table functions into a seperate file from the base class.
...
See #14579 .
git-svn-id: https://develop.svn.wordpress.org/trunk@16127 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 08:56:27 +00:00
Peter Westwood
d34290a605
Correct the subdomain/non-subdomain logic when listing sites.
...
Tidy up the case statement.
See #15174 .
git-svn-id: https://develop.svn.wordpress.org/trunk@16126 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 08:43:24 +00:00
Peter Westwood
0abd20cd8d
Make the class to filename mapping easier to read.
...
Ensure that we support PHP4 for now by passing references to objects in list tables code.
See #14579 .
git-svn-id: https://develop.svn.wordpress.org/trunk@16125 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 08:37:02 +00:00
scribu
ddb20081c4
Fix search in network themes panel. Props PeteMall. See #14897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16123 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 23:26:38 +00:00
scribu
0c315e2c11
Add contextual help for Network -> Sites. Props PeteMall. See #14897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16122 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 23:23:32 +00:00
scribu
a3009772e7
make not_found puctuation translatable. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16121 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 23:21:56 +00:00
Andrew Nacin
c1afa3472d
Remove old ajax handler. props PeteMall, see #14897 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16120 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 18:20:09 +00:00
Andrew Nacin
95ba00c277
Translate a string.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16119 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 15:38:13 +00:00
scribu
0030431a66
Set $current_screen before creating list table. Props rovo89. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16118 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 13:52:35 +00:00
scribu
c75430c485
remove redundant 'Network ' prefix from action names and redundant display_tablenav() method. See #14897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16117 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 11:38:04 +00:00
Peter Westwood
9cba32348d
First pass at a new Network Admins page for Theme enable/disable/upgrade. See #14897 props PeteMall.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16113 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 09:37:15 +00:00
Peter Westwood
5dc465110a
Check for empty strings before indexing into them. Fixes #15265 props solarissmoke.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16112 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 09:29:57 +00:00
Andrew Nacin
a4548a9fe2
<br/> tags are self-closing. see #14579 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16110 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 05:13:46 +00:00
scribu
e20f409fd6
WP_List_Table::no_items() consistency fixes. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16109 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 01:29:23 +00:00
scribu
9142cadca4
Move no_items logic to WP_Comments_Table. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16108 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 01:17:00 +00:00
scribu
cf770863fe
Fix class in wp-admin/users.php submit button. See #15064
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16107 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 00:28:02 +00:00
scribu
7db59a9a89
Fix regression introduced by [16096]. Props duck_. See #14415
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16105 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 22:41:52 +00:00
Andrew Nacin
310a9b04d2
Move code out of the conditional. props duck_, fixes #14415 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16104 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 18:21:23 +00:00
Andrew Nacin
0ab13047ef
Use a create_users cap for Sites > Add New. fixes #14621 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16103 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 14:31:13 +00:00
Andrew Nacin
edc329c691
Begin the dissolution of classes.php. see #10287 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16099 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 07:02:06 +00:00
Andrew Nacin
0180091a56
Fix nested HTML in submit_button(). fixes #15257 , see #15064 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16097 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 06:14:15 +00:00
scribu
68d5bd05df
Optimize menu item creation. Props filosofo. Fixes #14415
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16096 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 00:13:45 +00:00
Andrew Nacin
d96e57bed8
Prevent network creation when OMG_DO_NOT_UPGRADE_GLOBAL_TABLES is defined. props wpmuguru, fixes #14246 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16094 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 22:44:05 +00:00
Andrew Nacin
8546c6797b
Kill what_to_show on upgrade. fixes #9815 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16092 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 22:39:05 +00:00
Andrew Ozz
d39d7e4ba4
Editor: utilize the new "formats" option in TinyMCE, fix errors in IE when pressing Enter inside a caption box, fix resizing of the caption box when the user soft-resizes the image in the editor, fixes #12574
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16090 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 20:06:00 +00:00
scribu
e76a5fe8b3
Fix bulk actions for Network Admin -> plugins. See #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16089 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 19:09:04 +00:00
Ryan Boren
f05e4fcd2b
Remove old screen options images. see #15163
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16088 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 19:00:15 +00:00
Ryan Boren
a25c426c9d
Add toggle sprite. see #15163
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16087 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 18:57:07 +00:00
Ryan Boren
e33e94e28d
Use a sprite for screen options toggle. Props TECannon PeteMall. see #15163
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16081 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 16:23:17 +00:00
Nikolay Bachiyski
1937c1221d
Introduce and use translate_nooped_plural(). Fixes #13996
...
* _n_noop() and _nx_noop() now return associative arrays for greater clarity
* translate_nooped_plural() takes one such associative array and translates it
* it works on both the result from _n_noop() and from _nx_noop()
* this breaks backwards compatibility, but I doubt any plugin uses it (I will do a global grep to confirm)
* translate_nooped_plural() is applied where applicable
git-svn-id: https://develop.svn.wordpress.org/trunk@16073 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 13:12:14 +00:00
Andrew Nacin
76d743274a
Restore submit_button() for user-new. props markmcwilliams, see #15064 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16067 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 00:32:03 +00:00
Andrew Nacin
e2dfe4f5c2
Revert submit_button() for wp-includes, setup-config, install, login, signup. see [16061], see #15064 , fixes #15247 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16066 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 00:31:27 +00:00
Mark Jaquith
d65cdf4ba8
Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16061 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 21:56:43 +00:00
Ryan Boren
4ae97bd34f
Don't show private attachment taxonomies in the uploader. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16057 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 18:53:09 +00:00
scribu
1d4e508a27
s/awhile/a while. Props johnbillion, PeteMall. Fixes #14462
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16049 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 15:30:39 +00:00
Peter Westwood
3365e10951
Add a filter to the mime type list displayed in the iframe media uploader when viewing the media library. Fixes #6348 props wojtek.szkutnik
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16047 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 12:41:37 +00:00
Andrew Nacin
524c263196
Don't show plugin update counts on the non network admin menu. props PeteMall, see #14435 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16040 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:38:02 +00:00
Andrew Nacin
036d6dbfa4
Don't show plugin update notifications outside of the network admin. props PeteMall, see #14435 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16037 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:31:16 +00:00
Andrew Nacin
35966ee4ac
Remove unnecessary bulk actions for plugins re: network admin. props PeteMall, see #14435 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16036 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:30:37 +00:00
Andrew Nacin
4f2d468602
Fix comment.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16032 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 06:52:33 +00:00
scribu
3c1191be53
Prevent double inclusion of plugin when already activated on main site. See #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16027 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 23:54:43 +00:00
Andrew Nacin
5fa521edf1
More self_admin_url. props PeteMall, see #14062 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16026 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 22:51:06 +00:00
Andrew Nacin
9cb09fd090
Docs for wp-admin/includes/file.php. props sivel, see #14783 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16024 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 22:24:06 +00:00
scribu
6289ec0a52
Fix variable name and re-minify list-table.js. See #15211
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16023 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 20:19:52 +00:00
scribu
b2f927ed76
Set additional fields when searching. Fixes #15211
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16022 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 20:17:00 +00:00
Ryan Boren
5fe33fe732
Use self_admin_url(). Props PeteMall. see #14062
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16015 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 16:52:35 +00:00
Ryan Boren
eb4985a24d
Action switch no longer needed. see #15174
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16014 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 16:06:40 +00:00
scribu
7d80f2e1b3
Don't call activation hooks when upgrading. Props joelhardi for initial patch. See #14915
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16012 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 13:40:14 +00:00
scribu
3682e8fc98
Pass $network_wide flag to de/activation hooks. See #14170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16011 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 13:20:53 +00:00
Andrew Nacin
dfa3d5561d
Improve the line height on div.updated, div.error. props joelhardi, fixes #14891 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16010 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 11:57:55 +00:00
Andrew Nacin
8db82e5ea1
Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16009 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:46:24 +00:00
Dion Hulse
82443ce769
Use Absolute URL's & API's in header redirects in more locations. See #14062
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16008 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:43:43 +00:00
Dion Hulse
3c4cd0b408
Use Absolute URL's in header redirects in wp-admin/plugin.php. See #14062
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16006 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:25:13 +00:00
Andrew Nacin
605b0c48e3
Don't check the raw edit_others_posts cap. see #12702 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16004 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:48:55 +00:00
Andrew Nacin
71c59b865a
Add a 'Sticky' filter on the edit posts page. Add post_in and post_not_in as private query vars in the WP class to support this. fixes #8466 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16003 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:27:45 +00:00
Andrew Nacin
8e5ba0694f
Language cleanup. props mrmist, fixes #14409 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16002 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:19:28 +00:00
Andrew Nacin
4dd97a09bf
Language cleanup. props jane, scribu, fixes #14585 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16001 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:14:48 +00:00
Peter Westwood
b138a1b60a
Bring back a seperate js file for the password strength meter and correctly mark it as a dependancy of the user profile code. See #5919 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15998 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 06:39:20 +00:00
Andrew Nacin
c1bbe2983f
Add 'Check Again' button and timestamp to update-core. Also return the same error message for themes as we do for plugins when no checkboxes are checked. fixes #14764 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15996 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 02:21:49 +00:00
Andrew Nacin
bb66fd85da
Use 'Visit Site' in header if blog has no name. props blepoxp, fixes #13978 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15992 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 01:48:08 +00:00
scribu
f9fa7ecc39
Round bottom-right corner of the screen options dropdown. Fixes #15226
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15986 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 22:15:58 +00:00
Andrew Nacin
5c3d8ff7b7
Remove trailing newlines. see #14579 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15985 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 20:21:27 +00:00
Andrew Nacin
fb3a8f92bf
Don't sort plugin descriptions column. Make on state for sortable columns black, not the typical link orange. fixes #15224 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15981 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 18:15:47 +00:00
Andrew Nacin
afde42977a
Fix Dashboard link in Network Admin on update-core. props PeteMall, see #14435 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15979 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:41:43 +00:00
Andrew Nacin
65cb97f7b7
s/awhile/a while/. props jane, PeteMall, fixes #15225 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15978 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:40:54 +00:00
Ryan Boren
b9187fc683
Remove “Actions: ” string from action links (on updater screens). Props demetris. fixes #15047
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15977 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:18:49 +00:00
Ryan Boren
7f1de33932
Hide more meta boxes by default. fixes #14212
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15976 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:14:31 +00:00
Ryan Boren
bff73fa973
Cause infinite recursion caused by malformed URLs. Props mdawaffe. fixes #14655
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15971 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 13:43:26 +00:00
Andrew Nacin
55db5a4d9d
Classes must be defined before they are extended. props PeteMall, see #14579 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15969 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 04:48:03 +00:00
Andrew Nacin
9c39f8bcf2
Fix custom background selector for IE7. props duck_, fixes #14152 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15966 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 03:42:14 +00:00
Andrew Nacin
f7345eb522
wp_htmledit_pre for salts in wp-admin/network. fixes #15092 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15965 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 03:36:23 +00:00
scribu
14d6d39a72
Remove dead 'delete-link-cat' ajax handler. See #12285
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15963 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 01:16:08 +00:00
Ryan Boren
ae76af21a9
Generalize seletion for h2 and h3 tabs. Props chrisbliss18 fixes #15154
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15962 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 20:45:58 +00:00
Andrew Nacin
b0208b5a8c
Importer and exporter overhaul, mega props duck.
...
Exporter overhaul:
* Add author information to export
* Greater usage of slug identifiers
* Don't export auto-drafts, spam comments, or edit lock/last meta keys
* Inline documentation improvements
* Remove filtering for now (@todo)
* Bump WXR version to 1.1, but remain back compat in the importer
Importer overhaul (http://plugins.trac.wordpress.org/changeset/304249 ):
* Use an XML parser where available (SimpleXML, XML Parser)
* Proper import support for navigation menus
* Many bug fixes, specifically improvements to category and custom taxonomy handling
* Better author/user mapping
Fixes #5447 #5460 #7400 #7973 #8471 #9237 #10319 #11118 #11144 #11354 #11574 #12685 #13364 #13394 #13453 #13454 #13627 #14306 #14442 #14524 #14750 #15055 #15091 #15108 .
See #15197 .
git-svn-id: https://develop.svn.wordpress.org/trunk@15961 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 20:43:52 +00:00
Andrew Nacin
d68060204a
Fix inverted logic. props duck_. fixes #15205 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15959 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 08:27:49 +00:00
Andrew Nacin
c1d8f9cd69
phpdoc for the various list table includes. see #14579 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15958 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 04:04:18 +00:00
Andrew Nacin
49589001bb
Commit the rest of [15955]. see #14579 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15956 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 02:58:25 +00:00
Andrew Nacin
2a7cb746de
Introduce require_list_table(), rework get_list_table() calls, split default-list-tables into individual files. see #14579 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15955 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 02:57:43 +00:00
Andrew Nacin
6f05802a40
Shuffle list-table files. First pass. see #14579 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15954 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 00:12:41 +00:00
Andrew Nacin
0799c3f519
Avoid extra conditional in the subdirectory rewrite rules. props wpmuguru, fixes #15083 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15949 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 21:09:33 +00:00
Andrew Nacin
4bc9423b85
Don't use deprecated path in wp_admin_css call.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15947 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 19:22:39 +00:00
Andrew Nacin
f392876ac7
Disable static page dropdowns when 'latest posts' is selected on Settings > Reading. props koopersmith, fixes #15205 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15946 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 19:20:52 +00:00
Andrew Nacin
787da5c464
Allow fields with a paragraph tag to align to top in the form-table on settings pages. see #15205 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15945 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 18:07:20 +00:00
scribu
31cb193012
Add sanitized plugin name as id attribute to plugin rows. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15944 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 15:46:33 +00:00
Andrew Nacin
46458ec3ca
Compress scripts and bump for [15939] [15940]. see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15941 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 03:03:52 +00:00
Andrew Nacin
f34a8de8ec
Internal linking, first pass. props koopersmith, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15940 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 02:58:42 +00:00
Andrew Ozz
790b4dbdf0
Clean list-table.js: when declaring JS object a comma after the last property is invalid, remove unused vars. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15939 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 20:52:49 +00:00
Andrew Nacin
cd50525faa
Don't show the admin bar in the plugin/theme installers. Inserts condition directly into iframe_header(). Allows show_admin_bar() to be called after init by unsetting wp_admin_bar, thus preventing render once those hooks are fired. see #14772 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15938 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 19:49:25 +00:00
scribu
7dc089e685
Revert [15925]. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15927 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 12:05:00 +00:00
scribu
0658668634
Set $plugin_file as plugin row id. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15925 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 11:46:01 +00:00
scribu
2146585c80
Use row_actions() in WP_Plugins_Table. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15924 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 11:22:00 +00:00
Ryan Boren
6f62e4f13c
Default send to editor to true if the post parent is empty. Props blepoxp. fixes #14133
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15920 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 20:17:17 +00:00
Ryan Boren
f2dbc7d273
Fix media dialog keyPress handling. Props mdawaffe. fixes #14394
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15918 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 19:23:00 +00:00
Ryan Boren
414b000848
Fix id
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15913 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 18:41:30 +00:00
scribu
04f36aafa9
Make plugin search & order methods, instead of standalone functions. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15912 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 11:08:35 +00:00
Andrew Nacin
48c841392a
Mid-page headers should be h3, not h2.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15910 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 00:27:12 +00:00
Andrew Nacin
c6f08a2929
And site-new, too. props PeteMall, see #15174 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15908 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 20:31:01 +00:00
Andrew Nacin
b61c50cbf3
Use correct network admin icon. props PeteMall, see #15174 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15907 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 20:24:54 +00:00
Andrew Nacin
337eeb3134
Checkboxes over radio buttons for site info tab. Values outside of 0/1 won't be changed, see #12832 for previous discussion. see #15174 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15906 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 20:23:54 +00:00
Ryan Boren
8b52b36850
Fix bulk network users nonce. Props duck_. fixes #15168
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15905 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 20:20:50 +00:00
Andrew Nacin
7e48ac3e78
Pruning shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15904 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 19:55:28 +00:00
Ryan Boren
69994bf7ca
Tabbed interface for site editing. see #15174
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15903 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 18:35:52 +00:00
Andrew Nacin
b41591f183
Please pardon my OCD.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15902 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:53:26 +00:00
Andrew Nacin
b25df4f549
Rename Update menu to Updates in network admin. see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15901 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:52:44 +00:00
Andrew Nacin
95332ccaa7
Hooks for user dashboard. props PeteMall, see #14696 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15900 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:51:49 +00:00
Andrew Nacin
df81af604c
Network admin theme install. props PeteMall, fixes #15184 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15898 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:06:52 +00:00
Andrew Nacin
6d20960c97
Pass user object through _wp_get_user_contactmethods() to the user_contactmethods filter. props aaroncampbell, fixes #15186 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15896 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:42:06 +00:00
Andrew Nacin
63f0dd2135
Add @since to new file. props markmcwilliams. see #15174 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15895 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:38:50 +00:00
scribu
bb3325a6df
Fix notices in WP_List_Table::ajax_response(). Props Utkarsh. Fixes #15185
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15894 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:30:35 +00:00
scribu
82a68a8979
Use isset() instead of '@'. Props Utkarsh. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15893 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:15:50 +00:00
Andrew Nacin
a2061db4b5
Use correct class.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15889 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 14:20:40 +00:00
scribu
a3ef15ffc0
Allow filtering comments by user_id via URL. Props neoxx. Fixes #14163
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15887 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 14:03:25 +00:00
Ryan Boren
e93f819e09
Move add site form to site-new.php. see #15174
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15886 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:49:49 +00:00
Ryan Boren
238431b624
Add network/update-core.php. see #15162
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15885 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:15:27 +00:00
Ryan Boren
682376a2ae
Use get_users() instead of get_users_of_blog(). Props scribu. see #15053
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15882 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:08:47 +00:00
Andrew Nacin
c4d5a5e4a6
Encode the amp in the edit-tags menu link for pages. props blepoxp, see #14489 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15881 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 12:42:48 +00:00
Andrew Nacin
60526c0fc8
Doc blocks for wp-admin/network. see #14435 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15880 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 11:21:13 +00:00
Andrew Nacin
333d76f339
Doc blocks for wp-admin/user. see #14696 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15879 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 11:14:22 +00:00
Andrew Nacin
82cd99503e
Dashboard widgets in the network admin. props PeteMall. see #15163 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15878 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 10:06:17 +00:00
Ryan Boren
76b207939d
Add query args argument to get_users_of_blog(). Limit number of users fetched for user lists in sites table and edit blog form. see #15053
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15876 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 20:43:32 +00:00
Ryan Boren
7734b05a71
Add update-core to network admin. Props PeteMall. see #15162
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15871 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 16:38:00 +00:00
Andrew Nacin
5382542c1a
Add some more network admin logic to the plugins list table. fixes #15166 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15870 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 16:09:55 +00:00
Andrew Nacin
e745378cab
Fix dashboard menu icon in network admin. props PeteMall, see #14435 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15869 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 14:52:10 +00:00
Andrew Nacin
ba2d60c7fd
Cast before implode. fixes #15167 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15868 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 14:22:47 +00:00
Ryan Boren
771bf8b862
Add plugin update notifications, plugin install, plugin update to the network admin screen. Props PeteMall. see #15129
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15867 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 14:16:03 +00:00
Ryan Boren
c9c814ab8c
Improved self determination. Props PeteMall. see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15866 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 14:08:29 +00:00
Andrew Nacin
8c710ff5e8
Add files we've deleted thus far to update-core.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15859 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 11:56:04 +00:00
Andrew Nacin
0aba879b95
Remove Lucida Grande from the sans serif font stack. fixes #8352 , props iammattthomas.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15858 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 10:30:28 +00:00
Andrew Nacin
92bf5ec246
Remove wp-admin/sidebar.php. fixes #15164 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15857 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 09:58:21 +00:00
Ryan Boren
898e5b0268
Plugin editing for network admin. Props PeteMall. see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15853 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 18:23:23 +00:00
Dion Hulse
43bfe31ce2
Prevent Notices in Incoming links widget. Fixes #14617
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15849 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 10:52:46 +00:00
Andrew Nacin
19f0fffed4
Remove debug cruft in [15844].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15845 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:59:26 +00:00
Andrew Nacin
22ba9295bf
Introduce show_in_menu for register_post_type. Allows post types to be a submenu. Accepts boolean and also a parent base. With help from duck_. fixes #14145 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15844 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:58:02 +00:00
Andrew Nacin
fb4e38b0e7
Pinking shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:48:22 +00:00
Andrew Nacin
fc71934f11
Full @since's for 3.1.0.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15842 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:38:42 +00:00