ryan
|
14da950982
|
Don't set the site_name cache on every call to get_current_site_name(). Props mark-k, solarissmoke. fixes #16676
git-svn-id: http://svn.automattic.com/wordpress/trunk@18604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-25 19:29:47 +00:00 |
ryan
|
58379895e5
|
Support fields = slugs in wp_get_object_terms(). Props lancewillett, SergeyBiryukov. fixes #15835
git-svn-id: http://svn.automattic.com/wordpress/trunk@18603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-25 18:49:46 +00:00 |
ryan
|
8edc944b01
|
wp_list_pluck() performance improvement. Props Otto42. fixes #18230
git-svn-id: http://svn.automattic.com/wordpress/trunk@18602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-25 18:22:17 +00:00 |
ryan
|
c7e870877c
|
Use update_blog_details() in wpmu_update_blogs_date(). Props jakub.tyrcha. fixes #18122
git-svn-id: http://svn.automattic.com/wordpress/trunk@18601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-25 18:01:49 +00:00 |
ryan
|
8edd1656f7
|
Handle null user ID in the WP_User constructor. Props kawauso. fixes #17894
git-svn-id: http://svn.automattic.com/wordpress/trunk@18598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-24 19:47:35 +00:00 |
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
|
0c0e2c180f
|
Whitespace and code layout tidyup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-24 10:59:06 +00:00 |
westi
|
de05fd1569
|
Parse shortcodes in text widgets by default. Fixes #10457 props tmoorewp, sillybean, jamescollins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-24 10:54:48 +00:00 |
westi
|
76eb5b8138
|
Optimise get_term to not query for term_id = 0. Also improve the prepared query to use %d for the term_id.
Fixes #18076 props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-24 10:39:52 +00:00 |
duck_
|
c06290958b
|
Allow update_site_option to add false-y values. Fixes #15497
git-svn-id: http://svn.automattic.com/wordpress/trunk@18589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-23 21:12:14 +00:00 |
duck_
|
7213d24276
|
Use get_site_option in add/update_site_option for caching and filtering benefits. fixes #18478
git-svn-id: http://svn.automattic.com/wordpress/trunk@18588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-23 20:45:48 +00:00 |
duck_
|
56f6f97125
|
add_site_option should not update existing options, should return a boolean and should only run actions on success. fixes #18422
git-svn-id: http://svn.automattic.com/wordpress/trunk@18587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-23 20:24:35 +00:00 |
nacin
|
d5cf830175
|
Add 'q' tag to nestable tags list in force_balance_tags(). props solarissmoke, fixes #6870.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-23 15:37:38 +00:00 |
nacin
|
3ee964c10c
|
Check for comment existence before checking edit_comment meta cap. props xknown, fixes #18104.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-23 10:22:34 +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 |
ryan
|
c93728e287
|
Introduce wp_cache_incr() and wp_cache_decr(). fixes #18494
git-svn-id: http://svn.automattic.com/wordpress/trunk@18580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-22 17:39:44 +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
|
35f5d1cefb
|
Fix the "close tags" button in quicktags, props SergeyBiryukov, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-19 21:23:31 +00:00 |
dd32
|
e91e6de814
|
Clarify %d is an integer in wpdb documentation. See #18407
git-svn-id: http://svn.automattic.com/wordpress/trunk@18573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-19 15:01:35 +00:00 |
dd32
|
cb90791f8e
|
Load all Parent theme stylesheets before Child theme stylesheets in the TinyMCE Editor. props SergeyBiryukov. Fixes #18457
git-svn-id: http://svn.automattic.com/wordpress/trunk@18572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-19 14:56:34 +00:00 |
dd32
|
8c51c16803
|
Only include extra TinyMCE stylesheets once. props SergeyBiryukov. Fixes #18456
git-svn-id: http://svn.automattic.com/wordpress/trunk@18571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-19 14:47:45 +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
|
e3117daaa8
|
Remove old $base/BASE MU check. props mdawaffe, fixes #18479.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-18 22:27:30 +00:00 |
duck_
|
48974fa6e2
|
add_option() should always return a boolean, see #18422
git-svn-id: http://svn.automattic.com/wordpress/trunk@18567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-18 18:17:37 +00:00 |
duck_
|
0995987f25
|
Fix rewrite documentation typo and clarify with "rules array" over "this/the structure". props SergeyBiryukov. see #16687
git-svn-id: http://svn.automattic.com/wordpress/trunk@18566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-18 17:57:22 +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
|
51ca772adf
|
Call _doing_it_wrong() individually in wp_scripts and wp_styles functions. Partially reverts [18556], [18557], removes wp_styles_init(), wp_scripts_init(). fixes #11526.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-17 21:02:43 +00:00 |
nacin
|
e53fe816b2
|
Instantiate some MS variables as objects before using them. Spaces not tabs for vertical alignment. Remove unnecessary conditional piece. props PeteMall, see #18049.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-17 17:49:57 +00:00 |
westi
|
ec3476720e
|
Fix html for back link in _default_wp_die_handler. Fixes #18459 props tenpura.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-17 10:54:48 +00:00 |
dd32
|
6fa755e68e
|
Harden up is_user_logged_in() against empty $current_user instances to prevent PHP Notices on XML-RPC requests. Fixes #18458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-17 08:51:36 +00:00 |
azaozz
|
7140ac9bf4
|
Don't call debug_backtrace() in wp_scripts_init() and wp_styles_init(), props dd32, see #11526
git-svn-id: http://svn.automattic.com/wordpress/trunk@18557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-17 06:26:41 +00:00 |
azaozz
|
e5e90d732b
|
Add _doing_it_wrong() when a plugin or theme accesses $wp_scripts or $wp_styles too early (also fixes localization), props SergeyBiryukov, fixes #11526
git-svn-id: http://svn.automattic.com/wordpress/trunk@18556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-17 05:48:13 +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 |
duck_
|
7abbb42d7e
|
Replace regex in path_is_absolute() with simpler equality checks. props coffee2code. fixes #17754
git-svn-id: http://svn.automattic.com/wordpress/trunk@18551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-16 00:21:56 +00:00 |
nacin
|
2bdadbcc52
|
Break HTML comment up into two lines to prevent phpxref from choking on the rest of functions.php. props trepmal, fixes #18409.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-15 04:51:41 +00:00 |
westi
|
35838967a7
|
Add a general filter to wp_unique_post_slug to allow for full customisation of the uniqueness functionality. Fixes #14111.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-13 21:00:24 +00:00 |
nacin
|
50f5ad2216
|
Force display_errors to off when WP_DEBUG_DISPLAY == false. Technically a backwards incompatible change - if you want the passthrough to php.ini (which false used to provide) then use WP_DEBUG_DISPLAY === null. see #18391.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-13 18:59:05 +00:00 |
nacin
|
31e6144688
|
Pedantic whitespace in validate_file().
git-svn-id: http://svn.automattic.com/wordpress/trunk@18543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-13 06:10:02 +00:00 |
markjaquith
|
054b4f8800
|
bump the db
git-svn-id: http://svn.automattic.com/wordpress/trunk@18542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-12 02:03:29 +00:00 |
markjaquith
|
4a610eaa7b
|
Eliminate verbose rewrite rules for ambiguous rewrite structures, resulting in massive performance gains. props andy, otto42, duck_. Nice work everyone! see #16687
git-svn-id: http://svn.automattic.com/wordpress/trunk@18541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-12 01:55:08 +00:00 |
nacin
|
3fb35c6739
|
Remove the old root feed files. Bump the db version so rewrite rules can regenerate. Don't add these files to old_files to leave them on existing installs. fixes #18384.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-12 01:41:23 +00:00 |
markjaquith
|
26c33f2341
|
Whitespace oops
git-svn-id: http://svn.automattic.com/wordpress/trunk@18539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-11 23:57:33 +00:00 |
markjaquith
|
9de72e9bfd
|
Direct rdf/rss redirects, to save a double redirect. props westi. see #4967
git-svn-id: http://svn.automattic.com/wordpress/trunk@18538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-11 23:45:02 +00:00 |
markjaquith
|
7689657c90
|
Deprecate RSS 0.92 and RDF feeds, and 301 them to the default feed. props johnpbloch. fixes #4967
git-svn-id: http://svn.automattic.com/wordpress/trunk@18537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-11 23:30:59 +00:00 |
westi
|
e8f9ea22eb
|
Move the CSS inline to wp_die so that it is always available. Fixes #17975, props kawauso for the style type update.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-11 19:06:59 +00:00 |
nbachiyski
|
abe8b47351
|
Explicitly globalize some variables, so that unit tests can run WordPress inside a function. Fixes #17749
git-svn-id: http://svn.automattic.com/wordpress/trunk@18532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-11 04:45:14 +00:00 |
nbachiyski
|
688eebdc26
|
Sync pomo library with the current GlotPress version
git-svn-id: http://svn.automattic.com/wordpress/trunk@18528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-11 04:29:35 +00:00 |