text stringlengths 1 330k |
|---|
// do something specific for network admins |
share|improve this answer |
add comment |
I know now. It retrieves the current settings page you are on. So for example, if you're on the the theme options page, it can check to make sure you are. |
The $current_screen global variable contains the following elements: |
'id' => |
'base' => |
'action' => |
'parent_file' => |
'parent_base' => |
So you can check if you're on a post type, for example: |
function change_default_title ( $title ) { |
$screen = get_current_screen() ; |
if ( ' POST_TYPE' == $screen->post_type ) { |
$title = 'Enter Invoice title '; |
return $title; |
add_filter ( 'enter_title_here', 'change_default_title' ); |
share|improve this answer |
add comment |
Your Answer |
Main points of landmark Supreme Court Ruling |
Main points 29 page Judgment No SC 22/10 Constitutional Application 53/09 |
L. Uriri with T Mpofu for the Applicants |
legal Summary Supreme Court Ruling Williams- Mahlangu |
F. Chimburu, for the Respondents |
The court must be able to intervene not only against the direct dictates of the lower court but also against its effects. |
In this case it means that the Court has power to restrain the magistrate and the third respondent from relying on the decision of the former refusing the request for referral of the constitutional questions and commencing the trial of the applicants pending final determination of the main application because to commen... |
(a) that the right which is the subject matter of the main action and which he seeks to protect by means of interim relief is clear or if not clear, is prima facie established though open to some doubt. |
(b) That , if the right is only prima facie established, there is a well grounded apprehension or irreparable harm to the applicant.. |
(c) That the balance of convenience favours the granting of interim relief. |
(d) That the applicant has no other satisfactory remedy. |
It is the nature of harm which has to be considered and not its magnitude. It is clear that commencing the trial of the applicants before the determination of the main application would itself constitute a violation of the fundamental right to the protection of the law. |
The balance of inconvenience test involves the determination of the question which of the parties is likely to suffer greater harm as a result of the granting or refusing of the interlocutory relief taking into account public interest. |
The only restriction of the obligation imposed on the judicial officer is the discretion given to him or her to refuse a request for a referral when in his opinion the raising of the question is “merely frivolous or vexatious” |
In the context of s24(2) the word ” frivolous” connotes , in its ordinary and natural meaning, the raising of a question marked by a lack of seriousness; one inconsistent with the logic and good sense, and clearly so groundless and devoid of merit that a prudent person could not possibly expect to obtain relief from ... |
The question related to matters that needed serious consideration. |
S37 (1) (a) (1) of the Act was not applicable to the conduct of the applicants as constituted by the facts on which they were charged. |
Section 13(2) of the constitution authorizes deprivation of an accused person of personal liberty where there is a reasonable suspicion of him having committed a criminal offence. |
The Magistrate was required under s13 (2) (e) of the Constitution to take into account the essential elements of the offence and the conduct which, if proved at the trial, would constitute the offence charged. |
It is clear that the statute is not intended to be used to punish acts for the commission of which the fundamental human rights to freedom of assembly and freedom of expression are protected under the Constitution. |
The peaceful nature of an assembly of people is a fundamental element of the democratic principle of the freedom of assembly as well as the pre-condition for its enjoyment. |
The statute is intended to be used to punish conduct which constitutes abuse of the fundamental rights to freedom of assembly and freedom of expression through behaviour or words which are inimical to public welfare. Whilst it does not prescribe advocacy of ideas it does prescribe advocacy of violent action. |
A judicial officer faced with the question whether or not to remand an accused person on a charge of contravening s37(1)(a)(1) of the Act must in the analysis of the facts on which the charge is based, bear in mind the national commitment to the principle that the coming together of people in a democratic society to pe... |
The examination of the conduct for which the applicants were charged with the contravention of s37 (1) (a) (1) of the Act, shows that they were simply exercising their fundamental rights to freedom of assembly and freedom of expression. |
Had the magistrate acted in accordance with the requirements of s13 (2) (e) of the Constitution and examined the conduct of the applicants in the light of the offence with which they were charged, he would have found that the applicants had not gathered for the sinister purpose of bringing about serious disturbance of ... |
The applicants were entitled to express disapproval of the political agreement signed by the three main political parties in the country on 15 September 2008.They were also entitled to do what they did to draw the attention of the Government to the grievances arising from shortages of teachers for their children in sch... |
There was no allegation in the outline of the facts relied upon by the public prosecutor when he applied for their remand, that the conduct of the applicants involved in its nature any direct and obvious danger to the peace, security or order of the public or any section of the public. |
In fact the applicants do not seem to have been arrested for what actually took place at the gathering. What appears to have prompted their arrest was the protect they raised against what they considered was an unwarranted interference by the police with the exercise of their fundamental rights when the later ordered t... |
It does not, of course follow that police should always break up a peaceful assembly even where it has not been authorised. They have discretion under s29 (2) of the Public Order and Security Act [Cap.11:17]. |
Once that had happened they should have taken into account whether the assembly violated the rights and freedom of others or whether it constituted a direct and obvious danger to the peace. |
It is clear, therefore, that what the applicants together with the other members of the gathering did was germane to the purpose for which the fundamental rights to freedom of assembly and freedom of expression are guaranteed under the Constitution. They did all they did in a peaceful gathering whilst preserving their ... |
Write a Comment |
Reader Comments |
[...] Magistrate Vivian Ndlovu rules that Williams and 9 other members charged with Criminal Nuisance must face trial and remanded them to 23March 2012. The Magistrate surprisingly did not address key issues in the application covering right to query placement on remand and the fact that the charges have constitutional... |
We can't decide if the tiny tube bra, worn with a sheer black lace top and trousers (all by Wes Gordon) by the actress to the CFDA awards, is a ban-do or a ban-"don't." |
MTV Gives Jersey Shore's Vinny His Own Talk ShowS |
Vinny Guadagnino, the one who literally pales in comparison to everyone else on Jersey Shore, has landed his very own Jersey Shore spinoff. In a press release, MTV announced today that it's given the greenlight to The Show with Vinny, "a hybrid talk show/reality series." |
The format of the show is that Vinny will interview "the biggest celebrities" in his mother's Staten Island home, over a meal that she has prepared, while other family members like his Uncle Nino sit around the table and interject. The network says, "Celebrities will let their guard down to have a meal and a candid con... |
The show, which wasn't given a premiere date, will be produced by Jersey Shore creator SallyAnn Salsano and will undoubtedly be really helpful for all those people who occasionally suffer from anxiety and have to go home for three or four days and eat a lot of Italian food. |
Messages in this thread |
On Sat, 15 Nov 2003, Paul Mackerras wrote: |
> (Having interrupts disabled during do_signal is interesting, given |
> that its subroutines call __put_user and friends. :) |
Actually, look closer. We don't do that. |
> Thus I think the race was possibly a little wider on PPC than on x86: |
> we didn't have to get back to userspace, the interrupt could happen |
> during do_signal. |
No. If it happens during do_signal() (on x86 or ppc), we'd just not |
_handle_ the signal at all. We'd return to user space, restart the system |
call, and handle the signal as the restarted system call is returning. No |
In short, even on ppc, the window _literally_ is "after we've returned, |
but before we restart". |
> Now you have me scared, because I can't see where the restart_syscall |
> system call resets current_thread_info()->restart_block.fn to |
> do_no_restart_syscall. |
It doesn't. |
The rule is: the restart_block is _only_ meaningful if you return |
-ERESTART_BLOCK. So at any other time it contains stale data. |
> Am I missing something? Perhaps we should reset restart_block.fn in |
> sys_{,rt_}sigreturn, or possibly in sys_restart_syscall. |
You're missing that the only thing that ever looks at restart_block is the |
code that is inside the signal handling of ERESTART_BLOCK. |
The bug was that sometimes we had _already_ done that ERESTART_BLOCK |
handling (correctly), but then basically "aborted" (thanks to another |
signal) before the restart had actually taken effect. |
And that race literally is only in user mode. |
the body of a message to |
More majordomo info at |
Please read the FAQ at |
\ / |
©2003-2011 Jasper Spaans |
Take the 2-minute tour × |
I'm trying to set up Mongodb on my vps but when trying to start it: |
service mongod start |
It returns this error: |
Starting mongod: /usr/bin/mongod: error while loading shared libraries: |
From what I read Mongodb runs on c++, so I've installed: |
gcc-c++.x86_64 0:4.4.6-4.el6 |
Dependency Installed: |
libstdc++-devel.x86_64 0:4.4.6-4.el6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.