Commit Graph

9318 Commits

Author SHA1 Message Date
nacin 81ed9a7563 Introduce wp_load_translations_early(), which can be used before the locale is properly loaded in order to translate early error strings. Internationalize setup-config.php -- translators no longer have a reason to modify this file. fixes #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-26 20:34:27 +00:00
nacin 0c141a4721 Formatting and i18n cleanup of repair.php. props zeo for initial patch. fixes #18770.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-25 23:27:13 +00:00
nacin 6ca86ae3a8 Revert [19745].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-24 22:14:42 +00:00
nacin bba7742b9f --no-auth-cache
git-svn-id: http://svn.automattic.com/wordpress/trunk@19745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-24 22:12:53 +00:00
nacin ba2c3e345e 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: http://svn.automattic.com/wordpress/trunk@19739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-23 19:31:15 +00:00
nacin 61abfcd3c7 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: http://svn.automattic.com/wordpress/trunk@19738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-23 19:12:04 +00:00
duck_ cd43f96110 Prevent "Undefined index: settings-updated" notice in settings_errors(). Props garyc40. Fixes #19377.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-13 18:15:55 +00:00
duck_ f17cb006cf Remove extraneous single quote. Props garyc40. Fixes #19801.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-11 23:35:35 +00:00
duck_ 81a7ad2c81 split was deprecated in PHP 5.3.0, so use explode instead. Props garyc40. Fixes #16325.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-09 21:20:51 +00:00
nacin ed3a628088 'No comments awaiting moderation.' props demetris. fixes #15689.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-09 19:53:51 +00:00
nacin d6fb70098f Prefix table name against the post_parent field in _edit_attachments_query_helper() to avoid ambiguous queries. props benbalter. fixes #19779.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-09 15:55:30 +00:00
nacin 2ca88e2c25 Revert character encoding issue in [19716].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 23:17:46 +00:00
bumpbot f15b9aa2e7 Compress scripts/styles: 3.4-alpha-19716.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 23:05:52 +00:00
bumpbot e590227dba Compress scripts/styles: 3.4-alpha-19713.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 22:53:10 +00:00
ryan e3b46b25d3 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
dd32 3fe0d5e688 Show Changelog by default for "View version x.y.z details" links for Plugin updates. Props linuxologos. Fixes #19208
git-svn-id: http://svn.automattic.com/wordpress/trunk@19711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 12:36:17 +00:00
dd32 f60ca6da11 Better indentation. Props SergeyBiryukov. See #16580
git-svn-id: http://svn.automattic.com/wordpress/trunk@19710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 09:18:56 +00:00
dd32 aa4bd6dc9b 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: http://svn.automattic.com/wordpress/trunk@19709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 05:53:19 +00:00
dd32 3928e40daf s/Faq/FAQ/ for Plugin Installer tabs, Gains Translation support for Tabs/Titles as well. Fixes #16580
git-svn-id: http://svn.automattic.com/wordpress/trunk@19708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 05:39:49 +00:00
dd32 3686bc4b6e 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: http://svn.automattic.com/wordpress/trunk@19707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 03:48:05 +00:00
bumpbot d50e2a9633 Compress scripts/styles: 3.4-alpha-19704.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 18:43:22 +00:00
duck_ 65b840b565 Fix mistakes in parameter documentation and add some missing param docs. See #19756.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 18:31:43 +00:00
nacin e5589e02b7 Use regex to fill in config-sample. Prevents translators from needing to manually translate 'database_name_here' (and friends). see #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 18:23:51 +00:00
nacin f9b554814e about.php and friends for the global dashboard. see #19762.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 18:08:45 +00:00
nacin aa6c34ac3e Create a network/about.php page and leverage it, to prevent the dashboard from switching to the blog admin. fixes #19762.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 17:53:41 +00:00
dd32 e15f5275a8 Fix edge case in get_home_path() where the incorrect path may be returned. Props ptahdunbar. Fixes #18768
git-svn-id: http://svn.automattic.com/wordpress/trunk@19697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 13:46:22 +00:00
azaozz b3fe8fca18 Wrap long titles in dashboard recent drafts, props Lardjo SergeyBiryukov, fixes #17424
git-svn-id: http://svn.automattic.com/wordpress/trunk@19694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 06:35:12 +00:00
nacin 277a8131d2 Use array_filter() to remove empty values from an array, not jankiness.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 21:22:44 +00:00
nacin c94b474b17 Update some old upgrade functions to use untrailingslashit().
git-svn-id: http://svn.automattic.com/wordpress/trunk@19690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 21:21:51 +00:00
duck_ 5fbd6657f4 s/add_user()/edit_user()/, see r19686 and #18749.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 21:02:42 +00:00
ryan 83b131f8e3 User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302
git-svn-id: http://svn.automattic.com/wordpress/trunk@19687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:50:54 +00:00
duck_ 965a71033e 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: http://svn.automattic.com/wordpress/trunk@19686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:38:40 +00:00
ryan 616c35e71c One newline is enough.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:10:39 +00:00
nacin d5d55f62a7 Fix typo in [19052]. Believe it or not, it worked as is. props TobiasBg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 23:06:49 +00:00
ryan fd1393ab7a Clear strict notices for the walkers. fixes #19249
git-svn-id: http://svn.automattic.com/wordpress/trunk@19679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 23:03:46 +00:00
ryan 85304c2dc7 Introduce term_is_ancestor_of(). Finish taxonomy support for wp_insert_category(). Props garyc40. fixes #15581
git-svn-id: http://svn.automattic.com/wordpress/trunk@19678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 22:44:19 +00:00
ryan 37e65bddcd Use home_url() instead of site_url(). Props johnbillion. fixes #18293
git-svn-id: http://svn.automattic.com/wordpress/trunk@19676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 20:02:11 +00:00
ryan aa8a3f89d8 Use home_url() instead of site_url(). Props johnbillion. fixes #18293
git-svn-id: http://svn.automattic.com/wordpress/trunk@19674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 19:29:03 +00:00
ryan d1ba11c7d1 Update some @since. Props dgwyer. fixes #19638
git-svn-id: http://svn.automattic.com/wordpress/trunk@19673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 19:03:33 +00:00
nacin 8323ba5cc7 Compress scripts/styles: 3.4-alpha-19672.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 17:50:23 +00:00
nacin fdd79a0960 Merge Press This inline styles into wp-admin.css. fixes #19735.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 17:44:15 +00:00
nacin 5372ac002b Fix tabbing for comment reply and edit. see #19727, for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 20:18:31 +00:00
nacin b776fe7071 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: http://svn.automattic.com/wordpress/trunk@19664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 19:05:05 +00:00
nacin 21dbfa40b6 Revert. Wasn't meant for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 18:58:24 +00:00
nacin b566f92218 Fix header/message alignment in Press This. for trunk. see #19725.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 18:57:31 +00:00
nacin 54016f80f2 Add a space.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 18:06:03 +00:00
nacin 7bfc537c54 Remove esc_js() as this content now gets json encoded rather than a straight echo. props ocean90. see #19644, for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 18:04:56 +00:00
nacin b66ca19aec Fix widget count on dashboard to account for orphaned widgets. see #19553 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 17:53:31 +00:00
nacin 33f5a73a63 Revert half of [19639]. If the blog_upload_space site_option is '0', restore 50 as a default. see #19538.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-03 17:24:51 +00:00
ryan 85dff92772 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: http://svn.automattic.com/wordpress/trunk@19647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-02 21:49:58 +00:00