Peter Westwood
0bb1061d57
Add the post status as a class so that a theme can easily style private posts differently. Fixes #15279 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16139 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 18:07:31 +00:00
Peter Westwood
3462e6af43
Add a post class if a password is required for the post to be displayed. See #13860 props zeo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16138 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 18:05:33 +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
Ryan Boren
2e4abe9e16
Use CPTs in admin bar menus. Props duck_. see #14772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16132 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 14:58:59 +00:00
Peter Westwood
250bf64df4
Apply the missing bits of the patch. Fixes #13891 props TobiasBg and zeo
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16131 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 14:45:11 +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
Peter Westwood
bdd159f7ca
Improve WPLANG example. Fixes #13891 props TobiasBg.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16124 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 08:23: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
scribu
33e3ef1367
Remove check on unexistant $ids var in WP_Query::get_posts. Props Utkarsh. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16116 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 11:28:49 +00:00
scribu
58f4333233
Use get_queried_object() in more get_*_template() functions. Fixes #15263
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16115 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 11:23:10 +00:00
scribu
b4988b968b
use get_queried_object() wrappers throughout. See #14015
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16114 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 11:02:17 +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
Peter Westwood
4d8416318e
Always capture ! as part of a url. See #14993 props filosofo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16111 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 09:09:29 +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
2285775e09
Add 'get_meta_sql' filter. Props sc0ttkclark for initial patch. Fixes #15018
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16106 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 00:21:06 +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
89645a1609
Remove the classes.php include and delay the lesser important remnants of classes.php. fixes #10287 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16102 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 14:13:43 +00:00
Andrew Nacin
88fa2b340c
File-level phpdoc for new class files. fixes #10287 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16101 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 14:09:05 +00:00
Andrew Nacin
f9c7ac66ec
Move Walker_Page* to post-template, Walker_Category* to category-template, and rm classes.php. see #10287 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16100 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 14:06:08 +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
ccee731f94
Kill the admin-bar directory. see #14772 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16098 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 06:40:04 +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
6524af3915
Add menu-item-object-$object class. props filosofo, fixes #14053 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16095 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 22:49:42 +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
82ae655534
Move an array cast further down the stack. props filosofo, fixes #13965 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16093 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 22:39:53 +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
Ryan Boren
af17458ed9
get_queried_obecjt() and get_queried_object_id(). Props filosofo. fixes #14015
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16091 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 20:48:54 +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