Commit Graph

8675 Commits

Author SHA1 Message Date
ryan
0f06334e11 Introduce metadata_exists(), WP_User::get_data_by(), WP_User::get(), WP_User::has_prop(). Don't fill user objects with meta. Eliminate data duplication in cache and memory. Props scribu. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 19:32:59 +00:00
westi
0668193437 When inserting a Gallery to be ordered by Date/Time use the post_date field for ordering rather than ID so that if the user/plugin has updated this to reflect the date/time when an image was captured we order correctly. Fixes #17485 props SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 11:37:25 +00:00
westi
633f13ca72 End each row with a new line to make the raw HTML easier to read.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 11:13:33 +00:00
westi
6afa141b4e Include all comment css classes when outputing the rows in the Comments admin page to allow for easy customisation by plugins. Fixes #18447 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 11:12:07 +00:00
dd32
392ef4c88c Don't check 'Custom Structure' Permalink radio option for the default permastruct. Fixes #18507
git-svn-id: http://svn.automattic.com/wordpress/trunk@18590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 07:48:13 +00:00
nacin
fdedc8a500 Check if property exists on plugins_api() returned object in install_plugin_information(). props hakre, fixes #18181.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 15:56:14 +00:00
azaozz
c8af09ed2c Ensure text in the dashboard recent comments widget wraps up properly, props SergeyBiryukov, fixes #18212
git-svn-id: http://svn.automattic.com/wordpress/trunk@18583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 04:36:21 +00:00
azaozz
f3f79602b9 Auto column switching for the dashboard, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 04:00:56 +00:00
azaozz
18fd646bc3 Auto column switching (post.php only for now), see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-22 19:41:11 +00:00
azaozz
3d679a03e2 Merge colors*.css with colors*-rtl.css, props ryanimel, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-22 16:44:02 +00:00
azaozz
ba3ad76771 Merged install.css with install-rtl.css (it is used only when installing so it makes sense to be a separate stylesheet), merged farbtastic.css with farbtastic-rtl.css, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-21 15:38:14 +00:00
azaozz
1cdec6ff6e Merge most admin css files, first run, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-21 03:46:43 +00:00
azaozz
6041cd0410 Fix QTags.closeAllTags(), replace 'tb' with 'ed' in quicktags,js to make it clear it is the editor instance not the toolbar, small comments quick edit fixes, see #16695, fixes #15911
git-svn-id: http://svn.automattic.com/wordpress/trunk@18576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-20 19:55:51 +00:00
azaozz
4cca01b8c3 Another fix for Press This, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 17:04:16 +00:00
azaozz
97ff3b4c7a Fix Press This editors, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 01:14:56 +00:00
nacin
0fe8ea2f72 Add 'Network Enable' link after installing a theme in the network admin. props PeteMall, fixes #18468.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 22:40:37 +00:00
nacin
dbc5a36a14 Remove duplicated current_action() call. props PeteMall, fixes #18389.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 06:26:18 +00:00
nacin
e00bc528b6 Redirect to network_admin_url() in network/edit.php. props PeteMall, fixes #18379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 06:17:47 +00:00
nacin
ba5c2141bb Some more class instantiations. props eko-fr, fixes #18049.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 06:16:57 +00:00
nacin
0caf6ee451 Dissolve wp-admin/network/edit.php. props PeteMall, fixes #18379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 02:29:06 +00:00
azaozz
05b62b9b8e Fix HTML IDs on the uploader buttons on the dashboard, props SergeyBiryukov, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 14:32:36 +00:00
nacin
b5d445aa84 First pass on clarifying Settings > Privacy. props designsimply, markjaquith. see #16416.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 06:53:19 +00:00
azaozz
87dff720e9 Fix (temporarily?) the spacing between the uploader buttons on the dashboard, props SergeyBiryukov and andrewryno, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 04:54:51 +00:00
nacin
3503cc4b8d Remove beta upgrade code from 3.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 02:26:59 +00:00
nacin
51d2aef086 Clean up message handling logic in upload.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 00:12:02 +00:00
nacin
02831e8b84 Add postname to Settings > Permalinks and remove the help text talking about permalink performance. Make the slugs (and /archives/ rewrite base) translatable. see #18541.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-14 22:23:22 +00:00
nacin
4e4932296f Use wp_print_scripts() in install.php. Fixes issues with SCRIPT_DEBUG, removes l10n.js reference. fixes #18394.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-13 18:01:26 +00:00
nacin
ae91e0dfcd Move network/settings.php POST handling out of network/edit.php. props PeteMall, see #18379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 22:32:35 +00:00
duck_
f98e622c39 Direct a user to the main site to install importers, fixes #17990
git-svn-id: http://svn.automattic.com/wordpress/trunk@18535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 20:49:47 +00:00
ryan
4207722006 Use title case. Props trepmal. fixes #17773
git-svn-id: http://svn.automattic.com/wordpress/trunk@18533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 18:17:30 +00:00
nbachiyski
4870176ad0 Add filters for install/upgrade queries, so that unit tests installer can force creating InnoDB tables, so that we can use transactions to revert the database to its initial state after each test. See #17749
git-svn-id: http://svn.automattic.com/wordpress/trunk@18531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:42:59 +00:00
nbachiyski
c8721d2600 Add a gettext context to the Standard post format string in Press This to match other usages of Standard in a post format context
git-svn-id: http://svn.automattic.com/wordpress/trunk@18530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:36:18 +00:00
nbachiyski
51e91e68c3 Exclude link tags from internationalized strings in Credits and Freedoms links in the admin footer
git-svn-id: http://svn.automattic.com/wordpress/trunk@18529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:33:22 +00:00
nacin
cdb9e49b8c Properly handle display of Order, Template, and Parent page attributes in Quick/Bulk Edit. props duck_, fixes #18352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 03:02:01 +00:00
nacin
5dab7294bd Globalize variables used in admin-header in case it is used in a function. props SergeyBiryukov, fixes #16143.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:54:59 +00:00
nacin
97730f64fa Initialize in the Theme_Upgrader class. props mitchoyoshitaka, fixes #18367.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:26:36 +00:00
nacin
5372572b3d Overflow:auto for pre tags in the plugin information popup. props Simek, fixes #16902.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:17:26 +00:00
nacin
45f2e1a527 Don't process wpdb->tables('global') inside a loop. props wpmuguru, fixes #14503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:00:45 +00:00
nacin
bce03b27a6 Only show the primary button style for 'Update Now', not 'Re-install Now', on update-core.php. props tfnab, fixes #18115.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 18:53:54 +00:00
azaozz
9a65f6e237 Fix handling of resizing images after upload, props ocean90, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-06 21:04:15 +00:00
azaozz
d012143326 Fix send_to_editor() and Insert/Upload buttons URLs, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-06 01:35:02 +00:00
ryan
ec4ccf2900 Deprecate get_userdatabylogin() and get_user_by_email(). Props scribu. fixes #18333
git-svn-id: http://svn.automattic.com/wordpress/trunk@18513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 16:57:31 +00:00
azaozz
042a03f384 Fix back-compat for quicktags, introduce QTags.addButton(), see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 04:09:22 +00:00
ryan
1cf9dfacbf Add gettext. Props Latz. fixes #18173
git-svn-id: http://svn.automattic.com/wordpress/trunk@18509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 16:29:46 +00:00
ryan
f5762a2aab Remove gratuitous periods. Add some semicolons. Props SergeyBiryukov. fixes #16186
git-svn-id: http://svn.automattic.com/wordpress/trunk@18508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 16:07:51 +00:00
nacin
ba9ae611eb Call get_(template|stylesheet)_directory_uri() only once in process_default_headers. props mitchoyoshitaka, fixes #17353.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 12:40:15 +00:00
ryan
6c81d023bb Add magic get/set/isset methods to WP_User to avoid data duplication. Standardize on WP_User::ID. Props scribu. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 03:09:27 +00:00
azaozz
6e3e6da9bd Fix editor icons when no SCRIPT_DEBUG, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 23:56:21 +00:00
ryan
514632d860 Use *_metadata_by_mid() API when updating post meta in admin ajax. Fix slashing. see #18195
git-svn-id: http://svn.automattic.com/wordpress/trunk@18502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 19:14:06 +00:00
ryan
24d480d088 Turn delete_meta() , get_post_meta_by_id(), update_meta(), delete_post_meta_by_key() into wrappers around the metadata API. Add back compat *_postmeta actions to metadata API. Props jgadbois. see #18196
git-svn-id: http://svn.automattic.com/wordpress/trunk@18500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 16:48:37 +00:00