Commit Graph

645 Commits

Author SHA1 Message Date
nacin
4a4505c7db Use direct post_title instead of get_the_title() in get_inline_data(). reverts [13079] but adds trim() to solve original bug. fixes #14323, props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 17:08:05 +00:00
nacin
75d7ca4b07 Hide the slugdiv by default for custom post types. Restores behavior toggled in [15555]. see #14212.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 00:46:05 +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
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
westi
5e90c5d1c3 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: http://svn.automattic.com/wordpress/trunk@16175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 08:07:03 +00:00
scribu
836ec33dca List-table Class Names: Consistency's Revenge. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 21:09:27 +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
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
markjaquith
fc6e89da45 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@16061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 21:56:43 +00:00
ryan
130ae000ce Hide more meta boxes by default. fixes #14212
git-svn-id: http://svn.automattic.com/wordpress/trunk@15976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 17:14:31 +00:00
nacin
6f20df8a51 Introduce require_list_table(), rework get_list_table() calls, split default-list-tables into individual files. see #14579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 02:57:43 +00:00
nacin
81f2d8b405 Don't show the admin bar in the plugin/theme installers. Inserts condition directly into iframe_header(). Allows show_admin_bar() to be called after init by unsetting wp_admin_bar, thus preventing render once those hooks are fired. see #14772.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 19:49:25 +00:00
ryan
62003eb20f Fix media dialog keyPress handling. Props mdawaffe. fixes #14394
git-svn-id: http://svn.automattic.com/wordpress/trunk@15918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 19:23:00 +00:00
nacin
af853d903a Remove debug cruft in [15844].
git-svn-id: http://svn.automattic.com/wordpress/trunk@15845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:59:26 +00:00
nacin
c840f4676e Introduce show_in_menu for register_post_type. Allows post types to be a submenu. Accepts boolean and also a parent base. With help from duck_. fixes #14145.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:58:02 +00:00
nacin
5e1184aa57 Pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:48:22 +00:00
scribu
799baf139c Use submit_button() in more places. See #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@15830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 18:24:34 +00:00
scribu
1cce7d7830 Introduce submit_button(). Props markjaquith for initial patch. See #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@15810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 19:58:06 +00:00
nacin
390bcdb27f Pass screen context to favorite_actions filter. props whoismanu, fixes #15117.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 09:53:04 +00:00
scribu
c3a31b6576 Add WP_List_Table columns before all others. Fixes #15075
git-svn-id: http://svn.automattic.com/wordpress/trunk@15764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 09:39:16 +00:00
ryan
9c31fd7c70 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: http://svn.automattic.com/wordpress/trunk@15746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 19:34:18 +00:00
nacin
b205913daa Apply [15661] to the edit-tags.php screens. fixes #14959. see #14886 for current_screen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 09:34:09 +00:00
nacin
ffacf3e36b Prevent the $title global from being stomped. Caused by merger of manage_columns_prefs() into screen_meta() in [15653]. see #14952, see #14776. The global is apparent cruft as the function doesn't use it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 09:16:38 +00:00
nacin
47b9b4ab1c Add a post type class to screen icons. props jfarthing84 for initial patch. see #14959.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 08:51:34 +00:00
scribu
248b086540 Column headers revamp:
* undeprecate get_column_headers()
	* undeprecate get_hidden_columns()
	* in WP_List_Table, rename get_column_headers() to get_column_info()
	* remove $taxonomy argument from single_row()
	* merge manage_columns_prefs() into screen_meta()
Fixes #14952. Fixes #14776.


git-svn-id: http://svn.automattic.com/wordpress/trunk@15653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 13:35:06 +00:00
nacin
5a20c05d27 Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 11:21:11 +00:00
ryan
ca7bec26be Hide more meta boxes by default. fixes #14212
git-svn-id: http://svn.automattic.com/wordpress/trunk@15555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-31 18:27:59 +00:00
scribu
75219a5110 Introduce get_list_table(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-25 00:51:44 +00:00
scribu
cae0e969ce replace $table with $wp_list_table. See #14651
git-svn-id: http://svn.automattic.com/wordpress/trunk@15519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-22 11:22:46 +00:00
scribu
33ccdcdeab use is_a() instead of is_object() in screen_meta(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-22 01:50:34 +00:00
scribu
11ffaae225 Small, subtle fixes. See #14596
git-svn-id: http://svn.automattic.com/wordpress/trunk@15493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 00:15:31 +00:00
scribu
020ce73746 Ajaxify list-type screens in the admin. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-11 21:54:51 +00:00
ryan
10deff9e1d Favorite action for network admin. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@15489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-02 19:07:03 +00:00
nacin
6b2be08f6b screen_options() for 'show on screen' should look for show_ui post types, not public.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-27 08:38:06 +00:00
nacin
57bc2fd164 Make Categories/Tags columns on edit.php properly aware of post types. Also ensure AJAX add-tag on edit-tags.php is given the post type. fixes #14061 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-27 01:05:53 +00:00
ryan
81e213c211 Use get_current_user() and get_current_user_id() instead of global . Props filofo. see #13934 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@15315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 15:01:29 +00:00
dd32
b01a02e06e Fix typos in r15278. Caused by fat fingers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-19 05:48:30 +00:00
dd32
fc03d8c030 Coding standards clean-up of admin template.php. No logic changes. Removal of multiple spaces, addition of whitespace, addition of ;, s/"/'/g where appropriate, case changes of constants, removal of $output = '..'; echo $output.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-19 05:32:01 +00:00
ryan
c735965594 Differentiate between edit and new via an action field for the screen. Fix favorite_actions(). fixes #13876
git-svn-id: http://svn.automattic.com/wordpress/trunk@15253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 19:33:04 +00:00
nacin
45ec93ad29 Don't use deprecated functions. props koopersmith, fixes #13854.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-13 06:20:51 +00:00
nacin
528951c7ef Provide context for screen options plural labels. fixes #13369.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 20:56:14 +00:00
nacin
7420b784d5 Revert accidental commit. see [15199], see #13369
git-svn-id: http://svn.automattic.com/wordpress/trunk@15200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 20:48:04 +00:00
nacin
c7600ab27b Valid HTML for wp-signup. fixes #13369, props ocean90, snumb130.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 20:44:54 +00:00
westi
64f3e40880 Improve phpDoc for add_settings_section. Fixes #13801 props frankieroberto.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-09 20:21:43 +00:00
ryan
2439833a7e Set the screen for add-tag ajax requests. see #13783
git-svn-id: http://svn.automattic.com/wordpress/trunk@15178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-09 16:52:25 +00:00
ryan
1849b362b0 Make set_current_screen() taxonomy aware. Use current_screen when setting up table headers for edit-tags.php. see #13783
git-svn-id: http://svn.automattic.com/wordpress/trunk@15175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-08 15:34:42 +00:00
nacin
f60838c8f9 s/echos/echoes/ in phpdoc. props demetris, fixes #13742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-06 05:16:32 +00:00
markjaquith
18094087e1 Fix the Author links from Edit Pages screen. props duck_. fixes #13665
git-svn-id: http://svn.automattic.com/wordpress/trunk@15085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 00:26:49 +00:00
markjaquith
8cf0dd0eaa Do proper caps check when processing bulk edited posts, and hide the checkbox on the Page edit page for users who lack permissions. props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@15032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 15:49:13 +00:00
nacin
2e1dc4195c Fix nonce check for updating custom fields. fixes #13586.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 04:09:08 +00:00