westi
fb004d24be
Add define('WP_SHOW_ADMIN_BAR' , false) for now. See #15315 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 08:40:27 +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
3ded7f7c68
complete the renaming. props ocean90. See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 22:06:45 +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
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
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
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
05fde90357
Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 10:46:24 +00:00
scribu
497335778b
Remove dead 'delete-link-cat' ajax handler. See #12285
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 01:16:08 +00:00
nacin
48d8763734
Commit the rest of [15955]. see #14579 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 02:58:25 +00:00
nacin
f448471380
Shuffle list-table files. First pass. see #14579 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 00:12:41 +00:00
nacin
a583da8c45
Internal linking, first pass. props koopersmith, see #11420 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 02:58:42 +00:00
nacin
b0c538b9f1
Update via ajax the sample output of custom date/times on options-general. fixes #12636 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-08 03:29:57 +00:00
scribu
a3bcc7c63c
WP_Terms_Table cleanup:
...
* use column_*() methods
* remove $taxonomy argument from single_row()
* don't calculate tag full name in admin-ajax.php
See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-18 19:30:53 +00:00
scribu
ce723858c2
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: http://svn.automattic.com/wordpress/trunk@15630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-18 17:46:29 +00:00
nacin
f8c8df4f8b
Don't try to load WP in admin-ajax if we have no action to take.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-10 17:02:55 +00:00
nacin
15bc341696
phpdoc, @since, whitespace. Also require an argument in wp_insert_post(). props duck_, see #14783 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 02:45:39 +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
fce15d1f2c
Fix the comment type dropdown. Fixes #14637
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-20 11:43:32 +00:00
scribu
1b2fa98e2a
Add the floated_admin_avatar filter from WP_Comments_Table. See #14637
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-20 11:18:41 +00:00
scribu
071746cc11
Fix the Trash quickling in edit-comments.php. See #14637
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-18 22:26:22 +00:00
scribu
b921471dea
Fix Comments meta box in post editing screen. See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 23:58:49 +00:00
scribu
c6056827ed
Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596 ; See #14579
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 23:21:05 +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
nacin
65c1243ce3
More curses on PHP 5.0.5. see #13757 , fixes #14160 . for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-25 07:35:59 +00:00
nacin
912058d2ac
Ensure we're saving valid menu locations. for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-22 07:00:22 +00:00
nacin
535275b753
Use page_rows() for quick edit for all hierarchical post types. fixes #14194 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-07 07:39:14 +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
2468b66784
Remove unused global. Props filosofo. fixes #13933 for 3.1
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 14:53:26 +00:00
ryan
15bbb301b4
Remove trailing whites
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 23:39:35 +00:00
ryan
0575b7eba9
set_current_screen() before calling _tag_row in the inlin-save-tax ajax handler. Props batmoo. fixes #13892
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 18:08:32 +00:00
ryan
c614b6d0a2
Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 15:53:41 +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
17129fb62e
Cut 'em out, move 'em on, trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 20:04:07 +00:00
nacin
44b9c9812f
Remove vestigial 'context' code for wp_nav_menu. This was used when we used to use the same function as a theme template tag and admin template function (now we don't.) fixes #13656 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 14:54:50 +00:00
nacin
99a0a98061
Don't show (pending) in JS mode for nav menus UI. props filosofo, fixes #13604 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 20:41:39 +00:00
nacin
15a1a43cd1
New pending menu item behavior. props filosofo, see #13579 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 22:22:09 +00:00
ryan
1fa281b08c
Ajaxify pagination requests in menu boxes. Props filosofo. fixes #13204
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 14:49:43 +00:00
nacin
aac7b130c0
Separate out multiple _ajax_nonce fields on post forms. Yay, validation. fixes #13383 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 04:55:21 +00:00
ryan
b744c38378
Fixing adding of custom fields to auto-drafts. Props ocean90. see #13401
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 15:32:57 +00:00
ryan
52f05426e0
Allow searching custom post types when attaching media. Props markoheijnen. fixes #13229
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 02:18:07 +00:00
nacin
7a5d3f2688
First pass on better UX for menu item save. props koopersmith, see #13525 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 19:50:20 +00:00
nacin
49437c3491
Fix nav menu locations sorting. props jorbin, koopersmith with assists. see #13378 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 22:43:14 +00:00
nacin
b4c50f1b5e
Rename wp_save_nav_menu_item to wp_save_nav_menu_items. Though it could handle one item, it expects a mess of post data containing an array of menu items. see #13447 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 05:59:43 +00:00
markjaquith
ee1ced6ba9
Correctly set Featured Post Image link after removing/updating. fixes #13033 . props PotterSys
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 22:14:52 +00:00
markjaquith
20cb3ed21b
Add nonce protection for setting/removing featured post image. fixes #13438
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 22:08:49 +00:00
ryan
bc1bf148e4
Add nonce to menu-locations-save. Props koopersmith. see #13378
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:16:58 +00:00
ryan
4315c69c17
Use check_ajax_referer()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 14:51:15 +00:00
nacin
f02fddce86
Save menu locations meta box via ajax. see #13378 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 23:58:56 +00:00
nbachiyski
4cf46b6d96
I18n for custom taxonomies. Fixes #13357
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 00:34:04 +00:00
nacin
af91e5264a
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: http://svn.automattic.com/wordpress/trunk@14593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 04:10:17 +00:00
nacin
7389ea41ea
Use the edit_theme_options capability. fixes #13290 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:19:57 +00:00
ryan
7b7243d94a
Strip trailing whites.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:26:11 +00:00
nacin
d1a37c1f31
When posts/terms are deleted/trashed, update associated menu items. Deleted post = deleted menu item, trashed post = menu item becomes a draft. props filosofo, see #13174
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:33:56 +00:00
nacin
f01d1883e4
Verify nav menu items. props filosofo, fixes #13154 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 02:04:30 +00:00
ryan
e879a9ab0e
New menu UI. Props filosofo. see #12713
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 01:05:58 +00:00
ryan
6cd2a49a40
Fix back compat for hidden columns and layout screen options. Change meta baox order to be per user, rather than per blog. This breaks back compat for box order but the previous behavior was wrong. see #13032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 15:59:03 +00:00
dd32
99b439c6f7
Allow Terms to exist within multiple taxonomies (Regression in 3.0); If a term slug is provided on the form, Respect it (do not suffix it, instead, feedback with error); Do not allow hierarchical term names to exist multiple times within a set level (ie. AU/NSW + AU/NSW is bad, AU/NSW + AU/VIC + AU/VIC/NSW is ok). See #13060
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 07:35:16 +00:00
dd32
63de1db1e9
Add descriptive error messages on Custom Fields updates attempting to set a empty Key or Value. Fixes #11650
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 03:53:47 +00:00
nbachiyski
33ecb0ea45
Add a translators comment to clarify what comes after at
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 15:08:48 +00:00
nacin
6ec7cb4540
Use relative paths when including files, avoiding include_path. fixes #12594 , props sorich87.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:14:45 +00:00
dd32
87bd780ca9
Display the correct Slug in the permalink preview. Props duck_. Fixes #12870
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 01:46:28 +00:00
ryan
e9dae8c287
Change meta-box-hidden to metaboxhidden to adjust for new key sanitization rules and maintain the same key name as 2.9. fixes #13032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 17:44:38 +00:00
ryan
06d1f0b78f
Make post box states a global user preference. see #13032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 17:39:24 +00:00
dd32
59bb0c7d9c
Prevent the Slug metabox from being forever hidden when showing all metaboxes. Fixes #12088
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 02:41:40 +00:00
nacin
589997d8cb
Don't use target="_self" in nav menu links, just omit the attribute. Also fix and run earlier db upgrades. fixes #12808
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 22:52:30 +00:00
nacin
40773a776b
Remove trailing whites and double semicolons.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:36:49 +00:00
nacin
ba6f1cba07
Various bug fixes and improvements to menu management. props ptahdunbar, see #11817 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 19:56:16 +00:00
ryan
08cf9f0d98
Always use lowercase strings or menu type. Don't double save custom link menu items (remove the AJAX save). see #12566
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-12 21:57:52 +00:00
ryan
95623b4ce5
Fix metabox hiding. Props scribu. fixes #12439
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 18:06:14 +00:00
nacin
b657e01fad
Add some custom taxonomy flags to allow fully customize strings in the taxonomy meta box. see #11838
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 21:04:37 +00:00
dd32
9472175b79
Fix slashing in Custom fields values. Allow for the meta_key to be updated without changing meta_value. Use wpdb::insert in add_meta(). Fixes #12418
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 07:12:05 +00:00
wpmuguru
fcf6942d33
more menu improvements, props ptahdunbar, see #11817
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 23:06:56 +00:00
westi
2372671879
Introduce send_nosniff_header() and use it to turn off content sniffing in supported browsers. Fixes #10671 props chrisscott and niallkennedy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:41:33 +00:00
ryan
911a6b1c09
Allow inline saves for non-public custom post types. Props jfarthing84. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 05:45:38 +00:00
nacin
2ce7dc4dac
Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 21:25:32 +00:00
dd32
0ec732b34a
Introduce assign_cap for Taxonomies, Defaults to 'edit_posts'. Allows for Authors/Contributors to tag/categorise their posts. See #12035
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 08:36:32 +00:00
markjaquith
76a24ce6b1
Use correct labels for additional hierarchical taxonomies instead of reusing "Categories" text.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 21:24:48 +00:00
nacin
bd540fe7f1
Fix notices, props sivel. Fixes #12122
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 12:26:47 +00:00
nacin
cfa428b8d2
Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 02:27:19 +00:00
dd32
5e339cea52
Flow on tax-modification errors on Tax inline edit to the UI. See #11838
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 06:04:54 +00:00
dd32
c9ea3a7686
Convert Terms page to use WP_Ajax_Response(), hierarchical terms will now appear under their parent OR have the parents prefixed, Terms will be removed from tag cloud/parent list upon deletion, Terms will be added to Parent list in correct order upon ajax creation, Errors on term creation flow back to UI, clean up _tag_row() alternate class handling, Show None text in Category dropdown if empty and show_if_empty = true. See #11838
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 05:40:47 +00:00
ryan
a35ead034f
Use show_ui instead of _show. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 17:43:29 +00:00
westi
b9bc395359
Check that $_POST['auto_draft'] is set before accessing it. See #11889 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 14:56:10 +00:00
markjaquith
0f924eee99
Create post_status=auto-draft when creating a new post item. status changes to draft on first auto-save. now we always have a real post ID to work with. see #11889 . fixes #11145 . fixes #11990
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 10:07:57 +00:00
dd32
95fcd6b7ee
Remove redundant Category forms/code/ajax. See #11838
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 11:01:07 +00:00
ryan
699387f747
Remove trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 22:49:05 +00:00
dd32
32adec13a9
First scratch at Taxonomy Capabilities. See #12035
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 11:32:04 +00:00
dd32
34cc6ab57e
Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 11:00:27 +00:00
ryan
b1b44019ff
Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 19:30:05 +00:00
ryan
a731cbed8e
Introduce set_current_screen(). Set current screen for inline edit ajax requests so post rows can be properly displayed. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 18:27:54 +00:00
ryan
94859834fc
i18n fixes. Props nbachiyski. fixes #11954
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 21:37:43 +00:00
ryan
c2873bbab3
Coding style
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 23:49:09 +00:00
ryan
05bf7382ff
Merge edit-pages.php into edit.php. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 16:58:36 +00:00
ryan
da89de4958
More custom post type support. Props scribu. see #9674
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 16:58:43 +00:00
azaozz
5fceee4f91
Fix the 'current_user_can' check for 'add-comment'.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 21:02:38 +00:00
azaozz
afdd8d229a
Properly update pagination links when moderating comments for a particular post or page.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 04:33:16 +00:00
azaozz
6c4c879f50
Discard replies to comments on a trashed post, props nacin, fixes #11401
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-14 03:03:58 +00:00
markjaquith
bf264bb66d
Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 06:14:36 +00:00
markjaquith
f74935eb92
More standardization around Post/Page Image instead of Post/Page Thumbnail
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:24:32 +00:00
azaozz
fe29434e05
Undo for setting a comment as spam, props caesarsgrunt, fixes #11260 , see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-27 10:34:09 +00:00
azaozz
42df991367
Check if $_SERVER['HTTP_ACCEPT_ENCODING'] is set before determining whether to compress scripts, props nacin, fixes #11169
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 09:46:07 +00:00
azaozz
d1f60c88f0
Fix pagination on the Unattached tab in the media library, show Attach in the "Attached to" column for orphan attachments
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 03:08:38 +00:00
azaozz
a55fd568d4
Trash undo for the uploader, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-30 07:09:55 +00:00
westi
04638ecd6f
Remove duplicated create_function calls an use a private _search_terms_tidy function instead for tidying up the post/page searching when looking to attach orphans to a parent post or page.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-18 11:50:59 +00:00
markjaquith
af407e7e3f
Post thumbnail removal functionality (only allowed for replacement before). props scribu. see #10928
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 12:57:16 +00:00
ryan
410fcc2e42
Embeds. Props Viper007Bond. see #10337
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 17:04:22 +00:00
azaozz
b2966fba30
Merge post.js with page.js and slug.js, optimize categories and tags JS, standardize postboxes IDs and JS.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 10:02:42 +00:00
azaozz
efa493655e
Show the login form in a popup when autosave hits the login grace period, fixes #10704
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-11 11:26:59 +00:00
azaozz
d20c23e98d
Add Undo when moving comments to the trash, remove unneeded nonces, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 08:24:59 +00:00
markjaquith
d7a30e235f
First pass on canonical post thumbanils. Admin-side GUI only. Theme functions to follow. see #10928
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 22:18:09 +00:00
markjaquith
9109450809
Surface "Move to Trash" link for posts/pages immediately after first autosave fires. Props cross country flight. fixes #10344
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 11:44:18 +00:00
azaozz
48932f96fe
Image Editor improvements, see #10528
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 01:54:07 +00:00
azaozz
1c161c23c2
Image editing (first run). Includes code by stephanreiter, see #10528
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 22:07:33 +00:00
azaozz
b7f7105c2b
Fix comment moderation for authors, props scribu, fixes #10677
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-26 06:47:45 +00:00
ryan
28f552efa5
Add autosave_generate_nonces action. Props prettyboymp. fixes #10634
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 16:57:11 +00:00
azaozz
be026258fa
"Trash" updates, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 08:35:24 +00:00
azaozz
39e4f05a15
Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 13:39:34 +00:00
azaozz
d2fec31c0e
"Trash" status for comments, first run, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-21 03:11:12 +00:00
ryan
36d7a55b5e
change wp_ajax_nopriv in admin-ajax.php to support GET as well as POST. Props dd32. fixes #10345
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-06 16:55:07 +00:00
azaozz
f385e7da46
Use new jQuery methods when adding, editing and deleting tags with AJAX, fix warning when deleting tags, see #10239
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-01 08:12:39 +00:00
azaozz
daa5da7259
Fix pending comments count, paging and comments requests while moderating for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-27 22:40:06 +00:00
ryan
0c8f4cba63
Don't show error message when updating a custom field without changing its value. see #10254
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-26 06:19:54 +00:00
ryan
fdf5bef23a
Pass taxonomy to_tag_row() when adding tags via ajax. Props dd32. fixes #10019
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-03 16:39:39 +00:00
azaozz
b7bc0faa73
Reload the widget form with the ajax response after save, add Close link to the widgets, don't auto-close on save to show possible errors returned from validation
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-31 11:34:08 +00:00
ryan
2df887bd07
Trim tailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
azaozz
0632395ad6
Fix saving and deleting of widgets settings for no-js and for some non-standard widgets, run the actions from the widgets screen when saving with ajax, see #9511
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 12:08:51 +00:00
ryan
d36f0721c8
Reassign links to default cat when deleting link cats via ajax. fixes #9869
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 18:08:15 +00:00
markjaquith
3ebf837ced
Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith
119b39cec2
deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
ryan
acd92c27ab
Add escaping for quick edit saves. Props hailin. fixes #9822
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 20:05:52 +00:00
azaozz
66fa9d7da3
Properly unset widget number when saving
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-08 17:17:54 +00:00
markjaquith
6c2ffddf31
_a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan
161b628ba9
Turn off tag cloud filtering when requesting the cloud via AJAX. Props jhodgdon. fixes ##6593
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-02 18:43:04 +00:00
ryan
2d489767bb
s/attribute_escape/attr/. see #9650
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan
c2ff1cd44a
Some attr escaping. see #9650
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 23:09:08 +00:00
ryan
7b9137f7bf
Add missing quotes for returned values in admin-ajax.php. Props Simek. fixes #9654
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 18:36:27 +00:00
azaozz
0200501698
Add and edit widget when js is disabled, see #9511
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 10:58:50 +00:00
azaozz
5563639dd5
Keep the same name and remove unused core, see [10987]
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 12:55:03 +00:00
azaozz
dee602f501
Show proper error when adding a custom field without a value, props scohoust, fixes #7541
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 21:55:35 +00:00
azaozz
29f9a48eaa
CSS cleanup and fixes
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 04:41:05 +00:00
azaozz
4be0d4b866
Widgets: open when adding, clean-up AJAX calls, slower animation/less jumping in IE, see #9511
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-13 16:20:58 +00:00
azaozz
730c6d3fd8
Prevent hiding of the Publish postbox
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-13 03:39:46 +00:00
azaozz
123d7ee968
Widgets page, first run, see #9511
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-11 14:37:24 +00:00
ryan
f2208f3c91
Add per page screen option for tags
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-10 21:52:57 +00:00
ryan
1164645872
Add per page screen option for categories
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-10 21:47:01 +00:00
ryan
6f431038f2
Add option to check if term exists with given parent. Update ajax add-cat check to pass parent when checking if cat exists.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-10 20:58:25 +00:00