New answers tagged

0

This little plugin shows the user role 'author' only its own categories & posts. So you can edit it for your own post-type and taxonomy. /* Plugin Name: Show own categories Description: This plugin shows the user role 'author' only its own categories & posts Version: 0.1 Author: Soren Wrede License: GPL2 License URI: ...


3

The difference is that 'edit_published_posts' allows the user to edit posts whose status has been set to 'published', in other words, live content. The 'edit_posts' allows users to edit unpublished (e.g. draft) posts. For most bloggers, the distinction is irrelevant, but if you're using Wordpress for a company or a newsroom, you may want all posts to be ...


0

More information about what is happening can be found here: http://arstechnica.com/security/2016/02/mysterious-spike-in-wordpress-hacks-silently-delivers-ransomware-to-visitors/?comments=1 https://www.wordfence.com/blog/2016/02/wordpress-security-attack-platform/


-1

try change to this one $upload_dir = wp_upload_dir(); $fp = fopen( $upload_dir["basedir"] . '/artworks.js', 'w+');


-2

Yes you need to customize that OR use sortcode. The only time I'd recommend filtering by attribute is when looping events in PHP and checking the $EM_Event->attributes array before displaying the event. if you want a field like 'assigned to', I'd recommend adding a custom attribute as per tutorial. also, instead of do_shortcode, use something like: ...


0

I fixed this by editing /wp-includes/capabilities.php The code was function current_user_can( $capability ) { $current_user = wp_get_current_user(); if ( empty( $current_user ) ) return false; $args = array_slice( func_get_args(), 1 ); $args = array_merge( array( $capability ), $args ); return call_user_func_array( array( ...


2

»your user account« describes the system user of the remote host. Depending on the environment of your hosting provider, this is typically the same as the basic FTP account. In fact, it's a user on an operating system. So yes, you should be able to change it via FTP. As there are typically many users working on one remote host, it's important to set the ...



Top 50 recent answers are included