Andrew Nacin
8f2924ad13
What you don't know can hurt you. Don't show 'You cannot modify this taxonomy.' props johnjamesjacoby, fixes #14197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16445 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 02:22:01 +00:00
Ryan Boren
4b33a0e9c4
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
Mark Jaquith
55e0256967
esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16431 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:12:01 +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
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
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
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
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
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
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
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
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
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
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
d8596259e2
Sticky post support for post types, first pass. see #12702 , props azizur.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15742 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 09:10:35 +00:00
Andrew Nacin
4360f8c1a4
Use separate ajax spinners for the Save Draft and Publish buttons on the post form. fixes #14582 with initial patch from wojtek.szkutnik.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15722 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 20:53:04 +00:00
scribu
82b8a56920
WP_Comments_Table cleanup:
...
* use column_*() methods
* remove extra arguments from single_row()
* introduce derived class WP_Post_Comments_Table for handling the post metabox comments
* use $pending_count property instead of $_comment_pending_count global
See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15630 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 17:46:29 +00:00
Andrew Nacin
9494e4ce7e
Phpdoc argument/@param cleanups. props duck_, see #14783 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 11:21:11 +00:00
Andrew Nacin
b4369ec5b6
Use return_empty_array instead of create_function. see #14579 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15546 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-28 04:54:27 +00:00
scribu
33f73ce32f
Deprecated get_editable_user_ids() altogether, along with similar, unused functions. See #14572
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15542 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 01:07:21 +00:00
scribu
a90bc8e1d4
Fix post_author_meta_box(). See #14572
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15541 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 00:24:41 +00:00
scribu
8993abd1be
use get_users() in get_editable_user_ids() and cache result. See #14572
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15539 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 00:18:57 +00:00
scribu
76ac1c93a8
Introduce get_list_table(). See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15528 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 00:51:44 +00:00
scribu
1c4aeef40e
replace $table with $wp_list_table. See #14651
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15519 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-22 11:22:46 +00:00
scribu
9805f3a4b0
Fix Comments meta box in post editing screen. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15497 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 23:58:49 +00:00
Peter Westwood
18a112a466
Allow plugins to add more options to the comment status meta box easily. Fixes #14544 props ryan.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15490 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-07 21:06:06 +00:00
Ryan Boren
494ee995b5
Use get_current_user() and get_current_user_id() instead of global . Props filofo. see #13934 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15315 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:01:29 +00:00
Andrew Nacin
9d38c0af9e
Move 'helps' argument to the taxonomy labels object. Also move over help_nojs and help_cloud, both introduced in 3.0. This adds three new core labels for non-hierarchical taxonomies, for tweaking the meta box strings. fixes #13805 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15190 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 16:07:33 +00:00
Ryan Boren
5dc92cb07f
Pass taxonomy to post_tags_meta_box. Use add_new_item label. see #13805
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15183 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 21:59:13 +00:00
Andrew Nacin
c510c0d0a6
Call the 'Attributes' meta box 'Page Attributes' for pages. Add some help text. fixes #13539 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14967 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 00:16:34 +00:00
Andrew Nacin
cbd7f7baef
In the page attributes box, generalize the screen reader text, also remove the help text which is now in the 'Help' tab. see #13539 . subject to final UX review.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14938 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 07:14:42 +00:00
Andrew Nacin
7de9be3c08
Separate out multiple _ajax_nonce fields on post forms. Yay, validation. fixes #13383 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14933 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 04:55:21 +00:00
Andrew Nacin
b8a0634d79
Validation in wp_dropdown_users and the non-hierarchical taxonomy meta box. props ocean90, see #13383 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14931 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 04:01:14 +00:00
Andrew Nacin
1bedd5e11a
Generalize some strings. Also tidy the discussions meta box, which will stay as "page" as that is referring to the HTML page, not post/page/book etc. see #13539
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14904 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 19:47:22 +00:00
Andrew Nacin
c0bf7ada51
Stirng capitalization fix. see #12035 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14894 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 17:16:52 +00:00
Ryan Boren
4528488d8e
Don't subsitute a translated string into a translated string. Props dimadin. fixes #13357
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14748 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 18:18:26 +00:00
Ryan Boren
c5ef0f8fc5
Show page template dropdown only for pages and not for other post types. Props greenshady. fixes #12759
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14642 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 18:20:04 +00:00
Nikolay Bachiyski
599c19481e
I18n for custom taxonomies. Fixes #13357
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14614 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 00:34:04 +00:00
Andrew Nacin
4f689c8309
Move taxonomy object properties for capabilities into a cap object. Capabilities can be specified via ['capabilities'] (an array keyed by the generic cap name) for register_taxonomy. fixes #13358 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14593 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 04:10:17 +00:00
Andrew Nacin
323342deec
Move post type object capabilities to a 'cap' object. Allow them to be initialized via the 'capabilities' key (an array) when registering support for the post type. Caps are now referred to by the name of the cap as if it was a post, i.e. ->cap->edit_post. see #13358 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14585 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 20:45:18 +00:00
Dion Hulse
52cdae0385
Handle $_POST containing an empty term array, Fixes saving of deselecting all hierarchical terms. Fixes #10122
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14426 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:35:22 +00:00
Ryan Boren
d783952469
Strip trailing whites.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +00:00
Dion Hulse
7f9bee2845
Fix alignment/location of "Add" on non-hierarchical taxonomy addition boxes. Props ocean90. Fixes #12153
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14390 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:29:17 +00:00
Ryan Boren
57a5a11660
Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Ryan Boren
7fcda10d46
Escape links by default. Props alexkingorg. see #13051
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Andrew Nacin
2473cefe8f
s/blog/site/ in even more places. props PeteMall, see #11644 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14315 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 03:17:49 +00:00
Dion Hulse
cbfbe11ce8
Hide Parent dropdown in Page-attributes metabox when no potential parents exist. Props sorich87. Fixes #12655
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14232 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 08:30:32 +00:00