Commit Graph

9315 Commits

Author SHA1 Message Date
Andrew Nacin
447c3b5f42 --no-auth-cache
git-svn-id: https://develop.svn.wordpress.org/trunk@19745 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-24 22:12:53 +00:00
Andrew Nacin
85a0652a83 Strip down admin-ajax.php to be a bare ajax handler. Move core ajax handlers to admin/includes/ajax-actions.php. props kurtpayne, ryan. see #15327. see [19738] for initial commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@19739 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-23 19:31:15 +00:00
Andrew Nacin
8900888567 Add 'ep_mask' as an argument to the 'rewrite' array for register_post_type() and register_taxonomy(). Keeps 'permalink_epmask' compatible as an argument for post type registrations. Fixes endpoints for category and tag pages. fixes #19275.
git-svn-id: https://develop.svn.wordpress.org/trunk@19738 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-23 19:12:04 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
5e76729992 One newline is enough.
git-svn-id: https://develop.svn.wordpress.org/trunk@19684 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:10:39 +00:00
Andrew Nacin
8b37e9a821 Fix typo in [19052]. Believe it or not, it worked as is. props TobiasBg.
git-svn-id: https://develop.svn.wordpress.org/trunk@19680 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 23:06:49 +00:00
Ryan Boren
c855c642ea Clear strict notices for the walkers. fixes #19249
git-svn-id: https://develop.svn.wordpress.org/trunk@19679 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 23:03:46 +00:00
Ryan Boren
3e9c3dbed6 Introduce term_is_ancestor_of(). Finish taxonomy support for wp_insert_category(). Props garyc40. fixes #15581
git-svn-id: https://develop.svn.wordpress.org/trunk@19678 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 22:44:19 +00:00
Ryan Boren
257a55c9b7 Use home_url() instead of site_url(). Props johnbillion. fixes #18293
git-svn-id: https://develop.svn.wordpress.org/trunk@19676 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 20:02:11 +00:00
Ryan Boren
f6b0e7e580 Use home_url() instead of site_url(). Props johnbillion. fixes #18293
git-svn-id: https://develop.svn.wordpress.org/trunk@19674 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 19:29:03 +00:00
Ryan Boren
f1ec82c3a7 Update some @since. Props dgwyer. fixes #19638
git-svn-id: https://develop.svn.wordpress.org/trunk@19673 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 19:03:33 +00:00
Andrew Nacin
11628d33f7 Compress scripts/styles: 3.4-alpha-19672.
git-svn-id: https://develop.svn.wordpress.org/trunk@19672 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 17:50:23 +00:00
Andrew Nacin
48b1948bfe Merge Press This inline styles into wp-admin.css. fixes #19735.
git-svn-id: https://develop.svn.wordpress.org/trunk@19671 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 17:44:15 +00:00
Andrew Nacin
31be442135 Fix tabbing for comment reply and edit. see #19727, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19665 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 20:18:31 +00:00
Andrew Nacin
e38e4e1046 Revert a piece of [19424], go back to cloning a div for adding images in Press This. props azaozz, see #19498 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19664 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 19:05:05 +00:00
Andrew Nacin
9dc8284e9a Revert. Wasn't meant for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19663 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 18:58:24 +00:00
Andrew Nacin
83b69a44d8 Fix header/message alignment in Press This. for trunk. see #19725.
git-svn-id: https://develop.svn.wordpress.org/trunk@19662 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 18:57:31 +00:00
Andrew Nacin
b5a9ad17b9 Add a space.
git-svn-id: https://develop.svn.wordpress.org/trunk@19656 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 18:06:03 +00:00
Andrew Nacin
c2eb0dd98c Remove esc_js() as this content now gets json encoded rather than a straight echo. props ocean90. see #19644, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19655 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 18:04:56 +00:00
Andrew Nacin
64a967b0f0 Fix widget count on dashboard to account for orphaned widgets. see #19553 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19653 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 17:53:31 +00:00
Andrew Nacin
8fd2ce80b6 Revert half of [19639]. If the blog_upload_space site_option is '0', restore 50 as a default. see #19538.
git-svn-id: https://develop.svn.wordpress.org/trunk@19652 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 17:24:51 +00:00
Ryan Boren
7e379cd9e5 Immediately close a flyout when opening another one. Prevents brief occurrence of two flyouts at once. Props SergeyBiryukov. fixes #19575 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@19647 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-02 21:49:58 +00:00
Andrew Nacin
2758e7fb6a Only allow _multisite_ super admins to demote themselves on a site. props linuxologos, see #19684 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19640 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-30 23:13:48 +00:00
Andrew Nacin
3350723c21 Better checking for values for multisite upload limits. see #19538 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19639 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-30 23:10:54 +00:00
Ryan Boren
c29f1b7fee Remove Recently Updated from dash Plugins widget. see #19573
git-svn-id: https://develop.svn.wordpress.org/trunk@19630 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-23 00:26:58 +00:00