Commit Graph

1910 Commits

Author SHA1 Message Date
rboren
d352c9be64 Improve plugin hooks for rewrite manipulation. Allow pluggable template redirection.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-04 00:12:08 +00:00
rboren
02f33a3426 Do not attempt path info matching if PATH_INFO contains SCRIPT_NAME. Bug 353.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-04 00:09:40 +00:00
rboren
b1a4a04126 Move rewrite and permalink functions into WP_Rewrite class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-03 02:38:11 +00:00
saxmatt
6f7674778f Get number of posts correctly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-01 16:12:53 +00:00
saxmatt
900a782228 Only show users that can post.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-01 16:03:28 +00:00
rboren
09330bec21 Add posts_join filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-01 06:52:26 +00:00
rboren
d0742f3227 Load paged.php for is_paged(). Paging no longer makes is_archive() true. Bug 500.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-29 23:37:29 +00:00
rboren
53b443aa09 Use mysl2date() to create the date format example so that months and days are localized. Bug 504. Patch from nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-29 20:32:25 +00:00
rboren
7fe73226cd String i18n. Bug 505. Patch from nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-29 19:46:20 +00:00
rboren
3627e4c953 Correct i18n string markup. Bug 502. Patch from nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-29 17:28:53 +00:00
rboren
8c9c4e1556 Unserialize empty arrays.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 19:53:11 +00:00
saxmatt
aad8c71bb1 Fix for bug http://mosquito.wordpress.org/view.php?id=177, adding class to smileys and encoding quotes in alt text.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 19:16:14 +00:00
rboren
deb6861b1c Number specifiers for i18n.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 05:48:22 +00:00
rboren
999411097e Make plugins relative to ABSPATH when updating recently edited.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 05:38:54 +00:00
rboren
c02d589e36 Use preg_quote() to make spam words regex safe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 05:24:09 +00:00
rboren
2625010626 Fix link to setup-config. Bug 497.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 04:41:48 +00:00
rboren
bd4e71a7ba Allow plugins to be loaded from subdirs of wp-content/plugins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 00:33:04 +00:00
rboren
75804fd8ab Login cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 22:54:23 +00:00
rboren
39bf85133f Perform empty() check on $doing_rss to avoid warning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 04:47:54 +00:00
rboren
e9cd4f12cc Fix post deletion. Update wp_delete_post() and call from post.php. Bug 472.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 04:46:54 +00:00
rboren
65afc9f7b6 Change "Front Page" to "Pages". Bug 481.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 00:58:39 +00:00
rboren
bc9a785437 Mark string for translation. Bug 493. Hat tip: nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@1889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 00:51:43 +00:00
rboren
c44cecdb72 Use empty() to check if $feed is set at the beginning of the feed files. Bug 495.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 00:42:55 +00:00
rboren
a4c058f2c8 get_plugin_data() and get_plugins()
git-svn-id: http://svn.automattic.com/wordpress/trunk@1887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-26 02:29:45 +00:00
rboren
8b9b4d71da add_menu_page(), add_submenu_page(), add_management_page().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-26 01:50:37 +00:00
saxmatt
0ddd331190 CSS typos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-25 19:36:21 +00:00
saxmatt
3a5a2d097c Bump version.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-25 19:12:37 +00:00
saxmatt
d3297ea877 Try not to cache if the page doesn't finish, updated link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-25 19:09:49 +00:00
rboren
03766d3f29 Use weekday locale data in mysql2date. Bug 492. Patch by nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-25 16:23:24 +00:00
rboren
aa2dd4d548 Pass theme in URI when sending update header. Bug 491.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-25 16:15:27 +00:00
rboren
6af4d57f8d Admin tweaks from MooKitty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-25 15:45:16 +00:00
rboren
dae8fed4f7 i18n fixes. Bug 489. Patch from nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-25 04:11:57 +00:00
rboren
477e3344b8 Do not allow a page to be its own parent.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-24 00:12:46 +00:00
rboren
7c7133aa9a Give 404 precedence over other templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-23 21:16:04 +00:00
rboren
a80864dbf5 Fix array_merge of stylesheets and templates. Patch from kharris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-23 17:51:34 +00:00
emc3
aa2fbccf6f Use new user_can_foo() functions, clean up comment editing
git-svn-id: http://svn.automattic.com/wordpress/trunk@1875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-23 15:09:24 +00:00
emc3
db5183e714 Don't you think it's time for a minor version bump?
git-svn-id: http://svn.automattic.com/wordpress/trunk@1874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-23 14:09:38 +00:00
rboren
c84728b1f3 Preserve author ID when editing pages. Bug 480. Hat tip: adsworth
git-svn-id: http://svn.automattic.com/wordpress/trunk@1873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-21 21:28:18 +00:00
rboren
368bf570e6 Allow empty uris to be passed to add_query_arg(). Useful when appending arguments to WP_Query query strings that do not yet have any arguments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-21 06:03:19 +00:00
rboren
2201be3af3 Add is_paged().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-20 18:32:31 +00:00
rboren
81bb103348 Rewrite rule generation cleanup, including re-indent.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-20 04:28:36 +00:00
rboren
acbad8e480 Make short tag long. Reported by adsworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 21:05:26 +00:00
rboren
9872261202 Permalink love. Wrap mod_rewrite rules in a conditional. Make sure date permalinks are sane. Add get_year_link().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 20:54:16 +00:00
saxmatt
742a9d549f Actions shouldn't change around what they're passed
git-svn-id: http://svn.automattic.com/wordpress/trunk@1867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 07:37:18 +00:00
saxmatt
3985990228 Just a little tidying
git-svn-id: http://svn.automattic.com/wordpress/trunk@1866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 07:23:37 +00:00
saxmatt
f4dcbb2a3b Don't cache pages with DB errors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 02:18:23 +00:00
saxmatt
88efcfd20d More name cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@1864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-18 23:55:08 +00:00
mikelittle
10d0af0fb2 cleanup filenames
git-svn-id: http://svn.automattic.com/wordpress/trunk@1863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-18 23:30:51 +00:00
saxmatt
8615d77651 Fail more gracefully for lower level users
git-svn-id: http://svn.automattic.com/wordpress/trunk@1862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-18 19:51:31 +00:00
saxmatt
d1ddb156ec Allow users 9+ to post as other users, minor advanced post reorg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-18 19:40:36 +00:00