westi
85a7330154
Add the post status as a class so that a theme can easily style private posts differently. Fixes #15279 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 18:07:31 +00:00
westi
e52d8a51bb
Add a post class if a password is required for the post to be displayed. See #13860 props zeo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 18:05:33 +00:00
ryan
e08e1bf63b
For large networks, show the latest registered blogs without paging to avoid expensive count queries. see #15170
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 17:53:03 +00:00
westi
0f284db680
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: http://svn.automattic.com/wordpress/trunk@16136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 16:30:27 +00:00
ryan
de0188c661
Die if user doesn't have caps for the post type. Props duck_. fixes #15259
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 16:28:35 +00:00
ryan
70295ae440
edit.php markup fixes. Props wahgnube. fixes #15260
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 16:24:48 +00:00
westi
5c88dc48e7
Enable the dialog for paste as plain text in the new TinyMCE paste plugin. Fixes #15278 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 15:59:48 +00:00
ryan
629eb4397d
Use CPTs in admin bar menus. Props duck_. see #14772
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 14:58:59 +00:00
westi
f00861d35f
Apply the missing bits of the patch. Fixes #13891 props TobiasBg and zeo
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 14:45:11 +00:00
westi
a4908141b8
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: http://svn.automattic.com/wordpress/trunk@16130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 10:36:35 +00:00
westi
8b62d686ca
Group the Network admin List Tables class mapping seperately so they are easier to pick out. See #14435 , #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 09:24:32 +00:00
westi
ad92d629d6
The big renaming of the list-table class files.
...
See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 09:19:50 +00:00
westi
c66629c140
Split out the list table functions into a seperate file from the base class.
...
See #14579 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@16127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 08:56:27 +00:00
westi
034621a8d7
Correct the subdomain/non-subdomain logic when listing sites.
...
Tidy up the case statement.
See #15174 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@16126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 08:43:24 +00:00
westi
a4d26eefc2
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: http://svn.automattic.com/wordpress/trunk@16125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 08:37:02 +00:00
westi
e1be64d2d0
Improve WPLANG example. Fixes #13891 props TobiasBg.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 08:23:02 +00:00
scribu
7c2662a476
Fix search in network themes panel. Props PeteMall. See #14897
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 23:26:38 +00:00
scribu
23e4925d6c
Add contextual help for Network -> Sites. Props PeteMall. See #14897
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 23:23:32 +00:00
scribu
c8bd2835a0
make not_found puctuation translatable. See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 23:21:56 +00:00
nacin
17654e64a5
Remove old ajax handler. props PeteMall, see #14897 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 18:20:09 +00:00
nacin
125733fff3
Translate a string.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 15:38:13 +00:00
scribu
82305ba20a
Set $current_screen before creating list table. Props rovo89. See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 13:52:35 +00:00
scribu
89e0ee3047
remove redundant 'Network ' prefix from action names and redundant display_tablenav() method. See #14897
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 11:38:04 +00:00
scribu
7f7d5e3c75
Remove check on unexistant $ids var in WP_Query::get_posts. Props Utkarsh. See #12891
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 11:28:49 +00:00
scribu
b890848aaa
Use get_queried_object() in more get_*_template() functions. Fixes #15263
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 11:23:10 +00:00
scribu
e2efa78154
use get_queried_object() wrappers throughout. See #14015
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 11:02:17 +00:00
westi
d8eee3d47f
First pass at a new Network Admins page for Theme enable/disable/upgrade. See #14897 props PeteMall.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 09:37:15 +00:00
westi
0597ad55c4
Check for empty strings before indexing into them. Fixes #15265 props solarissmoke.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 09:29:57 +00:00
westi
51c714b256
Always capture ! as part of a url. See #14993 props filosofo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 09:09:29 +00:00
nacin
7d66e163c2
<br/> tags are self-closing. see #14579 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 05:13:46 +00:00
scribu
d75cca7dcf
WP_List_Table::no_items() consistency fixes. See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 01:29:23 +00:00
scribu
bb99a95284
Move no_items logic to WP_Comments_Table. See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 01:17:00 +00:00
scribu
945115e73a
Fix class in wp-admin/users.php submit button. See #15064
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 00:28:02 +00:00
scribu
a37d9f9a1d
Add 'get_meta_sql' filter. Props sc0ttkclark for initial patch. Fixes #15018
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 00:21:06 +00:00
scribu
26a0767138
Fix regression introduced by [16096]. Props duck_. See #14415
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 22:41:52 +00:00
nacin
a512dbefb2
Move code out of the conditional. props duck_, fixes #14415 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 18:21:23 +00:00
nacin
b7392b4efd
Use a create_users cap for Sites > Add New. fixes #14621 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 14:31:13 +00:00
nacin
298bee314e
Remove the classes.php include and delay the lesser important remnants of classes.php. fixes #10287 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 14:13:43 +00:00
nacin
04deafb31c
File-level phpdoc for new class files. fixes #10287 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 14:09:05 +00:00
nacin
588523f119
Move Walker_Page* to post-template, Walker_Category* to category-template, and rm classes.php. see #10287 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 14:06:08 +00:00
nacin
731bf1fb06
Begin the dissolution of classes.php. see #10287 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 07:02:06 +00:00
nacin
244216d617
Kill the admin-bar directory. see #14772 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 06:40:04 +00:00
nacin
6c03909488
Fix nested HTML in submit_button(). fixes #15257 , see #15064 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 06:14:15 +00:00
scribu
089a7226f1
Optimize menu item creation. Props filosofo. Fixes #14415
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 00:13:45 +00:00
nacin
0fceac8180
Add menu-item-object-$object class. props filosofo, fixes #14053 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 22:49:42 +00:00
nacin
7c8538256d
Prevent network creation when OMG_DO_NOT_UPGRADE_GLOBAL_TABLES is defined. props wpmuguru, fixes #14246 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 22:44:05 +00:00
nacin
63d8410bfa
Move an array cast further down the stack. props filosofo, fixes #13965 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 22:39:53 +00:00
nacin
62b349e605
Kill what_to_show on upgrade. fixes #9815 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 22:39:05 +00:00
ryan
b2e698ed3d
get_queried_obecjt() and get_queried_object_id(). Props filosofo. fixes #14015
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 20:48:54 +00:00
azaozz
28466e59f1
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: http://svn.automattic.com/wordpress/trunk@16090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 20:06:00 +00:00