Commit Graph

18049 Commits

Author SHA1 Message Date
Jon Cave d2306a693b Update hierarchy for all hierarchical post types when deleting a parent post, not just for pages. Fixes #19637.
git-svn-id: https://develop.svn.wordpress.org/trunk@19734 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-13 18:37:46 +00:00
Jon Cave 2b4d4a1ec1 Prevent "Undefined index: settings-updated" notice in settings_errors(). Props garyc40. Fixes #19377.
git-svn-id: https://develop.svn.wordpress.org/trunk@19733 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-13 18:15:55 +00:00
Dion Hulse d58286e998 Re-pin Akismet to 2.5.5. Fixes #19812
git-svn-id: https://develop.svn.wordpress.org/trunk@19732 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-12 02:47:52 +00:00
Jon Cave 62a82bbe22 Remove extraneous single quote. Props garyc40. Fixes #19801.
git-svn-id: https://develop.svn.wordpress.org/trunk@19731 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-11 23:35:35 +00:00
Ryan Boren 77958da0d2 Update register_taxonomy_for_object_type() phpdoc to reflect that the post_type must be a string only, no arrays allowed. Props transom. fixes #19795
git-svn-id: https://develop.svn.wordpress.org/trunk@19730 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-11 21:39:01 +00:00
Ryan Boren 285247786e Use wp_cache_add() instead of wp_cache_set() when priming the object term cache in update_object_term_cache(). Pass the real post_type to clean_object_term_cache() instead of hard-coding post. Call clean_object_term_cache() from clean_bookmark_cache(). Props leewillis77. fixes #19690
git-svn-id: https://develop.svn.wordpress.org/trunk@19729 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-11 21:26:18 +00:00
Ryan Boren ee4f1cfe80 Hash post password in cookies. fixes #19797
git-svn-id: https://develop.svn.wordpress.org/trunk@19728 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-11 16:42:42 +00:00
Jon Cave 148329fecb Rewrite rules don't need to be flushed on every page save/delete as they're no longer verbose. Fixes #19636.
git-svn-id: https://develop.svn.wordpress.org/trunk@19727 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-10 22:55:38 +00:00
Jon Cave 156048ca52 split was deprecated in PHP 5.3.0, so use explode instead. Props garyc40. Fixes #16325.
git-svn-id: https://develop.svn.wordpress.org/trunk@19726 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 21:20:51 +00:00
Ryan Boren 55d6e7e261 Update wp_salt() phpdoc. fixes #18696
git-svn-id: https://develop.svn.wordpress.org/trunk@19725 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 20:52:08 +00:00
Ryan Boren dc3bccda20 Code cleanup in the paging block. Props kawauso. fixes #19773
git-svn-id: https://develop.svn.wordpress.org/trunk@19724 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 20:08:57 +00:00
Andrew Nacin 96c2ae4409 'No comments awaiting moderation.' props demetris. fixes #15689.
git-svn-id: https://develop.svn.wordpress.org/trunk@19723 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 19:53:51 +00:00
Ryan Boren 3a1b732f51 Use microtime() for cron locks. fixes #19700
git-svn-id: https://develop.svn.wordpress.org/trunk@19722 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 19:02:31 +00:00
Andrew Nacin e1b429fd67 Add Twitter.com as an oEmbed provider. props Otto42. see #19626.
git-svn-id: https://develop.svn.wordpress.org/trunk@19721 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 17:43:48 +00:00
Andrew Nacin ba219cf998 Prefix table name against the post_parent field in _edit_attachments_query_helper() to avoid ambiguous queries. props benbalter. fixes #19779.
git-svn-id: https://develop.svn.wordpress.org/trunk@19720 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 15:55:30 +00:00
bumpbot 9a6f2ac850 Compress scripts/styles: 3.4-alpha-19719.
git-svn-id: https://develop.svn.wordpress.org/trunk@19719 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 23:27:39 +00:00
Andrew Nacin 38a73f72a2 Revert character encoding issue in [19716].
git-svn-id: https://develop.svn.wordpress.org/trunk@19718 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 23:17:46 +00:00
Daryl Koopersmith 13172523c0 Allow toolbar submenus to expand to the width of the parent item. Props camiloclc, fixes #19139.
git-svn-id: https://develop.svn.wordpress.org/trunk@19717 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 23:15:16 +00:00
bumpbot ddd5520132 Compress scripts/styles: 3.4-alpha-19716.
git-svn-id: https://develop.svn.wordpress.org/trunk@19716 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 23:05:52 +00:00
bumpbot 9b98915ea1 Compress scripts/styles: 3.4-alpha-19715.
git-svn-id: https://develop.svn.wordpress.org/trunk@19715 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 22:54:51 +00:00
bumpbot 4cc22ea2a6 Compress scripts/styles: 3.4-alpha-19713.
git-svn-id: https://develop.svn.wordpress.org/trunk@19714 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 22:53:10 +00:00
Daryl Koopersmith 430700d5db Improve pointer collision handling. fixes #19021.
git-svn-id: https://develop.svn.wordpress.org/trunk@19713 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 22:53:05 +00:00
Ryan Boren 2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Dion Hulse 31f8d18597 Show Changelog by default for "View version x.y.z details" links for Plugin updates. Props linuxologos. Fixes #19208
git-svn-id: https://develop.svn.wordpress.org/trunk@19711 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 12:36:17 +00:00
Dion Hulse 7cc1bd478d Better indentation. Props SergeyBiryukov. See #16580
git-svn-id: https://develop.svn.wordpress.org/trunk@19710 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 09:18:56 +00:00
Dion Hulse 5db48fcac4 Clean up the Plugin installer Screenshots page, Adds CSS resize support to the images to prevent them requiring scrolling and falling below the FYI box. Fixes #19777
git-svn-id: https://develop.svn.wordpress.org/trunk@19709 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 05:53:19 +00:00
Dion Hulse 7cedb26ac7 s/Faq/FAQ/ for Plugin Installer tabs, Gains Translation support for Tabs/Titles as well. Fixes #16580
git-svn-id: https://develop.svn.wordpress.org/trunk@19708 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 05:39:49 +00:00
Dion Hulse 3ff2213c55 use maybe_unserialize() in update and API checks, Tighten up the checks on expected return data to avoid processing invalid responses after change. See #19617
git-svn-id: https://develop.svn.wordpress.org/trunk@19707 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 03:48:05 +00:00
Andrew Nacin 921ba280d2 Expose default_ping_status and default_comment_status via XML-RPC. props daniloercoli. fixes #18566.
git-svn-id: https://develop.svn.wordpress.org/trunk@19706 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-07 19:08:48 +00:00
Andrew Nacin 723ed39622 Use home URL, not siteurl, in the password reset email. fixes #19767.
git-svn-id: https://develop.svn.wordpress.org/trunk@19705 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-07 18:54:08 +00:00
bumpbot 656fe02688 Compress scripts/styles: 3.4-alpha-19704.
git-svn-id: https://develop.svn.wordpress.org/trunk@19704 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 18:43:22 +00:00
Andrew Nacin ad1455dd33 Show cursor for the search icon. props jaquers. fixes #19594.
git-svn-id: https://develop.svn.wordpress.org/trunk@19703 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 18:33:40 +00:00
Jon Cave 760471a9a8 Fix mistakes in parameter documentation and add some missing param docs. See #19756.
git-svn-id: https://develop.svn.wordpress.org/trunk@19702 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 18:31:43 +00:00
Andrew Nacin c05a1f60a5 Use regex to fill in config-sample. Prevents translators from needing to manually translate 'database_name_here' (and friends). see #18180.
git-svn-id: https://develop.svn.wordpress.org/trunk@19701 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 18:23:51 +00:00
Andrew Nacin a5ada1a537 about.php and friends for the global dashboard. see #19762.
git-svn-id: https://develop.svn.wordpress.org/trunk@19700 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 18:08:45 +00:00
Andrew Nacin 5ccd02fb01 Create a network/about.php page and leverage it, to prevent the dashboard from switching to the blog admin. fixes #19762.
git-svn-id: https://develop.svn.wordpress.org/trunk@19699 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 17:53:41 +00:00
Andrew Nacin 410f68e2ce Re-pin Akismet to 2.5.4. fixes #19763.
git-svn-id: https://develop.svn.wordpress.org/trunk@19698 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 17:11:48 +00:00
Dion Hulse 4afc9e59e2 Fix edge case in get_home_path() where the incorrect path may be returned. Props ptahdunbar. Fixes #18768
git-svn-id: https://develop.svn.wordpress.org/trunk@19697 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 13:46:22 +00:00
Dion Hulse 0bef3ee02a Support custom HTTP Methods in WP_Http_Curl. Brings it in line with the other HTTP transports of respecting the requested method. Props zx2c4. Fixes #18589
git-svn-id: https://develop.svn.wordpress.org/trunk@19696 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 12:53:44 +00:00
Jon Cave 2cc75b6a05 Fix some mismatching parameter documentation. Props akshayagarwal, linuxologos. See #19756.
git-svn-id: https://develop.svn.wordpress.org/trunk@19695 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 11:42:00 +00:00
Andrew Ozz 394e2b3153 Wrap long titles in dashboard recent drafts, props Lardjo SergeyBiryukov, fixes #17424
git-svn-id: https://develop.svn.wordpress.org/trunk@19694 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 06:35:12 +00:00
Ryan Boren b0f5b628cc Don't fire update checks for ajax requests. Props mitchoyoshitaka. fixes #13732
git-svn-id: https://develop.svn.wordpress.org/trunk@19693 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 22:46:32 +00:00
Jon Cave d43d6e5765 Stop quotes being incorrectly added to prepare placeholders in wpdb::_insert_replace_helper(). Fixes #19016.
git-svn-id: https://develop.svn.wordpress.org/trunk@19692 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 21:29:57 +00:00
Andrew Nacin 8d60951aa4 Use array_filter() to remove empty values from an array, not jankiness.
git-svn-id: https://develop.svn.wordpress.org/trunk@19691 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 21:22:44 +00:00
Andrew Nacin be1142f66f Update some old upgrade functions to use untrailingslashit().
git-svn-id: https://develop.svn.wordpress.org/trunk@19690 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 21:21:51 +00:00
Jon Cave 61c6ba8b70 s/add_user()/edit_user()/, see r19686 and #18749.
git-svn-id: https://develop.svn.wordpress.org/trunk@19689 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 21:02:42 +00:00
Andrew Nacin ddf13f09d1 This format isn't that strange.
git-svn-id: https://develop.svn.wordpress.org/trunk@19688 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:59:30 +00:00
Ryan Boren a8d77cbae9 User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302
git-svn-id: https://develop.svn.wordpress.org/trunk@19687 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:50:54 +00:00
Jon Cave c90c0e8600 Remove "the hackiest hack that ever did hack" from add_user(). wp_insert_user()/edit_user() can deal with adding new users of any defined role. Fixes #18749.
git-svn-id: https://develop.svn.wordpress.org/trunk@19686 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:38:40 +00:00
Ryan Boren 8c36bb6779 One newline is enough.
git-svn-id: https://develop.svn.wordpress.org/trunk@19685 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:13:03 +00:00