Commit Graph

10451 Commits

Author SHA1 Message Date
ryan b664e6a452 wp_unique_post_slug() fixes. Props Denis-de-Bernardy. fixes #9726
git-svn-id: http://svn.automattic.com/wordpress/trunk@11467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-27 16:21:53 +00:00
azaozz 6b559e2124 Ensure autosave is run before showing preview for new posts/pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-27 11:04:00 +00:00
ryan a4a448741e Fix unlink warning. see #9936
git-svn-id: http://svn.automattic.com/wordpress/trunk@11465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-27 00:56:32 +00:00
ryan fc523a990a Fix loop start, loop end workflow. Props Denis-de-Bernardy. fixes #9944
git-svn-id: http://svn.automattic.com/wordpress/trunk@11464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-26 23:57:01 +00:00
azaozz 0fc93e28fd Trim white space
git-svn-id: http://svn.automattic.com/wordpress/trunk@11463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-26 22:42:23 +00:00
azaozz 51e5201348 Fix the inserting of caption shortcode when the upload path contains "align"
git-svn-id: http://svn.automattic.com/wordpress/trunk@11462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-26 22:33:02 +00:00
azaozz 93895989c8 Revert [11202], see #9726
git-svn-id: http://svn.automattic.com/wordpress/trunk@11461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-26 08:58:10 +00:00
ryan 01635abdb9 Don't use esc_html() for DB bound data. see #9934
git-svn-id: http://svn.automattic.com/wordpress/trunk@11460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-26 05:05:46 +00:00
ryan 97389f6df9 Don't use short tag. Props DD32. fixes #9920
git-svn-id: http://svn.automattic.com/wordpress/trunk@11459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-26 04:38:09 +00:00
westi 48e58fc5a2 Allow a plugin to filter the list of Page statuses. Fies #9928 props coffee2code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-25 21:47:11 +00:00
ryan 8600adb080 Add orderby = none option to wp_get_object_terms(). Props vladimir_kolesnikov. fixes #9937
git-svn-id: http://svn.automattic.com/wordpress/trunk@11457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-25 18:18:06 +00:00
ryan d6e62426fe Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-25 17:33:10 +00:00
azaozz 891b75bc8e Add a hook in print_footer_scripts as in print_head_scripts, props arena, fixes #9856
git-svn-id: http://svn.automattic.com/wordpress/trunk@11455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-25 11:14:39 +00:00
azaozz b773a469eb Improve Filesystem method choice for 'direct'; introduce FS_METHOD constant, props DD32, fixes #9936
git-svn-id: http://svn.automattic.com/wordpress/trunk@11454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-25 10:39:21 +00:00
westi cdcb5859c8 Remove context from wp_feed_cache_transient_lifetime filter and filter in fetch_feed as well. Fixes #9926.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-25 09:13:48 +00:00
ryan bd2ed2c190 Restore LEFT JOIN for post_status_join. fixes #9851 see #9720
git-svn-id: http://svn.automattic.com/wordpress/trunk@11452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-25 05:36:48 +00:00
ryan beefbcf16c Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:51:22 +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
ryan d514a0d6b2 Set eol style
git-svn-id: http://svn.automattic.com/wordpress/trunk@11449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:39:56 +00:00
westi e48a11f1fd Add a wp_lostpassword_url() function to complete the set. Based on patch from ramiy fixes #9932.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 20:58:22 +00:00
westi 8a6eacda08 Hide options from users when they don't make any sense for them. Fixes #8433 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 18:46:01 +00:00
westi 084280b76e Allow plugins to filter the expiration time of the SimplePie cache. Fixes #9926.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 18:07:39 +00:00
azaozz 13c7249671 Delete widgets when dragged back to Available Widgets, add ui.droppable.js and ui.selectable.js, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 15:46:09 +00:00
azaozz 552056c681 Plugins update notices css tweak
git-svn-id: http://svn.automattic.com/wordpress/trunk@11444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 01:15:25 +00:00
azaozz 3f942844de Initialize $table variable in wp-admin/themes.php, props mdawaffe, fixes #9923
git-svn-id: http://svn.automattic.com/wordpress/trunk@11443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-23 23:42:28 +00:00
westi 67c9c4662e Allow a different role to be set for users when they are created in a call to wp_insert_user(). Fixes #9891 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-23 21:48:36 +00:00
westi da5d1d8d15 Pass references and more context to the new 'user_profile_update_errors' hook. Fixes #9302.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-23 21:37:49 +00:00
ryan e0a5704c22 Beta 2
git-svn-id: http://svn.automattic.com/wordpress/trunk@11440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-23 17:22:44 +00:00
azaozz 1d9d2409f5 Don't show content changed warning when saving as draft from the HTML editor, fixes #9912
git-svn-id: http://svn.automattic.com/wordpress/trunk@11439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-23 08:41:00 +00:00
azaozz a38f306239 Plugins screen css tweaks
git-svn-id: http://svn.automattic.com/wordpress/trunk@11438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-23 01:56:19 +00:00
azaozz 4a50994a4e TinyMCE 3.2.4, remove the autosave plugin and add the same functionality in autosave.js, fix double warning messages when leaving the page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 22:08:17 +00:00
ryan b88547114d Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 21:58:41 +00:00
westi fc3b5ba6da Rename new function to sanitize_html_class() to hilight exactly what it is for, Fixes #8446.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 21:31:42 +00:00
ryan acfc3cdf1a Standardize on UTC. Props Denis-de-Bernardy. fixes #9793
git-svn-id: http://svn.automattic.com/wordpress/trunk@11434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 18:16:40 +00:00
westi 108f7c1063 Introduce sanitise_css_classname() and use it to give categories, tags, users etc meaningful classnames where possible. Falls back to the id if not. Fixes #8446.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 17:44:26 +00:00
azaozz aaa2d89183 Fix labels for the checkboxes in the Links widget
git-svn-id: http://svn.automattic.com/wordpress/trunk@11432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 16:27:23 +00:00
azaozz c8ad766bb7 Attempt to fix jQuery UI unselectable form fields in widgets, label can be either explicit or implicit, not both.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 16:13:05 +00:00
ryan 7bada8f202 Allow multiple search form templates. Props mtdewvirus. fixes #9908
git-svn-id: http://svn.automattic.com/wordpress/trunk@11430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 16:04:49 +00:00
azaozz 5ef0b8278e Fix cursor for folded menu, props sambauers, fixes #9901
git-svn-id: http://svn.automattic.com/wordpress/trunk@11429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 15:40:46 +00:00
azaozz 284e1c0559 Make get_terms() orderby case insensitive, props DD32, fixes #9906
git-svn-id: http://svn.automattic.com/wordpress/trunk@11428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 12:29:32 +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 54998219dc eliminate duplicate cap checks. Props coffee2code. fixes #9899
git-svn-id: http://svn.automattic.com/wordpress/trunk@11426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-21 18:55:00 +00:00
ryan e6c673e76c Add post ID arg to edit_post_link(). Props coffee2code. fixes #9898
git-svn-id: http://svn.automattic.com/wordpress/trunk@11425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-21 18:43:04 +00:00
ryan 1a939b81bd Use Stylesheet instead of Template to key theme data when doing theme update check. Props josephscott. fixes #9897
git-svn-id: http://svn.automattic.com/wordpress/trunk@11424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-21 18:17:20 +00:00
ryan 4f2d0e71de Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-21 16:13:04 +00:00
azaozz c9ce42c8a4 Fix styling for the plugins screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@11422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-21 09:40:11 +00:00
azaozz 85766ab12e Show "Delete" in Media -> Add New, props mgriepentrog, fixes #7879
git-svn-id: http://svn.automattic.com/wordpress/trunk@11421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-21 01:42:40 +00:00
ryan cbe5ebd66d Revert [11392]. It breaks custom taxonomies for attachments. see #8731
git-svn-id: http://svn.automattic.com/wordpress/trunk@11420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-21 00:10:04 +00:00
ryan 2eafafa8c6 Fix comment paging for static front page. Props DD32. fixes #8598
git-svn-id: http://svn.automattic.com/wordpress/trunk@11419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 22:24:37 +00:00
azaozz ccec7e0077 Ensure the colors stylesheets have the same query string
git-svn-id: http://svn.automattic.com/wordpress/trunk@11418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 21:52:37 +00:00