yes, but if the urls in the database are still showing domain.com/?page_id=350 and the new domain is now www.example.com, won't that screw things up, hence needing to be updated?
@toscho so, even though the old domain does not exist anymore, and the database still has the old domain specified for the gui, it wont affect my feeds or attachments?
@toscho okay, that would explain why it wasn't working.
incase anyone cares, i was able to update all the guid URLs using the SQL query: UPDATE wp_posts SET guid = replace(guid, 'http://www.oldurl','http://www.newurl');
Questions in Question
Unanswered:
How to filter the edit comments admin page, show only current logged in author comments
asked Oct 13 '11 at 19:57
Possible Duplicate:
show only comments relative to logged user
asked Jun 27 at 8:40
About Duplication
Dr. Strangedupe: Or, How I...
@toscho You edited this question, and clearly, I misread it and mine isn't the right answer anymore, but it's been marked as the answer by OP. I am going to go ahead and delete it.
@toscho I just got a downvote. Clearly people aren;'t going to be happy with wrong answers, especially when the question is very clear as to what it wants
I'll post a comment asking OP to unmark it... I have to. Mine isn't the answer.
@anu I find attitude of labeling people mentally ill if you have issue with them atrocious. there are people with mental issues out there and they are genuinely sick and there is nothing pretty "oh you those kind of programmer with problem in your head" about it
@all - how more secure is wp.config.php over the database? WP Mail SMTP stores a third party password as plaintext - I was wondering if there is any value in encrypting it with symmetric encryption using database password & the site's salts set in the config file? Presumably if an attacker only gets hold of the database, then it does provide some value?
@mods - that above question 'not a real question/not constructive' as far as WPSE is concerned?
@StephenHarris IMO, storing passwords as plaintext should be minimised as far as possible, certainly there's little excuse to be storing SMTP servers as plaintext
I've started assuming that at some stage, someone is going to get hold of the database / files. If that's the case, then what needs to be done to protect what can be protected as far as possible
@Rarst Are you sure, that this wasn't something like "that's you --> hint: ;)"-joke? I know that I make some bad "jokes" sometimes and don't always get if people are really hit by it...
Can someone please explain what the purpose of this code is:
$text = str_replace(']]>', ']]>', $text);
I'm referring to a line of code inside wp_trim_excerpt(), but I've seen something very similar in some other wp functions as well.
On the surface, I would say it's not doing anything a...
changing topic ... Still trying to find the one object property of a post type that will clearly tell me, if I got a real post type, or something that is just used as a helper, like the nav menu item post type or stuff like attachments and revisions....
I tried the_date, the_time and get_the_date to show todays date on the website. But wordpress takes latest post's date and publishes it. For example on the index page if the latest post was posted on 12 of August despite i placed that code on very top of the page it shows 12of august as date. als...
@Rarst I'm adding custom post status. To make it easier for me to make an UI that integrates with core, I'm using a taxonomy (with custom fields) to do so. Then the user can choose to which post type she/he wants to attach the custom post status to. Problem is: How can I determine, which post type is a real post type and which not?
@toscho I know. That's the main part of my problem and why I'm trying to talk with you guys about it. To make it more clear: What object properties need to be set, to make a post type object publicly useable?
@toscho Here's what I've found to maybe be useful so far: show_in_menu (admin menu) and menu_position, public (only partly) and has_archive (defaults to false, so not really), publicly_queryable (maybe?), exclude_from_search (sadly true for attachments)...
Well ok, publicly_queryable is also true for attachments...
@Rarst Short question about queryposts.com: When comparing this parse of the phpDocBlock, then I see it missing the @uses declaration. Are you planing to move that in? Nice would be a check, if you already got that function as a post and then link it (guess this won't work for actions/filters, right?)?
@saltcod As you scroll down this page in codex (codex.wordpress.org/Function_Reference/comment_form) you'll see info as to how you can fiddle with each part of the comment form. Also look at the source code, it should be enlightening.
@toscho that it uses your username instead of user id. I mean, why would you want to use the primary key? that'd be ridiculous. but even better than that, it also uses the length of your username. c'mon. >_<
@AahanKrish Yes similar, I actually started writing a plugin for you based upon out chat... but my girlfriend has just gone into a labor so I might not get a chance to finish it this weekend! (all of the other solutions out there were a bit bulky for simple needs)
@anu Just came back from a quick coffee - coffee house 50m down the street - now completely wet and watching lightnings at two frames per second ... window frames :P
I am looking for a way to override the currently selected theme, preferably from within the wp_config.php file. I know you can override some wp_options settings in the config like
define('WP_HOME', 'http://someotherdomain.com');
This will override the 'home' option in the wp_options table. ...
@Wyck who not? I'm just worrying if they're going to deprecate lots of stuff and/or if they just don't give a fuck about the common work arounds people are using to handle stuff.
@Wyck Already read this. But as ususal, Mr. Bainternet is lazy and saves stuff in the options table... meh.
The edit_term_taxonomy action seems to do its work. The only sad thing is, that I've to add an additional $wpdb->update(); completely repeating the query ... not a big friend of adding additional queries.
@Wyck Haven't ever found something in trac, when I searched...
Hm - wonder what the reason for the filter right before and after the $wpdb->update(...); is.
Ok, this function seems to have the highest amount of filters and actions of all times...
Driving me crazy. 1.000 filters and actions, but no chance to throw in some additional args or anything. And to make it even harder, we got compact() and extract()... and those values are nowhere available in an action or filter.
Question, regarding the hook 'post_updated_messages'.
I have add_filter('post_updated_messages', array(&$this, 'message')); in my class constructor. why is it displaying my post updated message when I edit a post, but havent clicked the update button yet?
@MichaelEcklund save can happen in bunch of circumstances I think (so not even in interface context)... sorry, I am tad brain dead after call... ask question on main site :)
is toolbar menu unusable natively if items overflow screen height? http://wordpress.org/support/topic/plugin-toolbar-theme-switcher-problem-with-long-theme-list @helenhousandi ?