Commit Graph

379 Commits

Author SHA1 Message Date
Ryan Boren 53122aafe5 Use *_metadata_by_mid() API when updating post meta in admin ajax. Fix slashing. see #18195
git-svn-id: https://develop.svn.wordpress.org/trunk@18502 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 19:14:06 +00:00
Andrew Ozz 461ceba60d Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18498 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:19:00 +00:00
Ryan Boren b4b82c9725 Check caps for both old and new meta keys when changing the key for a mid. Properly handle slashes when checking meta caps. Props xknown. see #17850
git-svn-id: https://develop.svn.wordpress.org/trunk@18449 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 19:32:12 +00:00
Ryan Boren 6b5d8397b0 Introduce register_meta(), get_metadata_by_mid(), and *_post_meta capabilities. fixes #17850
git-svn-id: https://develop.svn.wordpress.org/trunk@18445 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-20 22:04:35 +00:00
Andrew Nacin ffd9f52cb5 Use edit_comment rather than edit_post in admin-ajax. props ejdanderson, see #17909. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18435 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 21:48:43 +00:00
Andrew Nacin 36f1805ec4 Take that, PHP 5.0.5. Good riddens. see #14160.
git-svn-id: https://develop.svn.wordpress.org/trunk@18110 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 22:03:36 +00:00
Ryan Boren cf59265def Decrement pending count after Approve and Reply. Props DH-Shredder. fixes #17380
git-svn-id: https://develop.svn.wordpress.org/trunk@18100 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 19:23:19 +00:00
Ryan Boren ccba8dfbf3 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: https://develop.svn.wordpress.org/trunk@18010 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:33:30 +00:00
Ryan Boren 57b6c9aeda Sanitize guid on save and display. Sanitize mime type on save. Don't allow changing mime type via edit form handlers. Protect hidden meta.
git-svn-id: https://develop.svn.wordpress.org/trunk@17994 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 23:19:42 +00:00
Andrew Nacin 4122ba6f25 Move output buffering out of a loop, collapsing it into one buffer. props mitchoyoshitaka, fixes #17352.
git-svn-id: https://develop.svn.wordpress.org/trunk@17897 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 05:50:53 +00:00
Andrew Ozz c244f12c8e Change comment Reply to Approve and Reply and auto-approve the comment if it is in moderation, props DH-Shredder, fixes #15898
git-svn-id: https://develop.svn.wordpress.org/trunk@17832 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-07 04:56:00 +00:00
Mark Jaquith 72608a1197 A few "login" used as a verb fixes. props xibe. fixes #17335
git-svn-id: https://develop.svn.wordpress.org/trunk@17831 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-07 03:26:23 +00:00
Andrew Ozz 07a62334de Distraction Free Writing mode, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17695 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 01:01:34 +00:00
Andrew Ozz 6d0f618fd9 Fix two rare regressions: alert when the login has expires and when post is edited by another user, fixes #16928
git-svn-id: https://develop.svn.wordpress.org/trunk@17640 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-16 02:37:44 +00:00
Ryan Boren bdd25aad05 Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
git-svn-id: https://develop.svn.wordpress.org/trunk@17354 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:47:42 +00:00
Andrew Nacin 7c379501ac s/get_list_table/_get_list_table/ in admin-ajax. see #16262.
git-svn-id: https://develop.svn.wordpress.org/trunk@17325 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-18 11:06:22 +00:00
Ryan Boren 545cc85918 Strip and prepare ajax tag search string. Avoids applying slashes toward the character count. Props brianlayman. see #13580
git-svn-id: https://develop.svn.wordpress.org/trunk@17256 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 20:15:25 +00:00
Andrew Nacin 4c869552ff Nonce checks for internal linking and list table ajax. fixes #16188.
git-svn-id: https://develop.svn.wordpress.org/trunk@17255 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 20:03:50 +00:00
Ryan Boren eba71eb7c0 Bring out the shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@17228 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 04:11:14 +00:00
Ryan Boren 9f9f401c42 Fix comment manipulation on edit post screen. Props garyc40. fixes #15876
git-svn-id: https://develop.svn.wordpress.org/trunk@17113 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 19:03:43 +00:00
Ryan Boren 3df8f3d4a5 Define net and user admin constants for fetch-list case. Props scribu. fixes #15903
git-svn-id: https://develop.svn.wordpress.org/trunk@17080 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 13:30:39 +00:00
Ryan Boren c1e26ef82c Add like_escape() to some queries. fixes #15764
git-svn-id: https://develop.svn.wordpress.org/trunk@16999 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 14:22:41 +00:00
Andrew Nacin 266cd3f5df Replace check_permissions() with ajax_user_can(). New method returns true/false to current_user_can(), which we then handle in admin ajax. see #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16992 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:18:28 +00:00
Andrew Nacin 8661cbc56e Move check_permissions() out of ajax_response(). see #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16991 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 08:48:16 +00:00
Ryan Boren 1da4d8e087 Fix notice in ajax response. Props garyc40. fixes #15810
git-svn-id: https://develop.svn.wordpress.org/trunk@16914 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 15:07:43 +00:00
scribu 1f570675c1 Fix Parent dropdown after creating a category. Props Utkarsh, garyc40. Fixes #15194
git-svn-id: https://develop.svn.wordpress.org/trunk@16884 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 10:29:19 +00:00
Andrew Nacin ee30b441ff Use assign_terms cap for tag search and tag cloud in admin ajax. fixes #15437.
git-svn-id: https://develop.svn.wordpress.org/trunk@16771 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 18:59:25 +00:00
Andrew Nacin 872372d68c s/occured/occurred/. props aldenta, fixes #15653.
git-svn-id: https://develop.svn.wordpress.org/trunk@16699 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 23:30:21 +00:00
scribu 907353550e Get rid of in favor of . Fixes #15607. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16617 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 20:15:04 +00:00
scribu e6e9ea6c26 Set current screen for comment quick-edit. Props batmoo. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16483 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 09:34:21 +00:00
Andrew Nacin f86af64e5f Internal linking cleanups. Fix combination of pagination and searching. Add a margin of error (ha, get it?) to triggering the river. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16479 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 05:31:07 +00:00
Andrew Nacin 7cccd5715f Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16459 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 07:59:05 +00:00
Andrew Nacin 655df3af90 Ludicrous speed for internal linking. First pass. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16457 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 06:22:13 +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
Andrew Nacin 0b7f397e9b set_post_thumbnail(). fixes #15192.
git-svn-id: https://develop.svn.wordpress.org/trunk@16388 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 17:59:25 +00:00
scribu 9f69a2211f Fix post comments box and remove unused 'add-comment' ajax action. See #15338
git-svn-id: https://develop.svn.wordpress.org/trunk@16371 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:19:45 +00:00
scribu e525b77f28 Fix inline term editing. See #15338
git-svn-id: https://develop.svn.wordpress.org/trunk@16369 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:08:25 +00:00
Peter Westwood 21ac2fa767 Chop this off as we don't need it anymore. Fixes #13960 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@16293 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 14:10:59 +00:00
scribu a97018ab13 Fix admin comment reply. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16244 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 23:07:37 +00:00
Peter Westwood de1c45771a Fix typo. See #15336 props Utkarsh.
Also actually correctly cast to boolean :-)

git-svn-id: https://develop.svn.wordpress.org/trunk@16234 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 10:21:34 +00:00
Peter Westwood f091f10b0f Fix typo. See #15336 props Utkarsh.
git-svn-id: https://develop.svn.wordpress.org/trunk@16232 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 09:15:47 +00:00
Peter Westwood 417830b4e6 Ensure that booleans are booleans for now. See #15336.
git-svn-id: https://develop.svn.wordpress.org/trunk@16231 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 08:16:28 +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
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
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
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
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
scribu 0030431a66 Set $current_screen before creating list table. Props rovo89. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16118 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 13:52:35 +00:00
scribu 7db59a9a89 Fix regression introduced by [16096]. Props duck_. See #14415
git-svn-id: https://develop.svn.wordpress.org/trunk@16105 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 22:41:52 +00:00
Andrew Nacin 310a9b04d2 Move code out of the conditional. props duck_, fixes #14415.
git-svn-id: https://develop.svn.wordpress.org/trunk@16104 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 18:21:23 +00:00
scribu 68d5bd05df Optimize menu item creation. Props filosofo. Fixes #14415
git-svn-id: https://develop.svn.wordpress.org/trunk@16096 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 00:13:45 +00:00
Andrew Nacin 8db82e5ea1 Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761.
git-svn-id: https://develop.svn.wordpress.org/trunk@16009 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:46:24 +00:00
scribu 14d6d39a72 Remove dead 'delete-link-cat' ajax handler. See #12285
git-svn-id: https://develop.svn.wordpress.org/trunk@15963 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 01:16:08 +00:00
Andrew Nacin 49589001bb Commit the rest of [15955]. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15956 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 02:58:25 +00:00
Andrew Nacin 6f05802a40 Shuffle list-table files. First pass. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15954 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 00:12:41 +00:00
Andrew Nacin f34a8de8ec Internal linking, first pass. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@15940 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 02:58:42 +00:00
Andrew Nacin 617945e60c Update via ajax the sample output of custom date/times on options-general. fixes #12636.
git-svn-id: https://develop.svn.wordpress.org/trunk@15757 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 03:29:57 +00:00
scribu 2e97d45693 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: https://develop.svn.wordpress.org/trunk@15632 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 19:30:53 +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 32661cca41 Don't try to load WP in admin-ajax if we have no action to take.
git-svn-id: https://develop.svn.wordpress.org/trunk@15606 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-10 17:02:55 +00:00
Andrew Nacin af29b5d5cf phpdoc, @since, whitespace. Also require an argument in wp_insert_post(). props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15564 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 02:45:39 +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 36d2fff18d Fix the comment type dropdown. Fixes #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15513 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-20 11:43:32 +00:00
scribu 316ce57342 Add the floated_admin_avatar filter from WP_Comments_Table. See #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15512 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-20 11:18:41 +00:00
scribu 1b4603a611 Fix the Trash quickling in edit-comments.php. See #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15508 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 22:26:22 +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
scribu 37401689c5 Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596; See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15496 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 23:21:05 +00:00
scribu c5c084c42f Small, subtle fixes. See #14596
git-svn-id: https://develop.svn.wordpress.org/trunk@15493 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 00:15:31 +00:00
scribu fb9394167f Ajaxify list-type screens in the admin. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15491 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-11 21:54:51 +00:00
Andrew Nacin 85394e795e More curses on PHP 5.0.5. see #13757, fixes #14160. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15471 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-25 07:35:59 +00:00
Andrew Nacin 802af4dd92 Ensure we're saving valid menu locations. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15454 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-22 07:00:22 +00:00
Andrew Nacin d4955c0264 Use page_rows() for quick edit for all hierarchical post types. fixes #14194 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15372 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-07 07:39:14 +00:00
Andrew Nacin 73b2b7c164 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: https://develop.svn.wordpress.org/trunk@15336 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 01:05:53 +00:00
Ryan Boren 3cd056320a Remove unused global. Props filosofo. fixes #13933 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15313 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 14:53:26 +00:00
Ryan Boren ab9c5796b3 Remove trailing whites
git-svn-id: https://develop.svn.wordpress.org/trunk@15259 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 23:39:35 +00:00
Ryan Boren 815f93e80b set_current_screen() before calling _tag_row in the inlin-save-tax ajax handler. Props batmoo. fixes #13892
git-svn-id: https://develop.svn.wordpress.org/trunk@15252 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 18:08:32 +00:00
Ryan Boren fc2793bd46 Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
git-svn-id: https://develop.svn.wordpress.org/trunk@15220 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 15:53:41 +00:00
Ryan Boren 9537ce264c Set the screen for add-tag ajax requests. see #13783
git-svn-id: https://develop.svn.wordpress.org/trunk@15178 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 16:52:25 +00:00
Ryan Boren 0922715668 Cut 'em out, move 'em on, trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@15116 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 20:04:07 +00:00
Andrew Nacin b19e242aa5 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: https://develop.svn.wordpress.org/trunk@15075 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 14:54:50 +00:00
Andrew Nacin 52ec03b947 Don't show (pending) in JS mode for nav menus UI. props filosofo, fixes #13604.
git-svn-id: https://develop.svn.wordpress.org/trunk@15047 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 20:41:39 +00:00
Andrew Nacin 29ccf1ec31 New pending menu item behavior. props filosofo, see #13579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15008 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 22:22:09 +00:00
Ryan Boren 5cceae73e3 Ajaxify pagination requests in menu boxes. Props filosofo. fixes #13204
git-svn-id: https://develop.svn.wordpress.org/trunk@14943 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 14:49:43 +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
Ryan Boren 9df68d95eb Fixing adding of custom fields to auto-drafts. Props ocean90. see #13401
git-svn-id: https://develop.svn.wordpress.org/trunk@14886 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 15:32:57 +00:00
Ryan Boren 51e11b64d6 Allow searching custom post types when attaching media. Props markoheijnen. fixes #13229
git-svn-id: https://develop.svn.wordpress.org/trunk@14869 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 02:18:07 +00:00
Andrew Nacin d617ca0f94 First pass on better UX for menu item save. props koopersmith, see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14852 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 19:50:20 +00:00
Andrew Nacin fd3a2be9dd Fix nav menu locations sorting. props jorbin, koopersmith with assists. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14772 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 22:43:14 +00:00
Andrew Nacin dcfc4351c2 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: https://develop.svn.wordpress.org/trunk@14738 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 05:59:43 +00:00
Mark Jaquith e91260238e Correctly set Featured Post Image link after removing/updating. fixes #13033. props PotterSys
git-svn-id: https://develop.svn.wordpress.org/trunk@14731 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 22:14:52 +00:00
Mark Jaquith dafdd33220 Add nonce protection for setting/removing featured post image. fixes #13438
git-svn-id: https://develop.svn.wordpress.org/trunk@14730 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 22:08:49 +00:00
Ryan Boren bc086f5cad Add nonce to menu-locations-save. Props koopersmith. see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14725 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 15:16:58 +00:00
Ryan Boren 797463a31a Use check_ajax_referer()
git-svn-id: https://develop.svn.wordpress.org/trunk@14722 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 14:51:15 +00:00
Andrew Nacin 560acd7b63 Save menu locations meta box via ajax. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14715 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-17 23:58:56 +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 49e4cad78c Use the edit_theme_options capability. fixes #13290.
git-svn-id: https://develop.svn.wordpress.org/trunk@14581 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 19:19:57 +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
Andrew Nacin 5dbf47294f 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: https://develop.svn.wordpress.org/trunk@14295 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 07:33:56 +00:00