Commit Graph

14679 Commits

Author SHA1 Message Date
Ryan Boren
56a6f6f060 Send moderation emails to post author. see #6286
git-svn-id: https://develop.svn.wordpress.org/trunk@16223 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 15:20:50 +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
potbot
d9d6469f13 POT, generated from r16218
git-svn-id: https://develop.svn.wordpress.org/trunk@16219 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 00:21:40 +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
Andrew Nacin
a5385f31bb Twenty Ten bump to 1.3-alpha in trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@16216 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 22:33:37 +00:00
scribu
b3d19ecb16 Make get_file_data() regex more precise. Fixes #15193
git-svn-id: https://develop.svn.wordpress.org/trunk@16215 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 22:22:28 +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
Andrew Nacin
6a8c5b337b Revert [16021]. See #14170.
git-svn-id: https://develop.svn.wordpress.org/trunk@16213 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 21:35:28 +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
Andrew Nacin
30ada3d17d Add missing arguments to post_type_archive_title. props greenshady, see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@16211 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 21:14:43 +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
Ryan Boren
b8b7810f52 Introduce user_can(). Props simonwheatley. fixes #14602
git-svn-id: https://develop.svn.wordpress.org/trunk@16209 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 17:04:46 +00:00
Ryan Boren
20131f4e62 Don't fire wp_notify_postauthor() when the author moderated the comment. Props mrmist. fixes #12774
git-svn-id: https://develop.svn.wordpress.org/trunk@16208 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 15:36:04 +00:00
Ryan Boren
b7ed18e2ec Don't anchor regex. Props ozh. fixes #14628
git-svn-id: https://develop.svn.wordpress.org/trunk@16207 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 15:29:50 +00:00
Ryan Boren
d73a826715 Eliminate some queries in get_page_by_path() by consulting cache. Props Denis-de-Bernardy, wojtek.szkutnik. fixes #11373
git-svn-id: https://develop.svn.wordpress.org/trunk@16206 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 15:26:15 +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
scribu
79c38419bf Skip category/tag queries if post type doesn't support them. Props mfields. Fixes #15322
git-svn-id: https://develop.svn.wordpress.org/trunk@16204 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 12:47:19 +00:00
Peter Westwood
432fa1921c Restore the functionality of some of the other timezone format modifiers in date_i18n props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@16203 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 11:19:06 +00:00
Mark Jaquith
85957ff289 Allow get_post_format() to assume current post if none passed in. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16202 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 09:40:36 +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
205c412afd 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: https://develop.svn.wordpress.org/trunk@16200 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 06:48:56 +00:00
potbot
c27b273bd0 POT, generated from r16198
git-svn-id: https://develop.svn.wordpress.org/trunk@16199 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 04:21:43 +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
2cc7354154 Add Post Format support to TwentyTen. Can now use this to designate an Aside or a Gallery! see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16197 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 02:25:41 +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
6c266a561d Bump the post.js version
git-svn-id: https://develop.svn.wordpress.org/trunk@16189 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 18:11:29 +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
Ryan Boren
44b87921bd jQuery 1.4.4rc2. see #15227
git-svn-id: https://develop.svn.wordpress.org/trunk@16186 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 17:56:13 +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
Ryan Boren
2bc9ef93c1 Use bool not string. Props TobiasBg. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16181 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 14:43:10 +00:00
scribu
ef025261e7 Allow tag cloud using multiple taxonomies. Props sorich87. Fixes #15313
git-svn-id: https://develop.svn.wordpress.org/trunk@16180 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 10:45:14 +00:00
Peter Westwood
75dc7c8c37 Don't mangle the primary_blog option when trying to fix it. Don't set people to be a subscriber on a blog they already have a role for. See #15316
git-svn-id: https://develop.svn.wordpress.org/trunk@16179 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 09:31:58 +00:00
Peter Westwood
3c5457259b When adding a user to the blog pass in the current blog id. See #15316.
git-svn-id: https://develop.svn.wordpress.org/trunk@16178 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 09:06:45 +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
potbot
0ec9f6ff0b POT, generated from r16175
git-svn-id: https://develop.svn.wordpress.org/trunk@16176 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 08:21:52 +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