Commit Graph

9630 Commits

Author SHA1 Message Date
westi e82379cee2 Wrap the apply_filters call in a function_exists check as this can be called before it is defined. See #9205.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 10:09:30 +00:00
westi c7f59f6cfe Add support for blocking all outbound HTTP requests. Improve HTTP Api phpdoc. Tidy up the poetry. Fixes #8927 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 09:58:47 +00:00
westi 9f1a7e4992 Unset once we have included all the plugins to keep things tidy. Fixes #6308 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 08:30:12 +00:00
ryan a9e8073b30 Use "Custom Header" for menu text. see #9178
git-svn-id: http://svn.automattic.com/wordpress/trunk@10623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 07:43:15 +00:00
ryan 8817375a71 Fire admin_init action in admin-ajax. Props DD32. fixes #8574
git-svn-id: http://svn.automattic.com/wordpress/trunk@10622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 06:58:26 +00:00
ryan 1b4ac5206d Escape before passing to insert/update post. Props hailin. fixes #9199 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 00:35:42 +00:00
westi 5930ffdfc4 Allow for the HTTP headers returned by WordPress to be filtered by a plugin. Fixes #9205 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-21 21:39:06 +00:00
westi 5c4f21c4fe Remove version check against PHP 4.3.0 as this is the minimum version for WordPress. Fixes #9204 for trunk prop filosofo
git-svn-id: http://svn.automattic.com/wordpress/trunk@10617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-21 17:22:18 +00:00
azaozz 3b94be427f Fix regex in function rss_enclosure(), fixes #9192
git-svn-id: http://svn.automattic.com/wordpress/trunk@10615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-21 06:14:52 +00:00
azaozz 6d94947a44 Add CodePress syntax highlighting to Theme and Plugin editors (first run), props beaulebens, see #9173
git-svn-id: http://svn.automattic.com/wordpress/trunk@10614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-21 02:12:00 +00:00
ryan 44caa31796 Force term ID to be an int. Props filosofo. fixes #9193
git-svn-id: http://svn.automattic.com/wordpress/trunk@10613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 23:31:46 +00:00
ryan 74b9642857 Append .txt to import files rather than .import. Props donncha
git-svn-id: http://svn.automattic.com/wordpress/trunk@10611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 21:39:20 +00:00
ryan 37cbe1b939 Add some escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@10609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 21:35:49 +00:00
ryan ef85a2429e Make sure cache is clean when converting cats to tags. fixes #9186
git-svn-id: http://svn.automattic.com/wordpress/trunk@10608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 20:40:05 +00:00
ryan 4399d9f7f9 Add documentation lookup shortcuts to Theme and Plugin Editors. Props beaulebens. fixes #9184
git-svn-id: http://svn.automattic.com/wordpress/trunk@10607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 20:00:09 +00:00
ryan fc660a45a3 Use _n(). Props nbachiyski. fixes #9111
git-svn-id: http://svn.automattic.com/wordpress/trunk@10606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 19:35:16 +00:00
ryan 750459382b Use _n(). Props mrmist. fixes #9190
git-svn-id: http://svn.automattic.com/wordpress/trunk@10605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 19:22:34 +00:00
ryan 76a82a5025 Use mysql_real_escape_string() only in prepare(), insert(), and update(). escape() uses addslashes only. Add array support to escape(). see #9189
git-svn-id: http://svn.automattic.com/wordpress/trunk@10604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 19:05:12 +00:00
ryan 0a6a9d0024 Add expiration for transients
git-svn-id: http://svn.automattic.com/wordpress/trunk@10603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 02:23:11 +00:00
ryan 4694b6c752 Better archives and calendar queries. Props vladimir_kolesnikov. fixes #8351
git-svn-id: http://svn.automattic.com/wordpress/trunk@10602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-19 22:53:19 +00:00
ryan fbd0169493 Remove meta_value from selected fields. Props filosofo. fixes #9177
git-svn-id: http://svn.automattic.com/wordpress/trunk@10600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-19 19:19:20 +00:00
ryan 92f96f913b Use group by for meta key queries. Props filosofo. fixes #9167 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-19 19:17:06 +00:00
ryan 5c82bfb14c Use real escape in environments that support it. see #5455
git-svn-id: http://svn.automattic.com/wordpress/trunk@10597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-19 19:01:57 +00:00
azaozz 693beba4aa Don't block the Publish button after adding new category, fixes #9174
git-svn-id: http://svn.automattic.com/wordpress/trunk@10596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-19 18:49:47 +00:00
ryan 2869882861 Include ID in get_users_of_blog() results. Props jeremyclarke and filosofo. fixes #9020
git-svn-id: http://svn.automattic.com/wordpress/trunk@10595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-19 18:42:18 +00:00
ryan ff2e6c8f34 Deactivate plugins that don't have valid plugin headers. see #9164
git-svn-id: http://svn.automattic.com/wordpress/trunk@10594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-19 18:39:04 +00:00
ryan 4290916159 Make can_compress_scripts a site option. Add site option wrappers for WP.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-18 23:38:11 +00:00
ryan 4073f2b153 More theme preview tidying. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-18 22:32:42 +00:00
ryan e976dca6f4 Fix preview link for theme broweser. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-18 22:10:11 +00:00
ryan c6ecb155d6 Fix preview for theme installer. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-18 21:55:00 +00:00
westi 062c0c6ac0 Fix typo in action body for pingback.extensions.getPingbacks. Fixes 9157 for trunk props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-17 23:09:23 +00:00
ryan 8e0f48c58d LJ importer updates. Props beaulebens. see #8999
git-svn-id: http://svn.automattic.com/wordpress/trunk@10586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-17 19:58:03 +00:00
ryan 2fe8698a5f Add Sticky to list of post states
git-svn-id: http://svn.automattic.com/wordpress/trunk@10585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-17 19:13:31 +00:00
ryan 5dfddd7b18 Switch to pomo lib. Support gettext contexts. Deprecate long form functions. Props nbachiyski. fixes #9112 #9111
git-svn-id: http://svn.automattic.com/wordpress/trunk@10584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-17 05:03:29 +00:00
ryan f05146c34f Check for new version when visiting Tools->Upgrade. fixes #9108
git-svn-id: http://svn.automattic.com/wordpress/trunk@10583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-17 00:13:25 +00:00
azaozz 748b4d67a2 Change "Unpublished" to "Draft" in quick edit, props lloydbudd, fixes #9151
git-svn-id: http://svn.automattic.com/wordpress/trunk@10582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-16 22:09:41 +00:00
azaozz 40f655306d Revert to jQuery 1.2.6 until jQuery UI 1.7 is ready, see #8867
git-svn-id: http://svn.automattic.com/wordpress/trunk@10581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-16 22:02:07 +00:00
ryan 4161f3bc32 Define WP_IMPORTING for lj-importer. see #8999
git-svn-id: http://svn.automattic.com/wordpress/trunk@10580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-16 20:59:11 +00:00
ryan b5a65633d0 discover_pingback_server_uri optimizations. Props DD32. fixes #8816
git-svn-id: http://svn.automattic.com/wordpress/trunk@10579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-15 20:56:54 +00:00
westi b9d1608150 Extend plugins_url to allow you to specify the plugin file you want to be relative to so slugs don't need to be hardcoded. Fixes #6341.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-15 16:50:45 +00:00
westi f1098f3644 If we have to generate people salts then make them 64 chars long. Fixes #8647 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-15 16:21:28 +00:00
westi e5003996e3 Introduce a simple mechanism for escaping shortcodes by doubling the [[]]. Fixes #6518 props tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-15 16:01:14 +00:00
westi ea903eba7e Add documentation to detail reasoning for default from address. See #5007 props pishmishy
git-svn-id: http://svn.automattic.com/wordpress/trunk@10575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-15 13:31:43 +00:00
westi bc60e85960 Improve the installer when people enter a duff email address. Fixes #5477 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-15 12:58:10 +00:00
westi c43fc53140 Use # as the delimiter for preg_match in rewrite rules to allow them to contain !. Fixes #7486 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-15 11:16:54 +00:00
westi 788ba1ea2a Expose the ability to find out if styles, scripts have already been queued. Fixes #6197 props jacobsantos
git-svn-id: http://svn.automattic.com/wordpress/trunk@10572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-15 11:04:42 +00:00
westi b6a97077f1 Set the correct header for non POST request to xmlrpc service. Fixes #9093 props joesphscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-15 10:44:36 +00:00
westi 5ed02dc0ed Enhance wp_list_authors() to support more of the standard output options. Props jacobsantos see #4420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-15 09:06:24 +00:00
azaozz 90aeee2ce4 Fix highlighting for custom taxonomies menus
git-svn-id: http://svn.automattic.com/wordpress/trunk@10569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-14 02:37:10 +00:00
ryan ebe3ed8d69 Add more places between menu groups in the top-level menu array. fixes #9047
git-svn-id: http://svn.automattic.com/wordpress/trunk@10568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-13 22:57:02 +00:00