Commit Graph

14690 Commits

Author SHA1 Message Date
westi
2cd45b9938 Fix typo. See #15336 props Utkarsh.
Also actually correctly cast to boolean :-)

git-svn-id: http://svn.automattic.com/wordpress/trunk@16234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 10:21:34 +00:00
westi
c95930fa12 Fix typo in error message. Props PeteMall
git-svn-id: http://svn.automattic.com/wordpress/trunk@16233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 10:08:51 +00:00
westi
f7641e08fe Fix typo. See #15336 props Utkarsh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 09:15:47 +00:00
westi
80adf4829f Ensure that booleans are booleans for now. See #15336.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 08:16:28 +00:00
scribu
41592d266b Remove nofollow on comment reply links. Fixes #10550
git-svn-id: http://svn.automattic.com/wordpress/trunk@16230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-07 01:06:37 +00:00
scribu
bbcf03f678 WP_Media_List_Table: merge display_rows() and display_orphans(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 23:00:17 +00:00
scribu
de68225afc WP_Media_List_Table: remove code for displaying old 'actions' column. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 22:51:43 +00:00
scribu
b5c613b364 WP_Media_List_Table: Use class property instead of $detached global. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 22:47:12 +00:00
scribu
f21ccd3113 Use screen id instead of base, to be consistent with older filters. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 21:49:23 +00:00
ryan
59bffc3071 Prime blogs of user cache from old cache to avoid mass DB requests on upgrade. see #14379
git-svn-id: http://svn.automattic.com/wordpress/trunk@16225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 18:45:20 +00:00
ryan
39e775daeb 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: http://svn.automattic.com/wordpress/trunk@16224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 17:40:12 +00:00
ryan
0a0d648660 Send moderation emails to post author. see #6286
git-svn-id: http://svn.automattic.com/wordpress/trunk@16223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 15:20:50 +00:00
westi
3f5ab5b9bf Extra cap checks. See #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 10:07:35 +00:00
westi
ee291ef5a5 Remove WP_SHOW_ADMIN_BAR and go off existing and new defines on page type. See #15315
git-svn-id: http://svn.automattic.com/wordpress/trunk@16221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 09:41:03 +00:00
potbot
9451fa0d1b POT, generated from r16218
git-svn-id: http://svn.automattic.com/wordpress/trunk@16219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 00:21:40 +00:00
scribu
ca4f75d494 Uncheck mass select checkbox when updating rows via ajax. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 23:07:00 +00:00
nacin
a3bcec29fe Twenty Ten bump to 1.3-alpha in trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 22:33:37 +00:00
scribu
a1d7b0f945 Make get_file_data() regex more precise. Fixes #15193
git-svn-id: http://svn.automattic.com/wordpress/trunk@16215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 22:22:28 +00:00
scribu
ce7f8c131c Clean up WP_Terms_List_Table::column_default(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 22:11:15 +00:00
nacin
a8eb3d747d Revert [16021]. See #14170.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 21:35:28 +00:00
scribu
fa4ea77657 Make post column hooks consistent. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 21:16:46 +00:00
nacin
c914ad1731 Add missing arguments to post_type_archive_title. props greenshady, see #13818.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 21:14:43 +00:00
ryan
cd8c19d46d Remove role selector from network admin user-edit. Props PeteMall. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 17:26:32 +00:00
ryan
9a9d29019d Introduce user_can(). Props simonwheatley. fixes #14602
git-svn-id: http://svn.automattic.com/wordpress/trunk@16209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 17:04:46 +00:00
ryan
98c65bd2f7 Don't fire wp_notify_postauthor() when the author moderated the comment. Props mrmist. fixes #12774
git-svn-id: http://svn.automattic.com/wordpress/trunk@16208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 15:36:04 +00:00
ryan
dbf7388c5b Don't anchor regex. Props ozh. fixes #14628
git-svn-id: http://svn.automattic.com/wordpress/trunk@16207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 15:29:50 +00:00
ryan
fccb87dbcb Eliminate some queries in get_page_by_path() by consulting cache. Props Denis-de-Bernardy, wojtek.szkutnik. fixes #11373
git-svn-id: http://svn.automattic.com/wordpress/trunk@16206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 15:26:15 +00:00
scribu
c0b067fcf5 remove leading <li> from get_views() and add it later. Fixes #15321
git-svn-id: http://svn.automattic.com/wordpress/trunk@16205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 14:34:09 +00:00
scribu
e7318d2068 Skip category/tag queries if post type doesn't support them. Props mfields. Fixes #15322
git-svn-id: http://svn.automattic.com/wordpress/trunk@16204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 12:47:19 +00:00
westi
93bb73ea88 Restore the functionality of some of the other timezone format modifiers in date_i18n props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 11:19:06 +00:00
markjaquith
92159ea0c2 Allow get_post_format() to assume current post if none passed in. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 09:40:36 +00:00
markjaquith
f1a30e2dd5 format-FOO classes on post edit row TR tags. props deanjrobinson. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 07:09:13 +00:00
markjaquith
c6a5d1192c Post Formats generate output in post_class() (format-foo), and body_class() (for single... single-format-foo). Now themers can support Post Formats with one line of PHP and by adding CSS! see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 06:48:56 +00:00
potbot
4793578fb1 POT, generated from r16198
git-svn-id: http://svn.automattic.com/wordpress/trunk@16199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 04:21:43 +00:00
markjaquith
a4ac7eca6f 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: http://svn.automattic.com/wordpress/trunk@16198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 03:04:13 +00:00
markjaquith
7616a6cafb Add Post Format support to TwentyTen. Can now use this to designate an Aside or a Gallery! see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 02:25:41 +00:00
markjaquith
920bfad390 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: http://svn.automattic.com/wordpress/trunk@16196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 02:04:22 +00:00
scribu
0bfee7db48 Rename property _screen to screen. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 21:02:13 +00:00
scribu
b078890091 Fix screen options for the network admin themes and plugins. Props ocean90. Fixes #15269. Also fixes [16190]
git-svn-id: http://svn.automattic.com/wordpress/trunk@16194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 20:49:30 +00:00
scribu
a4621924db Network Themes cleanup. Props PeteMall. See #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 20:11:08 +00:00
scribu
94339af889 Revert [16182] for comments table. See#14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 20:04:31 +00:00
markjaquith
b581a43b30 Translate and prettify post formats for display. Also, filterable by themes/plugins to add new ones. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 18:33:50 +00:00
scribu
0e77a0b5e4 Minor cleanups. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 18:28:58 +00:00
markjaquith
288f0bc195 Bump the post.js version
git-svn-id: http://svn.automattic.com/wordpress/trunk@16189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 18:11:29 +00:00
markjaquith
d80160e0ae Limit post format UI to posts only, for now. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 18:02:24 +00:00
markjaquith
4665c58087 Do our return falses. Props duck_. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 17:58:04 +00:00
ryan
1af4d93e6d jQuery 1.4.4rc2. see #15227
git-svn-id: http://svn.automattic.com/wordpress/trunk@16186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 17:56:13 +00:00
westi
3c1a13935e Check the current user can create sites before showing the button. See #14435 props PeteMall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 17:21:25 +00:00
ryan
f903ceb524 Check create_users cap. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 16:27:18 +00:00
ryan
a9e5ade43f Add new user page for network admin. Props PeteMall. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 16:16:52 +00:00