Commit Graph

9603 Commits

Author SHA1 Message Date
westi 5258242b98 Allow a plugin to filter the classes applied in wp_list_pages. Fixes #9304 props willnorris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 21:43:51 +00:00
westi 789522a21a Allow wp_delete_term users to force all objects to have a new term applied. Allow for category merging use-case. Fixes #9355.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 21:06:49 +00:00
ryan 6de4ae1ad8 Add some phpdoc to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 07:20:58 +00:00
ryan 18c63b62aa Clean urls
git-svn-id: http://svn.automattic.com/wordpress/trunk@10811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:46:32 +00:00
ryan e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
ryan cd5949d0c2 Move categories widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 01:50:20 +00:00
ryan 1eab8fccb2 Introduce singleton widget factory
git-svn-id: http://svn.automattic.com/wordpress/trunk@10808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 23:44:36 +00:00
ryan 1183bfa70b Echo submit field from base class so widgets don't have to do it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 21:20:19 +00:00
azaozz bbb1530175 Improved admin icons, props empireoflight, fixes #9351
git-svn-id: http://svn.automattic.com/wordpress/trunk@10806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 19:47:57 +00:00
ryan 8e26610a07 Pass the unprocessed title to the sanitize_title filter. Props chineseleper. fixes #8981 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 17:42:54 +00:00
ryan 4f130b5e47 Check if error. Props simonwheatley. fixes #9345
git-svn-id: http://svn.automattic.com/wordpress/trunk@10803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 16:42:21 +00:00
ryan 21e5ac6f83 Move text widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 15:39:36 +00:00
ryan 226ef505b3 Move submit check into WP_Widget
git-svn-id: http://svn.automattic.com/wordpress/trunk@10801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 02:58:15 +00:00
ryan 98ecb6c9f5 Move calendar widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 02:41:28 +00:00
ryan 10c5eefc71 Move calendar widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 02:33:08 +00:00
ryan 733e7592c6 Separate widget form and update callbacks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 00:59:42 +00:00
ryan 29b11ce0ae Move meta widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 22:45:16 +00:00
ryan 25db941bb8 Move meta widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 22:44:30 +00:00
ryan 48000c9225 Separate default widgets from widgets API. Always load API. fixes #9349
git-svn-id: http://svn.automattic.com/wordpress/trunk@10795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 22:02:40 +00:00
ryan 64e36ff286 Move archives widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 21:44:36 +00:00
azaozz 9f9fcdfa9d Add sort order for the gallery in the uploader
git-svn-id: http://svn.automattic.com/wordpress/trunk@10793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-16 13:05:09 +00:00
azaozz 083218222c Fix undefined variable in theme-editor, props mrmist, fixes #9333
git-svn-id: http://svn.automattic.com/wordpress/trunk@10792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 17:14:44 +00:00
azaozz c054f27b6e TinyMCE 3.2.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@10791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 16:55:49 +00:00
azaozz 1b7ef6aab5 Add some styling to plugins descriptions when installing
git-svn-id: http://svn.automattic.com/wordpress/trunk@10790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 13:09:25 +00:00
azaozz 922fe713df Fix php warning in widgets.php, props zeronex, fixes #9330
git-svn-id: http://svn.automattic.com/wordpress/trunk@10789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 11:18:09 +00:00
azaozz 5da7e83817 Theme install style tweaks, see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 11:04:34 +00:00
azaozz 361b70792f Fully escape Post/Page titles, props Viper007Bond, fixes #9322
git-svn-id: http://svn.automattic.com/wordpress/trunk@10787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 07:59:12 +00:00
ryan d80df1030c Prune. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-14 17:25:59 +00:00
ryan 77518dd6ca Convert pages to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-14 17:24:11 +00:00
ryan 06f219dc4f Convert search to WP_Widget. Handle upgrade of widgets without settings. Make form and update override optional. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-14 16:34:08 +00:00
azaozz 9b591073a1 Fix regex in sanitize_email(), props sambauers, see #9316
git-svn-id: http://svn.automattic.com/wordpress/trunk@10783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-14 01:35:47 +00:00
ryan 5a1c07d42f s/WP_Widgets/WP_Widget/ and move class to widgets.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@10782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 23:18:57 +00:00
azaozz adf37601bb WP_Widgets: make save_settings() and get_settings() separate methods, convert defined single widgets settings to multi-widget format, small fixes for the Links widget, see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 22:27:38 +00:00
ryan 6af5462708 Remove category ordering. Props filosofo. fixes #9228
git-svn-id: http://svn.automattic.com/wordpress/trunk@10779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 22:01:33 +00:00
ryan cba3b3d41c get_comment_link filter. Props Viper007Bond. fixes #9327
git-svn-id: http://svn.automattic.com/wordpress/trunk@10778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 21:58:18 +00:00
azaozz 2330e2029e Fix regex function in sanitize_email(), see #9316
git-svn-id: http://svn.automattic.com/wordpress/trunk@10777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 19:04:39 +00:00
ryan 94e5cffaa7 Remember page when redirecting after tag edit. Props Viper007Bond. fixes #9220 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 05:24:20 +00:00
ryan b1222311f7 gettext comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 03:53:39 +00:00
ryan 8b11ce3acb Add core_version_check_locale filter. Props nbachiyski. see #8729
git-svn-id: http://svn.automattic.com/wordpress/trunk@10772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-11 23:37:33 +00:00
ryan 53cb41fc3c Always wp_authenticate in wp-app. Props wnorris. fixes #9320
git-svn-id: http://svn.automattic.com/wordpress/trunk@10771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-11 22:49:30 +00:00
ryan c569b75494 Use full strings for i18n friendliness. Props nbachiyski. see #3962
git-svn-id: http://svn.automattic.com/wordpress/trunk@10770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-11 15:46:16 +00:00
ryan 7ceebc2a27 Improved is_email() and sanitize_email(). Props sambauers. fixes #9316 #4616
git-svn-id: http://svn.automattic.com/wordpress/trunk@10769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-11 15:26:34 +00:00
ryan 04a572f4a7 Set autoload in populate options query
git-svn-id: http://svn.automattic.com/wordpress/trunk@10768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-11 01:07:12 +00:00
ryan d10b538652 gettext contexts. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 23:02:29 +00:00
ryan 2f4b8b8566 Use two queries to populate all options during install/upgrade instead of 2 times the number of options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 22:41:33 +00:00
markjaquith df58ca2a41 Introducing plugin_dir_path(__FILE__) and plugin_dir_url(__FILE__) ... simple API functions for determining the directory path/url of the current plugin file
git-svn-id: http://svn.automattic.com/wordpress/trunk@10765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 19:50:55 +00:00
azaozz 8247b5df4f Add WP_Widget class, first run - only the Links widget is using it at the moment, see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@10764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 19:42:22 +00:00
ryan 45e76b1b55 Reparent children when deleting a comment. Props vladimir_kolesnikov. fixes #9003
git-svn-id: http://svn.automattic.com/wordpress/trunk@10762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 19:02:27 +00:00
ryan dd98e4f40f Create user object. Props mark8barnes. fixes #9309 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 18:37:53 +00:00
ryan 4b729c6cba Cleanup plugin compatibility messages. Props DD32. fixes #8868
git-svn-id: http://svn.automattic.com/wordpress/trunk@10759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 18:31:55 +00:00